Keep the settings title as "Settings" even if launching a shortcut.
Handle clicks on Settings icon in top-left. Also fix a bug where Tethering settings was changing the title.
This commit is contained in:
@@ -216,8 +216,12 @@ public class ManageAccountsSettings extends AccountPreferenceBase
|
||||
|
||||
@Override
|
||||
public boolean onOptionsItemSelected(MenuItem item) {
|
||||
onAddAccountClicked();
|
||||
return true;
|
||||
if (item.getItemId() == MENU_ADD_ACCOUNT) {
|
||||
onAddAccountClicked();
|
||||
return true;
|
||||
} else {
|
||||
return super.onOptionsItemSelected(item);
|
||||
}
|
||||
}
|
||||
|
||||
private void setBackgroundDataInt(boolean enabled) {
|
||||
|
Reference in New Issue
Block a user