vtm-app: fix location layer
This commit is contained in:
parent
f6dbeba3d8
commit
1133edb83d
@ -33,6 +33,7 @@ class LocationLayerImpl extends LocationLayer {
|
||||
public void setEnabled(boolean enabled) {
|
||||
super.setEnabled(enabled);
|
||||
|
||||
mCompass.setEnabled(enabled);
|
||||
if (mCompass != null)
|
||||
mCompass.setEnabled(enabled);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user