commit | 231bcf7b9f6be47848160dbd2ae2c78a031f0ef8 | [log] [tgz] |
---|---|---|
author | Akira Oshimi <akira.x.oshimi@sonymobile.com> | Tue Jan 31 14:34:59 2017 +0900 |
committer | Adrian Roos <roosa@google.com> | Fri May 05 11:23:59 2017 -0700 |
tree | 9d2dc2330e90853263979226cfe60b9dfb9bd15b | |
parent | 45a5adadbd5a543458229a75241809da0a2bb389 [diff] |
Update carrier text when phone service state is changed The carrier text is not updated when the phone service state has changed. To solve this issue, the EmergencyCryptkeeperText view should receive the KeyguardUpdateMonitorCallback#onRefreshCarrierInfo(). Bug: 37331677 Test: visual Change-Id: I359991688552b731eaa02f443902eb7bdc894d10 (cherry picked from commit 76c36c4dc5eb2195c918590b23c16f6410a52df0)
diff --git a/packages/SystemUI/src/com/android/systemui/statusbar/policy/EmergencyCryptkeeperText.java b/packages/SystemUI/src/com/android/systemui/statusbar/policy/EmergencyCryptkeeperText.java index a2d1baf..c726189 100644 --- a/packages/SystemUI/src/com/android/systemui/statusbar/policy/EmergencyCryptkeeperText.java +++ b/packages/SystemUI/src/com/android/systemui/statusbar/policy/EmergencyCryptkeeperText.java
@@ -47,6 +47,11 @@ public void onPhoneStateChanged(int phoneState) { update(); } + + @Override + public void onRefreshCarrierInfo() { + update(); + } }; private final BroadcastReceiver mReceiver = new BroadcastReceiver() { @Override