commit | 2c7f06e9b3a3542710ca210a3a77a30589637850 | [log] [tgz] |
---|---|---|
author | Kuan Wang <clairewang@google.com> | Mon Dec 19 14:54:50 2022 +0800 |
committer | Kuan Wang <clairewang@google.com> | Wed Dec 21 02:39:23 2022 +0000 |
tree | 2ec6e3931ea3987c3f3a99b4bdb0f0244c939f9e | |
parent | a1a7cba6a6c1961925a7f1e1fa7c5a3cd39c25ed [diff] |
Use taskRootPackageName instead of packageName to load uid when usage resource is USAGE_SOURCE_TASK_ROOT_ACTIVITY and taskRootPackageName is not empty. This logic is consistent with digital wellbeing: assign the screen-on time onto task root activity when usage resource is USAGE_SOURCE_TASK_ROOT_ACTIVITY. Bug: 260964679 Test: make RunSettingsRoboTests + manual Change-Id: I4c7ed342d8c00951879f5826bf79575f330ce86e