commit | a69db7de0381cf94816469dbf92673b7511547cb | [log] [tgz] |
---|---|---|
author | Junyu Lai <junyulai@google.com> | Tue May 24 23:41:05 2022 +0800 |
committer | Junyu Lai <junyulai@google.com> | Tue May 24 23:41:05 2022 +0800 |
tree | a5846cf314f474b632d2b8a46dc0925105d56bd2 | |
parent | ca55de9512a983a1e9a39537e1368fd63ee63b42 [diff] |
Fix crash when decrementing data usage request When unregistering, if the caller process is dead. The system can unregsiter for the caller. But the request decrement should be counted onto the caller uid instead of system uid. Ignore-AOSP-First: Urgent fix Test: NetworkStatsObserversTest#testUnregister_knownRequest_invalidUid_doesNotUnregister Bug: 233580307 Change-Id: I85aee8f395739929bc7086883ace81ac1ecd0730