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

Commit 7a24a283 authored by Dmitry Dementyev's avatar Dmitry Dementyev
Browse files

Stop using deprecated getParcelable method in AccountManagerService.

Test: N/A
Bug: 299930871
Change-Id: I5a55acffe2e9ef2842c383a352b0bac66c6f1a55
parent 632a8b8a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4923,7 +4923,7 @@ public class AccountManagerService
            p.setDataPosition(0);
            Bundle simulateBundle = p.readBundle();
            p.recycle();
            Intent intent = bundle.getParcelable(AccountManager.KEY_INTENT);
            Intent intent = bundle.getParcelable(AccountManager.KEY_INTENT, Intent.class);
            if (intent != null && intent.getClass() != Intent.class) {
                return false;
            }