Merge "Fix bug preventing users from clicking settings suggestions twice" into nyc-mr1-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
fb42828381
@@ -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