Update AccountManagerService checkKeyIntentParceledCorrectly.
Bug: 265798288 Test: manual Change-Id: Ia2030a9dc371dccadd4e188a529351ac4232bb4f
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user