public void init() { mFeedbackIconArea = mView.findViewById(TkR.id.feedbackIconArea); mStatusIcons = mView.findViewById(SystemR.id.statusIcons); mSignalCluster = mView.findViewById(SystemR.id.signal_cluster); mBattery = mView.findViewById(SystemR.id.battery); mBatteryText = mView.findViewById(TkR.id.battery_text); mBluetooth = mView.findViewById(TkR.id.bluetooth); mClock = mView.findViewById(SystemR.id.clock); applyModeBackground(-1, getMode(), false /*animate*/); applyMode(getMode(), false /*animate*/, true /*force*/); }
@Override protected void onTransition(int oldMode, int newMode, boolean animate) { super.onTransition(oldMode, newMode, animate); applyMode(newMode, animate, false /*force*/); }