diff --git a/app/src/main/java/de/k3b/android/androFotoFinder/Global.java b/app/src/main/java/de/k3b/android/androFotoFinder/Global.java index 555824ef..15992f94 100644 --- a/app/src/main/java/de/k3b/android/androFotoFinder/Global.java +++ b/app/src/main/java/de/k3b/android/androFotoFinder/Global.java @@ -153,8 +153,8 @@ public static void fixMenu(Context context, Menu menu) { R.id.cmd_more, R.id.cmd_show_geo, R.id.cmd_gallery, - R.id.cmd_unlock2, - R.id.cmd_lock, + R.id.cmd_app_unpin2, + R.id.cmd_app_pin, R.id.cmd_show_geo_as ); } diff --git a/app/src/main/java/de/k3b/android/androFotoFinder/LockScreen.java b/app/src/main/java/de/k3b/android/androFotoFinder/LockScreen.java index c28b8bd2..7188a49f 100644 --- a/app/src/main/java/de/k3b/android/androFotoFinder/LockScreen.java +++ b/app/src/main/java/de/k3b/android/androFotoFinder/LockScreen.java @@ -40,7 +40,7 @@ public class LockScreen { public static boolean onOptionsItemSelected(Activity parent, MenuItem item) { switch (item.getItemId()) { - case R.id.cmd_lock: + case R.id.cmd_app_pin: if (!isLocked(parent)) { if (OS_APPLOCK_ENABLED) { parent.startLockTask(); @@ -50,7 +50,7 @@ public static boolean onOptionsItemSelected(Activity parent, MenuItem item) { } } return true; - case R.id.cmd_unlock2: + case R.id.cmd_app_unpin2: // only for old android (< 5.0). Else use app-pinning-end Global.locked = false; SettingsActivity.global2Prefs(parent.getApplication()); @@ -74,8 +74,8 @@ public static boolean isLocked(Context ctx) { public static void fixMenu(Menu menu) { if ((menu != null) && OS_APPLOCK_ENABLED) { - MenuItem unlock = menu.findItem(R.id.cmd_unlock2); - if (unlock != null) menu.removeItem(R.id.cmd_unlock2); + MenuItem unlock = menu.findItem(R.id.cmd_app_unpin2); + if (unlock != null) menu.removeItem(R.id.cmd_app_unpin2); } } } diff --git a/app/src/main/java/de/k3b/android/androFotoFinder/PhotoAutoprocessingEditActivity.java b/app/src/main/java/de/k3b/android/androFotoFinder/PhotoAutoprocessingEditActivity.java index d16c6639..694464a0 100644 --- a/app/src/main/java/de/k3b/android/androFotoFinder/PhotoAutoprocessingEditActivity.java +++ b/app/src/main/java/de/k3b/android/androFotoFinder/PhotoAutoprocessingEditActivity.java @@ -567,7 +567,7 @@ public String get(MediaUtil.FieldID id) { case rating: return getString2(R.string.lbl_rating); case visibility: - return getString2(R.string.lbl_security); + return getString2(R.string.lbl_image_visibility); case tags: return getString2(R.string.lbl_tag); case path: diff --git a/app/src/main/res/layout/activity_exif_edit.xml b/app/src/main/res/layout/activity_exif_edit.xml index de4a3189..04faf107 100644 --- a/app/src/main/res/layout/activity_exif_edit.xml +++ b/app/src/main/res/layout/activity_exif_edit.xml @@ -219,7 +219,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:textAppearance="?android:attr/textAppearanceLarge" - android:text="@string/lbl_security" + android:text="@string/lbl_image_visibility" android:layout_alignParentLeft="true" android:layout_alignParentStart="true" android:layout_below="@+id/line_date" diff --git a/app/src/main/res/menu/menu_gallery_locked.xml b/app/src/main/res/menu/menu_gallery_locked.xml index d68b0c8f..8f8c47ac 100644 --- a/app/src/main/res/menu/menu_gallery_locked.xml +++ b/app/src/main/res/menu/menu_gallery_locked.xml @@ -23,8 +23,8 @@