Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit c869403b authored by Fabian Kozynski's avatar Fabian Kozynski
Browse files

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
parent e04531c8
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment