summaryrefslogtreecommitdiff
path: root/packages/SystemUI/src/com/android/keyguard/KeyguardPatternViewController.java
diff options
context:
space:
mode:
authorDave Mankoff <mankoff@google.com>2021-03-22 15:29:20 -0400
committerDave Mankoff <mankoff@google.com>2021-03-23 10:48:18 -0400
commitdeca9ea898151926fdb54b80b04a949b0e6f0e3b (patch)
treeaa56ad12079b243b414c688bba0aefdbf4c7439e /packages/SystemUI/src/com/android/keyguard/KeyguardPatternViewController.java
parent9ac5677b491f423f59673c6114000bb398bae01d (diff)
Create central TelephonyListenerManager.
The TelephonyManager doesn't like have "too many" listeners registered on int at any given time. It will actually throw exceptions when this happens. To lighten the load from the SystemUI side, TelephonyListenerManager now ensures that only one listener is ever subscribed at any point. SystemUI can now use this class instead, piggy-backing on the possibly already subscribed listener to retrieve the events it cares about. Also, use Executors in CarrierTextController instead of Handlers. Bug: 179775696 Test: atest SystemUITests Change-Id: I626e80a91396161022e1fc6387598521f77bf4fc
Diffstat (limited to 'packages/SystemUI/src/com/android/keyguard/KeyguardPatternViewController.java')
0 files changed, 0 insertions, 0 deletions