commit | 9d588d2cf22830009183b416b531d5ca4e910757 | [log] [tgz] |
---|---|---|
author | Muhammad Hasan Khan <mhasank@google.com> | Fri Dec 15 17:12:47 2023 -0800 |
committer | Muhammad Hasan Khan <mhasank@google.com> | Tue Dec 19 17:38:42 2023 +0000 |
tree | bd342d35b1f534c3d01e5aaacc734c75db87d374 | |
parent | 308771a0c4ab976f3a67ff3b564445bf46f21f95 [diff] |
arc: Add support for ARC demo mode in isDemoUser In ARC the system property ro.boot.arc_demo_mode is set in demo mode. Updating the isDemoUser API to account for that so apps can behave as expected. Bug: 301629078 Test: atest UserManagerServiceDemoModeTest Test: run ARC in demo mode with this change and ensure Play Store is in demo mode BYPASS_INCLUSIVE_LANGUAGE_REASON=blocked term is part of an API Change-Id: I98c34e7138c6ccd958a49e239d53e5143e3d89b1