Loading packages/Keyguard/src/com/android/keyguard/EmergencyButton.java +1 −1 Original line number Diff line number Diff line Loading @@ -211,7 +211,7 @@ public class EmergencyButton extends Button { } else { // Only show if there is a secure screen (pin/pattern/SIM pin/SIM puk); visible = mLockPatternUtils.isSecure(KeyguardUpdateMonitor.getCurrentUser()) || mContext.getResources().getBoolean(R.bool.config_showEmergencyButton); SystemProperties.getBoolean("persist.radio.emgcy_btn_onswipe", false); } if (mContext.getResources().getBoolean(R.bool.kg_hide_emgcy_btn_when_oos)) { Loading packages/SettingsLib/src/com/android/settingslib/TetherUtil.java +0 −6 Original line number Diff line number Diff line Loading @@ -35,12 +35,6 @@ public class TetherUtil { .KEY_REQUIRE_ENTITLEMENT_CHECKS_BOOL); } public static boolean setWifiTethering(boolean enable, Context context) { final WifiManager wifiManager = (WifiManager) context.getSystemService(Context.WIFI_SERVICE); return wifiManager.setWifiApEnabled(null, enable); } public static boolean isProvisioningNeeded(Context context) { // Keep in sync with other usage of config_mobile_hotspot_provision_app. // ConnectivityManager#enforceTetherChangePermission Loading packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardBottomAreaView.java +1 −1 Original line number Diff line number Diff line Loading @@ -855,7 +855,7 @@ public class KeyguardBottomAreaView extends FrameLayout implements View.OnClickL } private void updateEmergencyButton() { if(mContext.getResources().getBoolean(R.bool.config_showEmergencyButton)){ if (SystemProperties.getBoolean("persist.radio.emgcy_btn_onswipe",false)) { if (mEmergencyButton != null) { mEmergencyButton.updateEmergencyCallButton(); } Loading packages/SystemUI/src/com/android/systemui/volume/VolumeDialog.java +0 −1 Original line number Diff line number Diff line Loading @@ -662,7 +662,6 @@ public class VolumeDialog implements TunerService.Tunable { private void removeRow(VolumeRow volumeRow) { mRows.remove(volumeRow); mDialogContentView.removeView(volumeRow.view); mDialogContentView.removeView(volumeRow.space); } private void onStateChangedH(State state) { Loading Loading
packages/Keyguard/src/com/android/keyguard/EmergencyButton.java +1 −1 Original line number Diff line number Diff line Loading @@ -211,7 +211,7 @@ public class EmergencyButton extends Button { } else { // Only show if there is a secure screen (pin/pattern/SIM pin/SIM puk); visible = mLockPatternUtils.isSecure(KeyguardUpdateMonitor.getCurrentUser()) || mContext.getResources().getBoolean(R.bool.config_showEmergencyButton); SystemProperties.getBoolean("persist.radio.emgcy_btn_onswipe", false); } if (mContext.getResources().getBoolean(R.bool.kg_hide_emgcy_btn_when_oos)) { Loading
packages/SettingsLib/src/com/android/settingslib/TetherUtil.java +0 −6 Original line number Diff line number Diff line Loading @@ -35,12 +35,6 @@ public class TetherUtil { .KEY_REQUIRE_ENTITLEMENT_CHECKS_BOOL); } public static boolean setWifiTethering(boolean enable, Context context) { final WifiManager wifiManager = (WifiManager) context.getSystemService(Context.WIFI_SERVICE); return wifiManager.setWifiApEnabled(null, enable); } public static boolean isProvisioningNeeded(Context context) { // Keep in sync with other usage of config_mobile_hotspot_provision_app. // ConnectivityManager#enforceTetherChangePermission Loading
packages/SystemUI/src/com/android/systemui/statusbar/phone/KeyguardBottomAreaView.java +1 −1 Original line number Diff line number Diff line Loading @@ -855,7 +855,7 @@ public class KeyguardBottomAreaView extends FrameLayout implements View.OnClickL } private void updateEmergencyButton() { if(mContext.getResources().getBoolean(R.bool.config_showEmergencyButton)){ if (SystemProperties.getBoolean("persist.radio.emgcy_btn_onswipe",false)) { if (mEmergencyButton != null) { mEmergencyButton.updateEmergencyCallButton(); } Loading
packages/SystemUI/src/com/android/systemui/volume/VolumeDialog.java +0 −1 Original line number Diff line number Diff line Loading @@ -662,7 +662,6 @@ public class VolumeDialog implements TunerService.Tunable { private void removeRow(VolumeRow volumeRow) { mRows.remove(volumeRow); mDialogContentView.removeView(volumeRow.view); mDialogContentView.removeView(volumeRow.space); } private void onStateChangedH(State state) { Loading