Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 76c36c4d authored by Akira Oshimi's avatar Akira Oshimi Committed by Yoshinori Hirano
Browse files

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
parent e98a2942
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -47,6 +47,11 @@ public class EmergencyCryptkeeperText extends TextView {
        public void onPhoneStateChanged(int phoneState) {
            update();
        }

        @Override
        public void onRefreshCarrierInfo() {
            update();
        }
    };
    private final BroadcastReceiver mReceiver = new BroadcastReceiver() {
        @Override