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
|
@ -170,7 +170,7 @@ public class MainActivity extends AbsSlidingMusicPanelActivity
|
|||
registerReceiver(mBroadcastReceiver, mIntentFilter);
|
||||
PreferenceUtil.getInstance(this).registerOnSharedPreferenceChangedListener(this);
|
||||
|
||||
if (getIntent().hasExtra(EXPAND_PANEL)) {
|
||||
if (getIntent().hasExtra(EXPAND_PANEL) && PreferenceUtil.getInstance(this).isExpandPanel()) {
|
||||
if (getIntent().getBooleanExtra(EXPAND_PANEL, false)) {
|
||||
expandPanel();
|
||||
getIntent().putExtra(EXPAND_PANEL, false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue