Fix notification panel not expanding and added user option to toggle
This commit is contained in:
parent
19c7b826f4
commit
e6fb122796
8 changed files with 30 additions and 13 deletions
|
@ -216,6 +216,7 @@ public final class PreferenceUtil {
|
|||
|
||||
private static final String FILTER_SONG = "filter_song";
|
||||
private static final String TAG = "PreferenceUtil";
|
||||
private static final String EXPAND_NOW_PLAYING_PANEL = "expand_now_playing_panel";
|
||||
private static PreferenceUtil sInstance;
|
||||
private final SharedPreferences mPreferences;
|
||||
|
||||
|
@ -974,4 +975,8 @@ public final class PreferenceUtil {
|
|||
@NonNull OnSharedPreferenceChangeListener sharedPreferenceChangeListener) {
|
||||
mPreferences.unregisterOnSharedPreferenceChangeListener(sharedPreferenceChangeListener);
|
||||
}
|
||||
|
||||
public boolean isExpandPanel() {
|
||||
return mPreferences.getBoolean(EXPAND_NOW_PLAYING_PANEL, false);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue