Remove ILocationProvider.isEnabled() binder call and use cached value instead.
Change-Id: Id6a9f6d2e2f5cc5810a2beeb0f869f06e2d18860 Signed-off-by: Mike Lockwood <lockwood@android.com>
This commit is contained in:
@@ -95,10 +95,6 @@ public class MockProvider extends ILocationProvider.Stub {
|
||||
return mStatusUpdateTime;
|
||||
}
|
||||
|
||||
public boolean isEnabled() {
|
||||
return mEnabled;
|
||||
}
|
||||
|
||||
public int getAccuracy() {
|
||||
return mAccuracy;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user