+23
−0
+23
−0
+23
−0
File changed.
Preview size limit exceeded, changes collapsed.
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
Modified SQLiteDatabase to allow passing lookaside configuration to its static initializer. Encapsulated config in OpenParams and added an overloaded version of openDatabase with the new parameter. Configuration is changed in SQLiteConnection::nativeOpen, immediately after opening the database since lookaside memory configuration can only be changed when no connection is using it. Added SQLiteOpenHelper.setLookasideConfig method that is called from the constructor of the subclass. Test: bit FrameworksCoreTests:android.database.DatabaseGeneralTest Test: bit FrameworksCoreTests:android.database.SQLiteOpenHelperTest Bug: 38499845 Change-Id: Ifb761229b43c89c090939030fc25b8c480b9b9e2
File changed.
Preview size limit exceeded, changes collapsed.