File changed.
Preview size limit exceeded, changes collapsed.
+1174
−0
File added.
Preview size limit exceeded, changes collapsed.
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Introduced AccountsDb class and moved all DB-accessing methods there. The methods are organized by the database: - DeDatabaseHelper - provides access to accounts_de data - CeDatabaseHelper - access to accounts_ce - PreNDatabaseHelper - migration logic from a pre-N single database to two databases in N - DebugDbHelper - debug table + helper methods Notable improvements: - logRecord methods no longer opens SQLiteDatabase (it was actually unused down in the call chain) - Clean separation between business and persistence logic - no more sql statements concatenation in the AMS code. Test: Refactoring CL. Bug: 30639520 Change-Id: I41bd1abe47a23efbc735344413f32cbb68a5c8af
File changed.
Preview size limit exceeded, changes collapsed.
File added.
Preview size limit exceeded, changes collapsed.