[android] - use double to restore instance state of MyLocationView (#7146)

This commit is contained in:
Tobrun
2016-11-22 19:23:20 +01:00
committed by GitHub
parent ba2e44d4d7
commit 5877d786e1

View File

@@ -401,7 +401,7 @@ public class MyLocationView extends View {
public void onRestoreInstanceState(Parcelable state) {
if (state instanceof Bundle) {
Bundle bundle = (Bundle) state;
tilt = bundle.getFloat("tilt");
tilt = bundle.getDouble("tilt");
state = bundle.getParcelable("superState");
}
super.onRestoreInstanceState(state);