Loading packages/Keyguard/src/com/android/keyguard/EmergencyButton.java +7 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ package com.android.keyguard; import android.content.Context; import android.content.Intent; import android.content.res.Configuration; import android.os.PowerManager; import android.os.SystemClock; import android.os.UserHandle; Loading Loading @@ -104,6 +105,12 @@ public class EmergencyButton extends Button { updateEmergencyCallButton(); } @Override protected void onConfigurationChanged(Configuration newConfig) { super.onConfigurationChanged(newConfig); updateEmergencyCallButton(); } /** * Shows the emergency dialer or returns the user to the existing call. */ Loading Loading
packages/Keyguard/src/com/android/keyguard/EmergencyButton.java +7 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ package com.android.keyguard; import android.content.Context; import android.content.Intent; import android.content.res.Configuration; import android.os.PowerManager; import android.os.SystemClock; import android.os.UserHandle; Loading Loading @@ -104,6 +105,12 @@ public class EmergencyButton extends Button { updateEmergencyCallButton(); } @Override protected void onConfigurationChanged(Configuration newConfig) { super.onConfigurationChanged(newConfig); updateEmergencyCallButton(); } /** * Shows the emergency dialer or returns the user to the existing call. */ Loading