commit | a1970dafa143f4192bcaf3a44a54e06d653a5780 | [log] [tgz] |
---|---|---|
author | Junyu Lai <junyulai@google.com> | Tue May 24 23:41:05 2022 +0800 |
committer | Junyu Lai <junyulai@google.com> | Fri May 27 09:50:52 2022 +0000 |
tree | 5b576ba2b875fab0d84a32e0a26964f315596224 | |
parent | 85cc09b6b4041a469f4e8c825067f7561529998d [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. Test: NetworkStatsObserversTest#testUnregister_knownRequest_invalidUid_doesNotUnregister Bug: 233580307 Change-Id: I85aee8f395739929bc7086883ace81ac1ecd0730 Merged-In: I85aee8f395739929bc7086883ace81ac1ecd0730 (pure cherry-picked from ag/18579047)