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

Commit e6a018a8 authored by Dmitry Dementyev's avatar Dmitry Dementyev Committed by Android Build Coastguard Worker
Browse files

Stop using deprecated getParcelable method in AccountManagerService.

Test: N/A
Bug: 299930871
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:7a24a283a360e816d2bfb2aa124c4eb2efd1be61)
Merged-In: I5a55acffe2e9ef2842c383a352b0bac66c6f1a55
Change-Id: I5a55acffe2e9ef2842c383a352b0bac66c6f1a55
parent 162be1cc
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4984,7 +4984,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;
            }