commit | 7ff82b0a92b0a3115f16850352415ffbd34a3faa | [log] [tgz] |
---|---|---|
author | Lucas Dupin <dupin@google.com> | Wed May 16 12:14:10 2018 -0700 |
committer | Lucas Dupin <dupin@google.com> | Wed May 16 12:40:30 2018 -0700 |
tree | cce74c974d772b5432eea2c7410bb39a16a5e921 | |
parent | 5a36c134b736cc587fcd05b6d5cf94f3bbb62377 [diff] |
Fix KeyguardUpdateMonitor test KeyguardUpdateMonitor's Handler runs on the main looper by design, we need to ensure that whenever we're processing messages, that they will also be received on the main looper. Also unregistered a broadcast listener to avoid a possible race condition Test: atest packages/SystemUI/tests/src/com/android/keyguard/KeyguardUpdateMonitorTest.java Bug: 79550837 Change-Id: I14a319da5c6bc46fd32675ae205e14a6228efaa4