Merge "Update AccountManagerService checkKeyIntentParceledCorrectly." into tm-dev am: 1a3bef4300
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/23905120 Change-Id: I0e4b186119452ba3b4ea7b6f7ea4556a878ec8bd Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -4923,7 +4923,10 @@ public class AccountManagerService
|
|||||||
p.setDataPosition(0);
|
p.setDataPosition(0);
|
||||||
Bundle simulateBundle = p.readBundle();
|
Bundle simulateBundle = p.readBundle();
|
||||||
p.recycle();
|
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 simulateIntent = simulateBundle.getParcelable(AccountManager.KEY_INTENT,
|
||||||
Intent.class);
|
Intent.class);
|
||||||
if (intent == null) {
|
if (intent == null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user