Fix bug preventing users from clicking settings suggestions twice
am: f265dbc447
Change-Id: I0e9a1a92d84f2ae2dc783ddea4f6bcb728a72a52
This commit is contained in:
@@ -1273,11 +1273,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