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

Commit abe00592 authored by Shiwangi Shah's avatar Shiwangi Shah
Browse files

Fix failures for Webview tests in sandbox

Bug: b/261764855
Test: atest WebViewSandboxTest
Change-Id: I561f14badc23ee44c757250becc11f6dfb609fb8
parent bbc4a264
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -3869,8 +3869,8 @@ public final class ActiveServices {
                            throw new SecurityException("BIND_EXTERNAL_SERVICE failed, "
                                    + className + " is not an isolatedProcess");
                        }
                        if (AppGlobals.getPackageManager().getPackageUid(callingPackage,
                                0, userId) != callingUid) {
                        if (!mAm.getPackageManagerInternal().isSameApp(callingPackage, callingUid,
                                userId)) {
                            throw new SecurityException("BIND_EXTERNAL_SERVICE failed, "
                                    + "calling package not owned by calling UID ");
                        }