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

Commit b1352cd7 authored by JiangDongya's avatar JiangDongya Committed by Dongya Jiang
Browse files

[StatusBar] fix: Make DisableRecord.pkg working



* replace wrong return statement with break statement

Test: adb shell dumpsys statusbar, and pkg would not be "null"

Change-Id: I462c93f87e17057501dde34d114692423a40444b
Signed-off-by: default avatarDongya Jiang <jiangdongya@xiaomi.com>
parent b8740842
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -140,13 +140,14 @@ public class StatusBarManagerService extends IStatusBarService.Stub {
            switch (which) {
                case 1:
                    what1 = what;
                    return;
                    break;
                case 2:
                    what2 = what;
                    return;
                    break;
                default:
                    Slog.w(TAG, "Can't set unsupported disable flag " + which
                            + ": 0x" + Integer.toHexString(what));
                    break;
            }
            this.pkg = pkg;
        }