OSDN Git Service

Fix intent launch flag
authorFan Zhang <zhfan@google.com>
Mon, 12 Feb 2018 20:52:17 +0000 (12:52 -0800)
committerFan Zhang <zhfan@google.com>
Mon, 12 Feb 2018 21:37:40 +0000 (13:37 -0800)
Change-Id: I0cb744fcccc6fb9f6d0d338f726f3dd29dccc718
Fixes: 73224739
Test: manual

src/com/android/settings/accounts/AccountTypePreference.java

index 1d39473..574cbd5 100644 (file)
@@ -103,7 +103,8 @@ public class AccountTypePreference extends AppPreference implements OnPreference
             }
             Utils.startWithFragment(getContext(), mFragment, mFragmentArguments,
                 null /* resultTo */, 0 /* resultRequestCode */, mTitleResPackageName,
-                mTitleResId, null /* title */, mMetricsCategory);
+                mTitleResId, null /* title */,false /* isShortCut */, mMetricsCategory,
+                    0 /* flag */);
             return true;
         }
         return false;