Write app ops access data into sqlite
App op access data is primarily an audit data and is written only once, the data is never updated. however, we keep truncating the old data. The current architecture of discrete & historical registry is pretty complex and the xml as persistence layer has caused deeply nested classes. With Sqlite we are trying to make app ops audit data more debugable, robust and simplifying the code. Bug: 377584611 Test: atest DiscreteAppOpSqlPersistenceTest DiscreteAppOpXmlPersistenceTest FLAG: android.permission.flags.enable_sqlite_appops_accesses Change-Id: Id63fa8f0c15bc33c90c5411b6594b6d593d9d76c
Loading
Please register or sign in to comment