+1
−1
File changed.
Preview size limit exceeded, changes collapsed.
+12
−0
Loading
Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more
The LocationAccessCheck code is used by a jobservice but also by other callers. Before the LocationAccessCheck code contained static methods that could be used by these other callers. This made the code quite ugly. This change turns the logic around. Now LocationAccessCheck is an independent object and the LocationAccessCheckJobService (and other callers) just create one of these object and call the methods on it. Test: atest --test-mapping packages/apps/PermissionController/src/com/android/packageinstaller/permission/service:presubmit Change-Id: I9912cf554c1910f96715c77d34a3990a626a1ea9
File changed.
Preview size limit exceeded, changes collapsed.