Differential D11694 Diff 32896 src/org/kde/kdeconnect/UserInterface/AppCompatPreferenceActivity.java
Changeset View
Changeset View
Standalone View
Standalone View
src/org/kde/kdeconnect/UserInterface/AppCompatPreferenceActivity.java
Show All 39 Lines | |||||
40 | public abstract class AppCompatPreferenceActivity extends PreferenceActivity { | 40 | public abstract class AppCompatPreferenceActivity extends PreferenceActivity { | ||
41 | 41 | | |||
42 | private AppCompatDelegate mDelegate; | 42 | private AppCompatDelegate mDelegate; | ||
43 | 43 | | |||
44 | @Override | 44 | @Override | ||
45 | protected void onCreate(Bundle savedInstanceState) { | 45 | protected void onCreate(Bundle savedInstanceState) { | ||
46 | getDelegate().installViewFactory(); | 46 | getDelegate().installViewFactory(); | ||
47 | getDelegate().onCreate(savedInstanceState); | 47 | getDelegate().onCreate(savedInstanceState); | ||
48 | // The superclass's onCreate() method calls setContentView, so this ThemeUtil call must be before that | ||||
49 | ThemeUtil.setUserPreferredTheme(this); | ||||
48 | super.onCreate(savedInstanceState); | 50 | super.onCreate(savedInstanceState); | ||
49 | } | 51 | } | ||
50 | 52 | | |||
51 | @Override | 53 | @Override | ||
52 | protected void onPostCreate(Bundle savedInstanceState) { | 54 | protected void onPostCreate(Bundle savedInstanceState) { | ||
53 | super.onPostCreate(savedInstanceState); | 55 | super.onPostCreate(savedInstanceState); | ||
54 | getDelegate().onPostCreate(savedInstanceState); | 56 | getDelegate().onPostCreate(savedInstanceState); | ||
55 | } | 57 | } | ||
▲ Show 20 Lines • Show All 86 Lines • Show Last 20 Lines |