forked from organicmaps/organicmaps
[android] fix: Rename 3D params class.
This commit is contained in:
parent
89081467b3
commit
126ade0d8d
2 changed files with 3 additions and 3 deletions
|
@ -48,7 +48,7 @@ public class Framework
|
|||
void onRouteBuildingProgress(float progress);
|
||||
}
|
||||
|
||||
public static class _3dModeParams
|
||||
public static class Params3dMode
|
||||
{
|
||||
public boolean enabled;
|
||||
public boolean buildings;
|
||||
|
@ -184,7 +184,7 @@ public class Framework
|
|||
|
||||
public native static void nativeDeregisterMaps();
|
||||
|
||||
public native static void nativeGet3dMode(_3dModeParams result);
|
||||
public native static void nativeGet3dMode(Params3dMode result);
|
||||
|
||||
public native static void nativeSet3dMode(boolean allow3d, boolean allow3dBuildings);
|
||||
}
|
||||
|
|
|
@ -153,7 +153,7 @@ public class RoutePrefsFragment extends PreferenceFragment
|
|||
mPrefLanguages = (ListPreference) findPreference(getString(R.string.pref_tts_language));
|
||||
update();
|
||||
|
||||
Framework._3dModeParams _3d = new Framework._3dModeParams();
|
||||
Framework.Params3dMode _3d = new Framework.Params3dMode();
|
||||
Framework.nativeGet3dMode(_3d);
|
||||
|
||||
final TwoStatePreference pref3d = (TwoStatePreference)findPreference(getString(R.string.pref_3d));
|
||||
|
|
Loading…
Add table
Reference in a new issue