mirror of
https://github.com/Divested-Mobile/DivestOS-Build.git
synced 2024-12-14 10:24:32 -05:00
046f35c66c
Signed-off-by: Tad <tad@spotco.us>
28 lines
1.4 KiB
Diff
28 lines
1.4 KiB
Diff
From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
|
|
From: Dmitry Dementyev <dementyev@google.com>
|
|
Date: Tue, 22 Nov 2022 22:54:01 +0000
|
|
Subject: [PATCH] Convert argument to intent in ChooseTypeAndAccountActivity
|
|
|
|
Bug: 244154558
|
|
Test: manual
|
|
Change-Id: I5a86639cd571e14e9a9f5d5ded631b5a7c08db7e
|
|
(cherry picked from commit ede0a767c26f144e38b4a0c1c2f530b05ffd29a8)
|
|
Merged-In: I5a86639cd571e14e9a9f5d5ded631b5a7c08db7e
|
|
---
|
|
core/java/android/accounts/ChooseTypeAndAccountActivity.java | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/core/java/android/accounts/ChooseTypeAndAccountActivity.java b/core/java/android/accounts/ChooseTypeAndAccountActivity.java
|
|
index ca4a60e980b8..79cb17231525 100644
|
|
--- a/core/java/android/accounts/ChooseTypeAndAccountActivity.java
|
|
+++ b/core/java/android/accounts/ChooseTypeAndAccountActivity.java
|
|
@@ -378,7 +378,7 @@ public class ChooseTypeAndAccountActivity extends Activity
|
|
mExistingAccounts = AccountManager.get(this).getAccountsForPackage(mCallingPackage,
|
|
mCallingUid);
|
|
intent.setFlags(intent.getFlags() & ~Intent.FLAG_ACTIVITY_NEW_TASK);
|
|
- startActivityForResult(intent, REQUEST_ADD_ACCOUNT);
|
|
+ startActivityForResult(new Intent(intent), REQUEST_ADD_ACCOUNT);
|
|
return;
|
|
}
|
|
} catch (OperationCanceledException e) {
|