commit | 99d5cb1b3e135d6de7830ec956cb8f9371b85963 | [log] [tgz] |
---|---|---|
author | Zak Cohen <zakcohen@google.com> | Mon Nov 11 10:34:45 2024 -0800 |
committer | Zak Cohen <zakcohen@google.com> | Mon Nov 11 20:50:48 2024 +0000 |
tree | 3b29d54bcd576ed91b4fcf223016e464f639911a | |
parent | 575fff61bf65994bab1b74630d7a6e302750553b [diff] |
Address uses of USER_SYSTEM in AppWidgetService. AppwidgetServiceImpl has some code that uses USER_SYSTEM as a proxy for the main user of a device. In HSUM mode this breaks. Change the backup an restore user to use getMainUser instead. Document that the other two uses explicitly refer to the system user. Bug: 378507338 Test: AppWidgetServiceImplTest Flag: EXEMPT bug fix Change-Id: I1bac66711a37f604bc46656e2382faa39eaa1abd