commit | 25b7e158697af9dbb9efa2e3121e98768f8bcbab | [log] [tgz] |
---|---|---|
author | Songchun Fan <[email protected]> | Mon Mar 25 15:52:10 2024 -0700 |
committer | Song Chun Fan <[email protected]> | Tue Mar 26 17:27:41 2024 +0000 |
tree | c4df29b5a59acbd9815fec2c0c841a39c9d176d4 | |
parent | 1278501508a0f1dda6b56abb7d33ac4924bf594c [diff] |
[SettingsProvider] fix memory usage counting when owning packages change Previously, we didn't consider the case where a setting can be owned by package A, and then owned by package B. The memory usage counting for both packages should be updated accordingly. FIXES: 277595081 Test: atest com.android.providers.settings.SettingsStateTest Change-Id: I6eb5adc4ee571f88380ad2be8f40170e169db820