diff options
| author | 2024-12-16 15:51:54 +0100 | |
|---|---|---|
| committer | 2024-12-17 01:08:12 -0800 | |
| commit | 6653bb7e55186f59e0a945126e65b79fdb047510 (patch) | |
| tree | 4207ff8efead9f41894f3b2cb80c0a133db9296d /libs/androidfw/AssetsProvider.cpp | |
| parent | 91f651e50b0e68df7bd045b9f797abe9da3e1b0b (diff) | |
Fix userId for NotificationAssistantsTest tests
Use ActivityManager.getCurrentUser instead of hardcoded userId '0'
Fixes test failure when running on HSUM devices.
Flag: EXEMPT bugfix
Test: atest com.android.server.notification.NotificationAssistantsTest#testReadXml_userDisabled_restore
Bug: 383072625
Change-Id: I44be813dc69ea9ceb8d60913f211e98931f1be78
Diffstat (limited to 'libs/androidfw/AssetsProvider.cpp')
0 files changed, 0 insertions, 0 deletions