diff options
| author | 2022-08-04 09:37:39 -0400 | |
|---|---|---|
| committer | 2022-08-04 10:55:21 -0400 | |
| commit | c869403b45613c9da91ec40449ec652d3091cab8 (patch) | |
| tree | e3e38687df46b6458e0d22bb8b8408d0ad4940ac /libs/androidfw/ResourceTimer.cpp | |
| parent | e04531c84ad4ce7af669593a92ba7d1a7e424db9 (diff) | |
Add a FakeSharedPreferences for testing
* apply and commit both act in the same way, applying the contents of
the Editor synchronously
* data is stored in memory in the instance
* listeners are dispatched synchronously on the same thread that calls
apply/commit
Test: atest FakeSharedPreferencesTest
Bug: 180126509
Change-Id: Ie443f6269a9aa6d699631d8524bfa9fe6b3474e4
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions