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