restore saved state of extra info on slide changes
This commit is contained in:
parent
84c7cb1e84
commit
3fd4c28386
@ -696,8 +696,14 @@ public class FullPlaybackActivity extends SlidingPlaybackActivity
|
||||
@Override
|
||||
public void onSlideFullyExpanded(boolean expanded) {
|
||||
super.onSlideFullyExpanded(expanded);
|
||||
if (expanded)
|
||||
|
||||
setControlsVisible(true);
|
||||
if (expanded) {
|
||||
setExtraInfoVisible(false);
|
||||
} else {
|
||||
SharedPreferences settings = PlaybackService.getSettings(this);
|
||||
setExtraInfoVisible(settings.getBoolean(PrefKeys.VISIBLE_EXTRA_INFO, PrefDefaults.VISIBLE_EXTRA_INFO));
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user