[android] Fix leaked window in test app's BulkMarkerActivity. (#15597)

This commit is contained in:
Peng Liu
2019-09-10 19:00:31 +03:00
committed by GitHub
parent 151ea331f8
commit 208f82fbe2

View File

@@ -151,6 +151,9 @@ public class BulkMarkerActivity extends AppCompatActivity implements AdapterView
@Override
protected void onDestroy() {
super.onDestroy();
if (progressDialog != null) {
progressDialog.dismiss();
}
mapView.onDestroy();
}