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

Commit c634282f authored by Joanne Chung's avatar Joanne Chung Committed by Automerger Merge Worker
Browse files

Merge "Fix ServicePermissionsTest#testDumpProtected" into sc-dev am: 68662ec8

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

Change-Id: Ib03dbe3e73f545facd059f9ceffaea47f4e87633
parents 77dccbe7 68662ec8
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -48,6 +48,7 @@ import android.view.translation.UiTranslationSpec;

import com.android.internal.annotations.GuardedBy;
import com.android.internal.os.IResultReceiver;
import com.android.internal.util.DumpUtils;
import com.android.server.infra.AbstractMasterSystemService;
import com.android.server.infra.FrameworkResourcesServiceNameResolver;

@@ -289,6 +290,8 @@ public final class TranslationManagerService
        */
        @Override
        public void dump(FileDescriptor fd, PrintWriter pw, String[] args) {
            if (!DumpUtils.checkDumpPermission(getContext(), TAG, pw)) return;

            synchronized (mLock) {
                dumpLocked("", pw);
            }