Make ag/18284930 work on Wear OS
ag/18284930 assumes both user_setup_complete and
user_setup_personalization_state is always present, which may not be the
case in non-phone form factors (e.g. Wear OS does not set
user_setup_personalization_state, as it does not support deferred setup).
This check should still work if only one or the other is present.
Bug: 343281256
Test: atest FrameworksServicesTests:LegacyPermissionManagerServiceTest
Change-Id: Icb69c11efda253e2b3cc0d0563275cbbdc01fd36
2 files changed