commit | 81d230b250c3a42ca2e99b2d1530a1f7a3845414 | [log] [tgz] |
---|---|---|
author | Bonian Chen <bonianchen@google.com> | Tue Apr 19 23:04:13 2022 +0800 |
committer | Bonian Chen <bonianchen@google.com> | Wed Apr 20 16:54:41 2022 +0000 |
tree | 31c98f6e5b569857e8816ea3dc0e9489cc79d5a4 | |
parent | 8cb0439d9c46cd2b997d3d26ac30dd04ce69a445 [diff] |
[Settings] Code refactor for BroadcastReceiver under Lifecycle This is an implementation of BroadcastReceiver which supported by LifecycleCallbackConverter. Registration of BroadcastReceiver only take place when Lifecycle in RESUME status. Bug: 229689535 Test: unit test Change-Id: Ia2af82d5cbb391034627e5259a9e0c8683a0c5a1 (cherry picked from commit c2030898ef2540d5619c66d5fd4066f2267712bd)