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

Commit 0f79cfc4 authored by mrulhania's avatar mrulhania
Browse files

Fix typo from appops sqlite change

xml implementation uses AppOpsService instance as lock,
I accidently passed context in ag/30351026

Bug: 377584611
Test: atest DiscreteAppOpSqlPersistenceTest DiscreteAppOpXmlPersistenceTest
Flag: EXEMPT bug fix
Change-Id: I5c6edcefa8e8a7502bc1944f5820931a893e1441
parent e8ad98df
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -206,7 +206,7 @@ final class HistoricalRegistry {
        if (Flags.enableSqliteAppopsAccesses()) {
            mDiscreteRegistry = new DiscreteOpsSqlRegistry(context);
        } else {
            mDiscreteRegistry = new DiscreteOpsXmlRegistry(context);
            mDiscreteRegistry = new DiscreteOpsXmlRegistry(lock);
        }
    }