public void setNavigationIconHints(int hints, boolean force) { if (!force && hints == mNavigationIconHints) return; final boolean backAlt = (hints & StatusBarManager.NAVIGATION_HINT_BACK_ALT) != 0; if ((mNavigationIconHints & StatusBarManager.NAVIGATION_HINT_BACK_ALT) != 0 && !backAlt) { mTransitionListener.onBackAltCleared(); } mNavigationIconHints = hints; ((ImageView) getBackButton()) .setImageResource( backAlt ? SystemR.drawable.ic_sysbar_back_ime : SystemR.drawable.ic_sysbar_back); setDisabledFlags(mDisabledFlags, true); }
public void setDisabledFlags(int disabledFlags) { setDisabledFlags(disabledFlags, false); }
public void notifyScreenOn(boolean screenOn) { mScreenOn = screenOn; setDisabledFlags(mDisabledFlags, true); }