commit | 213c998557986698c54f4790bf735c2195473a6c | [log] [tgz] |
---|---|---|
author | Chaohui Wang <chaohuiw@google.com> | Fri Feb 02 21:58:40 2024 +0800 |
committer | Chaohui Wang <chaohuiw@google.com> | Sat Feb 03 04:12:39 2024 +0000 |
tree | a0d259927732c1b6ae399bc4cc25e7f68f9f45a7 | |
parent | 32587dbdcff88af748bfcc86f514aa48b12713f6 [diff] |
Use collectAsCallbackWithLifecycle Instead of observeAsCallback, since isAllowed is a flow now. Bug: 322916468 Test: manual - on Toggle Permission page and switch between apps Test: unit test Change-Id: Ic33a7d6cd7c71c7cf6cd4a6e353505fa12cf0046