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

Commit e2c44bab authored by Bishoy Gendy's avatar Bishoy Gendy Committed by Automerger Merge Worker
Browse files

Merge "Revert "Replace security exception with silent log in system ui."" into...

Merge "Revert "Replace security exception with silent log in system ui."" into tm-qpr-dev am: a62cc29c am: 1c6433a6

Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/21057583



Change-Id: I5c989af2ec707da4cdb9056d3238b9d58a106bc2
Signed-off-by: default avatarAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
parents 1fa760d1 1c6433a6
Loading
Loading
Loading
Loading
+1 −3
Original line number Diff line number Diff line
@@ -53,7 +53,6 @@ import android.os.ParcelFileDescriptor;
import android.os.Process;
import android.os.RemoteException;
import android.util.Pair;
import android.util.Slog;
import android.util.SparseArray;
import android.view.InsetsState.InternalInsetsType;
import android.view.WindowInsets.Type.InsetsType;
@@ -1271,8 +1270,7 @@ public class CommandQueue extends IStatusBar.Stub implements
    public void showMediaOutputSwitcher(String packageName) {
        int callingUid = Binder.getCallingUid();
        if (callingUid != 0 && callingUid != Process.SYSTEM_UID) {
            Slog.e(TAG, "Call only allowed from system server.");
            return;
            throw new SecurityException("Call only allowed from system server.");
        }
        synchronized (mLock) {
            SomeArgs args = SomeArgs.obtain();