@@ -157,15 +157,16 @@ protected void afterHookedMethod(final MethodHookParam param) throws Throwable {
157157 int IconColorInt = Integer .parseInt (IconColorMode );
158158
159159 //Create "sets" of icons with different color themes of the same icon in one set
160- int [] mRebootIconSet = {R .drawable .ic_lock_reboot , R .drawable .ic_lock_reboot_dark , R .drawable .ic_lock_reboot_color };
161- int [] mScreenshotIconSet = {R .drawable .ic_screenshot , R .drawable .ic_screenshot_dark , R .drawable .ic_screenshot_color };
162- int [] mQuickDialIconSet = {R .drawable .ic_call , R .drawable .ic_call_dark , R .drawable .ic_call_color };
163- int [] mRebootSoftIconSet = {R .drawable .ic_lock_reboot_soft , R .drawable .ic_lock_reboot_soft_dark , R .drawable .ic_lock_reboot_soft_color };
164- int [] mRecoveryIconSet = {R .drawable .ic_lock_recovery , R .drawable .ic_lock_recovery_dark , R .drawable .ic_lock_recovery_color };
165- int [] mBootloaderIconSet = {R .drawable .ic_lock_reboot_bootloader , R .drawable .ic_lock_reboot_bootloader_dark , R .drawable .ic_lock_reboot_bootloader_color };
166- int [] mExpandStatusBarIconSet = {R .drawable .ic_expand_statusbar , R .drawable .ic_expand_statusbar_dark , R .drawable .ic_expand_statusbar_color };
167- int [] mToggleDataIconSet = {R .drawable .ic_data , R .drawable .ic_data_dark , R .drawable .ic_data_color };
168- int [] mDeviceLockedIconSet = {R .drawable .ic_device_locked , R .drawable .ic_device_locked_dark , R .drawable .ic_device_locked_color };
160+ //TODO replace all WIPs with eXistenZ theme icons
161+ int [] mRebootIconSet = {R .drawable .ic_lock_reboot , R .drawable .ic_lock_reboot_dark , R .drawable .ic_lock_reboot_color , R .drawable .ic_wip };
162+ int [] mScreenshotIconSet = {R .drawable .ic_screenshot , R .drawable .ic_screenshot_dark , R .drawable .ic_screenshot_color , R .drawable .ic_wip };
163+ int [] mQuickDialIconSet = {R .drawable .ic_call , R .drawable .ic_call_dark , R .drawable .ic_call_color , R .drawable .ic_wip };
164+ int [] mRebootSoftIconSet = {R .drawable .ic_lock_reboot_soft , R .drawable .ic_lock_reboot_soft_dark , R .drawable .ic_lock_reboot_soft_color , R .drawable .ic_wip };
165+ int [] mRecoveryIconSet = {R .drawable .ic_lock_recovery , R .drawable .ic_lock_recovery_dark , R .drawable .ic_lock_recovery_color , R .drawable .ic_wip };
166+ int [] mBootloaderIconSet = {R .drawable .ic_lock_reboot_bootloader , R .drawable .ic_lock_reboot_bootloader_dark , R .drawable .ic_lock_reboot_bootloader_color , R .drawable .ic_wip };
167+ int [] mExpandStatusBarIconSet = {R .drawable .ic_expand_statusbar , R .drawable .ic_expand_statusbar_dark , R .drawable .ic_expand_statusbar_color , R .drawable .ic_wip };
168+ int [] mToggleDataIconSet = {R .drawable .ic_data , R .drawable .ic_data_dark , R .drawable .ic_data_color , R .drawable .ic_wip };
169+ int [] mDeviceLockedIconSet = {R .drawable .ic_device_locked , R .drawable .ic_device_locked_dark , R .drawable .ic_device_locked_color , R .drawable .ic_wip };
169170
170171 //Set the icons appropriately
171172 //1st level icons
@@ -322,6 +323,7 @@ protected void afterHookedMethod(final MethodHookParam param) throws Throwable {
322323
323324 // III. Remove action items and update positions accordingly
324325 final boolean antiTheftHelperOn = pref .getBoolean ("pref_no_locked_off" , false );
326+ final boolean hideATHDesc = pref .getBoolean ("pref_ath_hide_desc" , false );
325327 final boolean removeReboot = pref .getBoolean ("pref_remove_reboot" , false );
326328 final boolean removeScreenshot = pref .getBoolean ("pref_remove_screenshot" , false );
327329 final boolean removeAirplane = pref .getBoolean ("pref_remove_airplane" , false );
@@ -358,7 +360,7 @@ protected void afterHookedMethod(final MethodHookParam param) throws Throwable {
358360
359361 // IV. Add/replace action items and update positions accordingly
360362
361- if ( myKM .inKeyguardRestrictedInputMode ()&&antiTheftHelperOn ) {
363+ if ( myKM .inKeyguardRestrictedInputMode ()&&antiTheftHelperOn &&(! hideATHDesc ) ) {
362364 Object action = Proxy .newProxyInstance (classLoader , new Class <?>[] { actionClass },
363365 new AntiTheftHelperAction (mContext , mDeviceLockedLabel , mDeviceLockedIcon , noLockedOffDialogTitle , noLockedOffDialogMsg ));
364366 mItems .add (0 , action );
0 commit comments