update shortcut overrides and other code changes
This commit is contained in:
parent
fc6a71b2c0
commit
d8d5b97d4b
29 changed files with 55 additions and 51 deletions
|
|
@ -149,7 +149,7 @@ public class MainActivity extends AbsMusicContentActivity {
|
|||
break;
|
||||
case R.id.nav_logout:
|
||||
onLogout = true;
|
||||
ConfirmLogoutDialog.create().show(getSupportFragmentManager(), "CONFIRM_LOGOUT_DIALOG");
|
||||
ConfirmLogoutDialog.create().show(getSupportFragmentManager(), ConfirmLogoutDialog.TAG);
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -161,8 +161,8 @@ public abstract class AbsMusicPanelActivity extends AbsMusicServiceActivity impl
|
|||
}
|
||||
|
||||
public void onPanelExpanded(View panel) {
|
||||
// setting fragments values
|
||||
int playerFragmentColor = playerFragment.getPaletteColor();
|
||||
|
||||
super.setLightStatusBar(false);
|
||||
super.setTaskDescriptionColor(playerFragmentColor);
|
||||
super.setNavigationBarColor(playerFragmentColor);
|
||||
|
|
|
|||
|
|
@ -163,7 +163,7 @@ public abstract class AbsMusicServiceActivity extends AbsBaseActivity implements
|
|||
@Override
|
||||
public void onReceive(final Context context, @NonNull final Intent intent) {
|
||||
final String action = intent.getAction();
|
||||
AbsMusicServiceActivity activity = reference.get();
|
||||
final AbsMusicServiceActivity activity = reference.get();
|
||||
if (activity != null && action != null) {
|
||||
switch (action) {
|
||||
case MusicService.META_CHANGED:
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ public abstract class AbsThemeActivity extends ATHToolbarActivity {
|
|||
}
|
||||
|
||||
public void setStatusBarColorAuto() {
|
||||
// we don't want to use status bar color because we are darkening the color on our own to support KitKat
|
||||
// ignore status bar color because we are darkening the color on our own to support KitKat
|
||||
setStatusBarColor(ThemeStore.primaryColor(this));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue