am 7f5ea4a5: am f31a7003: Merge "Update emergency call button label when language changes" into mnc-dev
* commit '7f5ea4a56b5c8de4d781be2ea129cdea8f413ee1': Update emergency call button label when language changes
This commit is contained in:
@@ -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;
|
||||
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user