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

Commit 8476b140 authored by Dmitry Dementyev's avatar Dmitry Dementyev
Browse files

Update AccountManagerService checkKeyIntentParceledCorrectly.

Bug: 265798288
Test: manual
Change-Id: Ia2030a9dc371dccadd4e188a529351ac4232bb4f
parent 7455a41b
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -4923,7 +4923,10 @@ public class AccountManagerService
            p.setDataPosition(0);
            Bundle simulateBundle = p.readBundle();
            p.recycle();
            Intent intent = bundle.getParcelable(AccountManager.KEY_INTENT, Intent.class);
            Intent intent = bundle.getParcelable(AccountManager.KEY_INTENT);
            if (intent != null && intent.getClass() != Intent.class) {
                return false;
            }
            Intent simulateIntent = simulateBundle.getParcelable(AccountManager.KEY_INTENT,
                    Intent.class);
            if (intent == null) {