Fix bug preventing users from clicking settings suggestions twice am: f265dbc447
am: e5e60eccaf
am: 5b509e12ff
Change-Id: Iab38544e2e6fa2cb500fbbdc997dacd9dc611198
This commit is contained in:
@@ -1326,11 +1326,7 @@ public class SettingsActivity extends SettingsDrawerActivity
|
|||||||
if (intent == null || ActivityManager.isUserAMonkey()) {
|
if (intent == null || ActivityManager.isUserAMonkey()) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
final ComponentName componentName = intent.getComponent();
|
mCurrentSuggestion = intent.getComponent();
|
||||||
if (componentName.equals(mCurrentSuggestion)) {
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
mCurrentSuggestion = componentName;
|
|
||||||
startActivityForResult(intent, REQUEST_SUGGESTION);
|
startActivityForResult(intent, REQUEST_SUGGESTION);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user