[Settings] fix Settings crash on App info for archived apps
For archived apps, isClearRestrictionAllowed (introduced in ag/26048774) can throw NameNotFoundException, which causes Settings app to crash if uncaught. This CL fixes that. Test: manual by archiving an app and then try to go to it's app info page BUG: 332397754 Change-Id: I49a39dba36261f36215f0389ffe41523e8a2f4e8
Loading
Please register or sign in to comment