Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ea66382f authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "allow KeyguardIndicationController to be more easily overriden"

parents dfe2981a 1463e18d
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -122,7 +122,7 @@ public class KeyguardIndicationController implements StateListener,
     * Creates a new KeyguardIndicationController and registers callbacks.
     */
    @Inject
    KeyguardIndicationController(Context context,
    public KeyguardIndicationController(Context context,
            WakeLock.Builder wakeLockBuilder,
            KeyguardStateController keyguardStateController,
            StatusBarStateController statusBarStateController,
@@ -433,8 +433,7 @@ public class KeyguardIndicationController implements StateListener,
                });
    }

    @VisibleForTesting
    String computePowerIndication() {
    protected String computePowerIndication() {
        if (mPowerCharged) {
            return mContext.getResources().getString(R.string.keyguard_charged);
        }