| commit | dc5e10e3ccd2b536b08dfe81481c743ddb75b044 | [log] [tgz] |
|---|---|---|
| author | Becca Hughes <beccahughes@google.com> | Fri Sep 08 14:08:04 2023 -0700 |
| committer | Becca Hughes <beccahughes@google.com> | Tue Sep 12 19:45:50 2023 +0000 |
| tree | 9c80c88f69c8cac0bdf959081ed5f2c866d23a10 | |
| parent | 369b3f3ef9e5affa21c68f2d8e22c5efcca1754a [diff] |
Add a couple of guards to make sure crash doesn't happen This adds two guards, first checking when the provider list is generated to stop and flag an warning, second to have PackageMonitor use a handler so callbacks should only happen on the thread that the fragment is running on and if that is no longer available it won't do anything. Test: ondevice Bug: 296164461 Change-Id: Iab03f8a10e667694e2e23da7574831f9ea5c38e2