Merge "Fix security issue for using mock location without permission." into qt-qpr1-dev am: 0b76ef19b5
Change-Id: I95009001d7d007d8a509e6a6f6f9f213b48623a9
This commit is contained in:
@@ -86,6 +86,12 @@ public class MockLocationAppPreferenceController extends DeveloperOptionsPrefere
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onDeveloperOptionsDisabled() {
|
||||
super.onDeveloperOptionsDisabled();
|
||||
removeAllMockLocations();
|
||||
}
|
||||
|
||||
private void updateMockLocation() {
|
||||
final String mockLocationApp = getCurrentMockLocationApp();
|
||||
|
||||
|
Reference in New Issue
Block a user