Loading packages/Keyguard/res/values/bools.xml +5 −1 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2011 The Android Open Source Project <!-- Copyright (c) 2013-2014, The Linux Foundation. All rights reserved. Not a Contribution. Copyright (C) 2011 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. Loading @@ -20,4 +23,5 @@ <bool name="kg_top_align_page_shrink_on_bouncer_visible">true</bool> <bool name="kg_show_ime_at_screen_on">true</bool> <bool name="kg_use_all_caps">true</bool> <bool name="icccardexist_hide_emergencybutton">false</bool> </resources> packages/Keyguard/src/com/android/keyguard/EmergencyButton.java +6 −0 Original line number Diff line number Diff line /* * Copyright (c) 2013-2014, The Linux Foundation. All rights reserved. * Not a Contribution. * * Copyright (C) 2008 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); Loading Loading @@ -126,6 +129,9 @@ public class EmergencyButton extends Button { mContext.getResources().getBoolean(R.bool.config_showEmergencyButton); } } if (getContext().getResources().getBoolean(R.bool.icccardexist_hide_emergencybutton)) { enabled = false; } mLockPatternUtils.updateEmergencyCallButtonState(this, enabled, false); } Loading Loading
packages/Keyguard/res/values/bools.xml +5 −1 Original line number Diff line number Diff line <?xml version="1.0" encoding="utf-8"?> <!-- Copyright (C) 2011 The Android Open Source Project <!-- Copyright (c) 2013-2014, The Linux Foundation. All rights reserved. Not a Contribution. Copyright (C) 2011 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. Loading @@ -20,4 +23,5 @@ <bool name="kg_top_align_page_shrink_on_bouncer_visible">true</bool> <bool name="kg_show_ime_at_screen_on">true</bool> <bool name="kg_use_all_caps">true</bool> <bool name="icccardexist_hide_emergencybutton">false</bool> </resources>
packages/Keyguard/src/com/android/keyguard/EmergencyButton.java +6 −0 Original line number Diff line number Diff line /* * Copyright (c) 2013-2014, The Linux Foundation. All rights reserved. * Not a Contribution. * * Copyright (C) 2008 The Android Open Source Project * * Licensed under the Apache License, Version 2.0 (the "License"); Loading Loading @@ -126,6 +129,9 @@ public class EmergencyButton extends Button { mContext.getResources().getBoolean(R.bool.config_showEmergencyButton); } } if (getContext().getResources().getBoolean(R.bool.icccardexist_hide_emergencybutton)) { enabled = false; } mLockPatternUtils.updateEmergencyCallButtonState(this, enabled, false); } Loading