am ee2a66b5: am 3fb948e4: am 800d544a: am 8c6a01f8: Remove app icon from Setup and Mailbox Settings
* commit 'ee2a66b5b0632a2bbc09ebdfc555235eb56c1f27': Remove app icon from Setup and Mailbox Settings
This commit is contained in:
commit
8eca7d6a50
|
@ -18,6 +18,7 @@ package com.android.email.activity.setup;
|
|||
|
||||
import android.accounts.AccountAuthenticatorResponse;
|
||||
import android.accounts.AccountManager;
|
||||
import android.app.ActionBar;
|
||||
import android.app.ActivityManager;
|
||||
import android.app.AlertDialog;
|
||||
import android.app.Dialog;
|
||||
|
@ -212,6 +213,13 @@ public class AccountSetupFinal extends AccountSetupActivity
|
|||
|
||||
setContentView(R.layout.account_setup_activity);
|
||||
|
||||
final ActionBar actionBar = getActionBar();
|
||||
if (actionBar != null) {
|
||||
// Hide the app icon.
|
||||
actionBar.setIcon(android.R.color.transparent);
|
||||
actionBar.setDisplayUseLogoEnabled(false);
|
||||
}
|
||||
|
||||
if (savedInstanceState != null) {
|
||||
mIsProcessing = savedInstanceState.getBoolean(SAVESTATE_KEY_IS_PROCESSING, false);
|
||||
mState = savedInstanceState.getInt(SAVESTATE_KEY_STATE, STATE_OPTIONS);
|
||||
|
|
|
@ -105,6 +105,9 @@ public class MailboxSettings extends PreferenceActivity {
|
|||
ActionBar actionBar = getActionBar();
|
||||
if (actionBar != null) {
|
||||
actionBar.setDisplayOptions(ActionBar.DISPLAY_HOME_AS_UP, ActionBar.DISPLAY_HOME_AS_UP);
|
||||
// Hide the app icon.
|
||||
actionBar.setIcon(android.R.color.transparent);
|
||||
actionBar.setDisplayUseLogoEnabled(false);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue