File tree Expand file tree Collapse file tree
app/src/main/java/com/sevtinge/hyperceiler/module
systemui/statusbar/icon/v Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1818*/
1919package com .sevtinge .hyperceiler .module .app ;
2020
21+ import static com .sevtinge .hyperceiler .utils .devicesdk .SystemSDKKt .isMoreAndroidVersion ;
22+
2123import android .text .TextUtils ;
2224
2325import com .hchen .database .HookBase ;
2628import com .sevtinge .hyperceiler .module .hook .screenshot .SaveToPictures ;
2729import com .sevtinge .hyperceiler .module .hook .screenshot .UnlockMinimumCropLimit2 ;
2830import com .sevtinge .hyperceiler .module .hook .screenshot .UnlockPrivacyMarking ;
31+ import com .sevtinge .hyperceiler .module .hook .systemframework .FlagSecure ;
2932import com .sevtinge .hyperceiler .module .hook .various .UnlockSuperClipboard ;
3033
3134@ HookBase (targetPackage = "com.miui.screenshot" )
@@ -39,5 +42,6 @@ public void handleLoadPackage() {
3942 initHook (UnlockPrivacyMarking .INSTANCE , mPrefsMap .getBoolean ("screenshot_unlock_privacy_marking" ));
4043 // 超级剪切板
4144 initHook (UnlockSuperClipboard .INSTANCE , mPrefsMap .getStringAsInt ("various_super_clipboard_e" , 0 ) != 0 );
45+ initHook (new FlagSecure (), mPrefsMap .getBoolean ("system_other_flag_secure" ) && isMoreAndroidVersion (33 ));
4246 }
4347}
Original file line number Diff line number Diff line change 2424
2525import com .hchen .database .HookBase ;
2626import com .sevtinge .hyperceiler .module .base .BaseModule ;
27+ import com .sevtinge .hyperceiler .module .hook .systemframework .FlagSecure ;
2728import com .sevtinge .hyperceiler .module .hook .systemui .AllowManageAllNotifications ;
2829import com .sevtinge .hyperceiler .module .hook .systemui .AutoCollapse ;
2930import com .sevtinge .hyperceiler .module .hook .systemui .BluetoothRestrict ;
@@ -276,6 +277,7 @@ public void handleLoadPackage() {
276277 initHook (StatusBarLayout .INSTANCE , mPrefsMap .getBoolean ("system_ui_statusbar_layout_compatibility_mode" ) ||
277278 mPrefsMap .getStringAsInt ("system_ui_statusbar_layout_mode" , 0 ) != 0 );
278279
280+ initHook (new FlagSecure (), mPrefsMap .getBoolean ("system_other_flag_secure" ));
279281 // 实验性功能
280282 // initHook(new SwitchControlPanel(), false);
281283 // initHook(new MiuiGxzwSize(), false);
Original file line number Diff line number Diff line change 2323
2424import com .hchen .database .HookBase ;
2525import com .sevtinge .hyperceiler .module .base .BaseModule ;
26+ import com .sevtinge .hyperceiler .module .hook .systemframework .FlagSecure ;
2627import com .sevtinge .hyperceiler .module .hook .systemui .AllowManageAllNotifications ;
2728import com .sevtinge .hyperceiler .module .hook .systemui .AutoCollapse ;
2829import com .sevtinge .hyperceiler .module .hook .systemui .BluetoothRestrict ;
@@ -164,6 +165,8 @@ public void handleLoadPackage() {
164165 // Monet
165166 initHook (new MonetThemeOverlay (), mPrefsMap .getBoolean ("system_ui_monet_overlay_custom" ));
166167
168+ initHook (new FlagSecure (), mPrefsMap .getBoolean ("system_other_flag_secure" ));
169+
167170 // 状态栏图标
168171 boolean isHideSim = (mPrefsMap .getBoolean ("system_ui_status_bar_icon_mobile_network_hide_card_1" ) ||
169172 mPrefsMap .getBoolean ("system_ui_status_bar_icon_mobile_network_hide_card_2" )) &&
Original file line number Diff line number Diff line change 2323
2424import com .hchen .database .HookBase ;
2525import com .sevtinge .hyperceiler .module .base .BaseModule ;
26+ import com .sevtinge .hyperceiler .module .hook .systemframework .FlagSecure ;
2627import com .sevtinge .hyperceiler .module .hook .systemui .AllowManageAllNotifications ;
2728import com .sevtinge .hyperceiler .module .hook .systemui .AutoCollapse ;
2829import com .sevtinge .hyperceiler .module .hook .systemui .BrightnessPct ;
@@ -135,6 +136,7 @@ public void handleLoadPackage() {
135136 // initHook(Island.INSTANCE, true); // 灵动岛
136137 initHook (new ChargeAnimationStyle (), mPrefsMap .getStringAsInt ("system_ui_charge_animation_style" , 0 ) > 0 );
137138 // initHook(DisableChargeAnimation.INSTANCE);
139+ initHook (new FlagSecure (), mPrefsMap .getBoolean ("system_other_flag_secure" ));
138140
139141 // 小窗
140142 initHook (new NotificationFreeform (), mPrefsMap .getBoolean ("system_ui_notification_freeform" ));
Original file line number Diff line number Diff line change 2424
2525import com .hchen .database .HookBase ;
2626import com .sevtinge .hyperceiler .module .base .BaseModule ;
27+ import com .sevtinge .hyperceiler .module .hook .systemframework .FlagSecure ;
2728import com .sevtinge .hyperceiler .module .hook .systemui .AllowManageAllNotifications ;
2829import com .sevtinge .hyperceiler .module .hook .systemui .AutoCollapse ;
2930import com .sevtinge .hyperceiler .module .hook .systemui .BluetoothRestrict ;
@@ -276,6 +277,7 @@ public void handleLoadPackage() {
276277 initHook (StatusBarLayout .INSTANCE , mPrefsMap .getBoolean ("system_ui_statusbar_layout_compatibility_mode" ) ||
277278 mPrefsMap .getStringAsInt ("system_ui_statusbar_layout_mode" , 0 ) != 0 );
278279
280+ initHook (new FlagSecure (), mPrefsMap .getBoolean ("system_other_flag_secure" ));
279281 // 实验性功能
280282 // initHook(new SwitchControlPanel(), false);
281283 // initHook(new MiuiGxzwSize(), false);
Original file line number Diff line number Diff line change 2323
2424import com .hchen .database .HookBase ;
2525import com .sevtinge .hyperceiler .module .base .BaseModule ;
26+ import com .sevtinge .hyperceiler .module .hook .systemframework .FlagSecure ;
2627import com .sevtinge .hyperceiler .module .hook .systemui .AllowManageAllNotifications ;
2728import com .sevtinge .hyperceiler .module .hook .systemui .AutoCollapse ;
2829import com .sevtinge .hyperceiler .module .hook .systemui .BluetoothRestrict ;
@@ -161,6 +162,8 @@ public void handleLoadPackage() {
161162 // Monet
162163 initHook (new MonetThemeOverlay (), mPrefsMap .getBoolean ("system_ui_monet_overlay_custom" ));
163164
165+ initHook (new FlagSecure (), mPrefsMap .getBoolean ("system_other_flag_secure" ));
166+
164167 // 状态栏图标
165168 boolean isHideSim = (mPrefsMap .getBoolean ("system_ui_status_bar_icon_mobile_network_hide_card_1" ) ||
166169 mPrefsMap .getBoolean ("system_ui_status_bar_icon_mobile_network_hide_card_2" )) &&
Original file line number Diff line number Diff line change 2323
2424import com .hchen .database .HookBase ;
2525import com .sevtinge .hyperceiler .module .base .BaseModule ;
26+ import com .sevtinge .hyperceiler .module .hook .systemframework .FlagSecure ;
2627import com .sevtinge .hyperceiler .module .hook .systemui .AllowManageAllNotifications ;
2728import com .sevtinge .hyperceiler .module .hook .systemui .AutoCollapse ;
2829import com .sevtinge .hyperceiler .module .hook .systemui .BrightnessPct ;
@@ -137,6 +138,7 @@ public void handleLoadPackage() {
137138 // PluginHelper
138139 initHook (NewPluginHelperKt .INSTANCE );
139140 // initHook(Island.INSTANCE, true); // 灵动岛
141+ initHook (new FlagSecure (), mPrefsMap .getBoolean ("system_other_flag_secure" ));
140142
141143 // 小窗
142144 initHook (new NotificationFreeform (), mPrefsMap .getBoolean ("system_ui_notification_freeform" ));
You can’t perform that action at this time.
0 commit comments