am 20c9606f: Merge "Remove unused status bar icon stat_sys_secure." into klp-dev
* commit '20c9606f5770496ffef45dd3d02a9885d3bed6b6': Remove unused status bar icon stat_sys_secure.
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 761 B |
Binary file not shown.
|
Before Width: | Height: | Size: 407 B |
Binary file not shown.
|
Before Width: | Height: | Size: 622 B |
Binary file not shown.
|
Before Width: | Height: | Size: 929 B |
Binary file not shown.
|
Before Width: | Height: | Size: 702 B |
@@ -3970,11 +3970,6 @@
|
||||
<!-- Title for a dialog showing possible activities for sharing in ShareActionProvider [CHAR LIMIT=25] -->
|
||||
<string name="share_action_provider_share_with">Share with</string>
|
||||
|
||||
<!-- Status Bar icon descriptions -->
|
||||
|
||||
<!-- Description of for the status bar's icon that the device is locked for accessibility. [CHAR LIMIT=NONE] -->
|
||||
<string name="status_bar_device_locked">Device locked.</string>
|
||||
|
||||
<!-- Delimeter used between each item in a textual list; for example "Alpha, Beta". [CHAR LIMIT=3] -->
|
||||
<string name="list_delimeter">", "</string>
|
||||
|
||||
|
||||
@@ -1249,7 +1249,6 @@
|
||||
<java-symbol type="drawable" name="jog_tab_target_yellow" />
|
||||
<java-symbol type="drawable" name="magnified_region_frame" />
|
||||
<java-symbol type="drawable" name="menu_background" />
|
||||
<java-symbol type="drawable" name="stat_sys_secure" />
|
||||
<java-symbol type="id" name="action_mode_bar_stub" />
|
||||
<java-symbol type="id" name="button0" />
|
||||
<java-symbol type="id" name="button4" />
|
||||
@@ -1312,7 +1311,6 @@
|
||||
<java-symbol type="string" name="global_action_toggle_silent_mode" />
|
||||
<java-symbol type="string" name="invalidPuk" />
|
||||
<java-symbol type="string" name="lockscreen_carrier_default" />
|
||||
<java-symbol type="string" name="status_bar_device_locked" />
|
||||
<java-symbol type="style" name="Animation.LockScreen" />
|
||||
<java-symbol type="style" name="Theme.Dialog.RecentApplications" />
|
||||
<java-symbol type="style" name="Theme.ExpandedMenu" />
|
||||
|
||||
@@ -153,8 +153,6 @@ public class KeyguardViewMediator {
|
||||
private AlarmManager mAlarmManager;
|
||||
private AudioManager mAudioManager;
|
||||
private StatusBarManager mStatusBarManager;
|
||||
private boolean mShowLockIcon;
|
||||
private boolean mShowingLockIcon;
|
||||
private boolean mSwitchingUser;
|
||||
|
||||
private boolean mSystemReady;
|
||||
@@ -494,7 +492,6 @@ public class KeyguardViewMediator {
|
||||
mLockPatternUtils);
|
||||
|
||||
final ContentResolver cr = mContext.getContentResolver();
|
||||
mShowLockIcon = (Settings.System.getInt(cr, "show_status_bar_lock", 0) == 1);
|
||||
|
||||
mScreenOn = mPM.isScreenOn();
|
||||
|
||||
@@ -1227,25 +1224,6 @@ public class KeyguardViewMediator {
|
||||
if (mStatusBarManager == null) {
|
||||
Log.w(TAG, "Could not get status bar manager");
|
||||
} else {
|
||||
if (mShowLockIcon) {
|
||||
// Give feedback to user when secure keyguard is active and engaged
|
||||
if (mShowing && isSecure()) {
|
||||
if (!mShowingLockIcon) {
|
||||
String contentDescription = mContext.getString(
|
||||
com.android.internal.R.string.status_bar_device_locked);
|
||||
mStatusBarManager.setIcon("secure",
|
||||
com.android.internal.R.drawable.stat_sys_secure, 0,
|
||||
contentDescription);
|
||||
mShowingLockIcon = true;
|
||||
}
|
||||
} else {
|
||||
if (mShowingLockIcon) {
|
||||
mStatusBarManager.removeIcon("secure");
|
||||
mShowingLockIcon = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// Disable aspects of the system/status/navigation bars that must not be re-enabled by
|
||||
// windows that appear on top, ever
|
||||
int flags = StatusBarManager.DISABLE_NONE;
|
||||
|
||||
Reference in New Issue
Block a user