From 207bdb7b472525bdf65d04e9f41c686f8d28f868 Mon Sep 17 00:00:00 2001 From: "Eugene San (eugenesan)" Date: Wed, 9 Sep 2015 13:51:55 -0400 Subject: [PATCH 1/2] Add makefile for inclusion in AOSP builds Change-Id: Ie682c07062453296e8ca9683b74ccc99b4246e5a --- Android.mk | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 Android.mk diff --git a/Android.mk b/Android.mk new file mode 100644 index 0000000..d685b9c --- /dev/null +++ b/Android.mk @@ -0,0 +1,15 @@ +LOCAL_PATH:= $(call my-dir) +include $(CLEAR_VARS) + +LOCAL_MODULE_TAGS := optional + +LOCAL_SRC_FILES := $(call all-subdir-java-files) + +LOCAL_PROGUARD_ENABLED := disabled + +LOCAL_PACKAGE_NAME := CryptfsPasswordManager + + +include $(BUILD_PACKAGE) + +include $(call all-makefiles-under,$(LOCAL_PATH)) From b7ea48c9747f3be2d6047cba67e4c9cc5d0d570e Mon Sep 17 00:00:00 2001 From: "Eugene San (eugenesan)" Date: Fri, 11 Sep 2015 09:56:26 -0400 Subject: [PATCH 2/2] Fix strings to allow AOSP build Change-Id: I6f3040d185f4a586583acb80f8d154689777ccb3 --- res/layout/activity_main.xml | 8 ++++---- res/values/strings.xml | 4 ++++ 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/res/layout/activity_main.xml b/res/layout/activity_main.xml index b8877bc..79fa223 100644 --- a/res/layout/activity_main.xml +++ b/res/layout/activity_main.xml @@ -29,7 +29,7 @@ android:id="@+id/currentPasswdLabel" android:layout_width="match_parent" android:layout_height="wrap_content" - android:text="Current password:" /> + android:text="@string/current_passwd_pmt" /> + android:text="@string/new_passwd_pmt" /> + android:text="@string/confirm_passwd_pmt" /> + android:text="@string/change_passwd_btn" /> \ No newline at end of file diff --git a/res/values/strings.xml b/res/values/strings.xml index 4888c17..6a6631a 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -14,9 +14,13 @@ to set the password manually BEFORE rebooting. Successfuly changed device encryption password. Passwords don\'t match. + Confirm password: Confirmation password is required. New password is required. Current password is required. + Current password: + New password: + Change password Cannot get superuser access, exiting. No superuser package found, exiting. This device is not encrypted, exiting.