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

Commit d2212698 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fix always return first package for mock location app in developer options."

parents a93e78f7 d8d0cb35
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -165,7 +165,7 @@ public class MockLocationAppPreferenceController extends DeveloperOptionsPrefere
        if (packageOps != null) {
            for (AppOpsManager.PackageOps packageOp : packageOps) {
                if (packageOp.getOps().get(0).getMode() == AppOpsManager.MODE_ALLOWED) {
                    return packageOps.get(0).getPackageName();
                    return packageOp.getPackageName();
                }
            }
        }