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()) {
|
||||
return;
|
||||
}
|
||||
final ComponentName componentName = intent.getComponent();
|
||||
if (componentName.equals(mCurrentSuggestion)) {
|
||||
return;
|
||||
}
|
||||
mCurrentSuggestion = componentName;
|
||||
mCurrentSuggestion = intent.getComponent();
|
||||
startActivityForResult(intent, REQUEST_SUGGESTION);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user