File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 52
52
android : defaultValue =" "
53
53
android : persistent =" false" />
54
54
55
- <PreferenceCategory android : title =" @string/category_shade" >
55
+ <PreferenceCategory android : key = " category_customization " android : title =" @string/category_shade" >
56
56
57
57
<ListPreference
58
58
android : key =" pref_theme"
Original file line number Diff line number Diff line change @@ -34,6 +34,7 @@ public class ShadeSettings extends SettingsActivity {
34
34
public static final String PREF_GRID_SIZE = "pref_grid_size" ;
35
35
public static final String PREF_TRANSITION = "pref_transition" ;
36
36
private static final String ABOUT_APP_VERSION = "about_app_version" ;
37
+ private static final String CATEGORY_CUSTOMIZATION = "category_customization" ;
37
38
private static final String CATEGORY_PLUGINS = "category_plugins" ;
38
39
private static final int UPDATE_THEME_DELAY = 500 ;
39
40
private static final int CLOSE_STACK_DELAY = 500 ;
@@ -92,7 +93,8 @@ public void onCreate(Bundle bundle) {
92
93
});
93
94
94
95
if (QuickstepProcessInitializer .isEnabled ()) {
95
- getPreferenceScreen ().removePreference (findPreference (PREF_TRANSITION ));
96
+ PreferenceCategory pc = (PreferenceCategory ) findPreference (CATEGORY_CUSTOMIZATION );
97
+ pc .removePreference (findPreference (PREF_TRANSITION ));
96
98
}
97
99
98
100
mManager = PluginManager .getInstance (mContext );
You can’t perform that action at this time.
0 commit comments