Skip to content

Commit

Permalink
Prevent crash at onStop
Browse files Browse the repository at this point in the history
Probably the bug of the Google Maps SDK for Android v3 beta
  • Loading branch information
wf9a5m75 authored Aug 17, 2020
1 parent de0bee2 commit 420e907
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/android/plugin/google/maps/PluginMap.java
Original file line number Diff line number Diff line change
Expand Up @@ -497,6 +497,11 @@ public void onCameraIdle() {
});
}

/*
//***************************************************************************
// Google Maps SDK for Android v3 beta causes crash for these processes.
// Tmporally commented out
//***************************************************************************
@Override
public void onStart() {
super.onStart();
Expand Down Expand Up @@ -531,6 +536,7 @@ public void onResume(boolean multitasking) {
}
//mapCtrl.mPluginLayout.addPluginOverlay(PluginMap.this);
}
*/

private class AdjustInitCamera implements Runnable {
private JSONObject mParams;
Expand Down

0 comments on commit 420e907

Please sign in to comment.