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

Commit b117b506 authored by Dmitry Dementyev's avatar Dmitry Dementyev
Browse files

Update AccountManagerService checkKeyIntentParceledCorrectly.

Bug: 265798288
Test: manual
Change-Id: Iad33851af32a11c99d11bc2b5c76d124c3e97ebb
Merged-In: Ia2030a9dc371dccadd4e188a529351ac4232bb4f
parent 7e6c75cc
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -4839,6 +4839,9 @@ public class AccountManagerService
            Bundle simulateBundle = p.readBundle();
            p.recycle();
            Intent intent = bundle.getParcelable(AccountManager.KEY_INTENT);
            if (intent != null && intent.getClass() != Intent.class) {
                return false;
            }
            Intent simulateIntent = simulateBundle.getParcelable(AccountManager.KEY_INTENT);
            if (intent == null) {
                return (simulateIntent == null);