commit | 0ec4a2d02e95685d0e889cbd8cf96db08ec87b54 | [log] [tgz] |
---|---|---|
author | George Lin <giolin@google.com> | Tue Jan 17 05:05:21 2023 +0000 |
committer | George Lin <giolin@google.com> | Thu Jan 19 11:20:37 2023 +0000 |
tree | 9000ac8371200dbaa2d8e5a3b408a4f0ae52eb84 | |
parent | dea718c88696fcda9eac25f0702532f227b774d4 [diff] |
[TP] Fix b/265245824 Avoid creation of ClockRegistry when not needed We have permission issue creatring ClockRegistry for people who are not eligible for custom clocks. We avoid creating the ClockSectionViewmodel, and ClockRegistry to avoid the unexpected permission issue. Test: Manually tested that there is no crash Bug: 265245824 Change-Id: I09cdaea786f44b9ed6a439319384375f071a8808