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

Commit 019015b6 authored by Dmitry Dementyev's avatar Dmitry Dementyev Committed by Android (Google) Code Review
Browse files

Merge "Stop using deprecated getParcelable method in AccountManagerService." into tm-dev

parents fe790c66 7a24a283
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;
            }