summaryrefslogtreecommitdiff
path: root/core/java/android/util/SparseArrayMap.java
diff options
context:
space:
mode:
authorLee Shombert <shombert@google.com>2022-01-04 08:10:15 -0800
committerLee Shombert <shombert@google.com>2022-01-04 08:13:59 -0800
commit0cece3898b0f26b0fb026415d4c8f928d16296a3 (patch)
tree29d8f98338e466d5a846a9235f2c4d7e1fb20988 /core/java/android/util/SparseArrayMap.java
parent6ba962a93fbdc6a277b273b116fb58b5635a1d2b (diff)
Prepare PropertyInvalidatedCache for SystemApi
Bug: 152453213 Tag: #refactor This commit prepares PropertyInvalidatedCache to function as a system api. Specifically, the methods recompute() and bypass() which may be overridden by clients are now public (instead of protected). This forces an update to all existing clients, to accommodate the change in method visibility. Two small changes have been made as cleanup: 1. The awkwardly named debugCompareQueryResults() is now resultEquals(), which is more or less consistent with how other equality tests are named in Android. This name change affects two clients. 2. PackageManager has changed to use resultEquals() instead of maybeCheckConsistency(). This provides a simpler and more consistent use of the APIs. maybeCheckConsistency() has been made private. Test: atest PropertyInvalidatedCacheTests Change-Id: I4110f8e887a4fd8c784141e8892557a9d1b80a94
Diffstat (limited to 'core/java/android/util/SparseArrayMap.java')
0 files changed, 0 insertions, 0 deletions