File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
demo/src/main/java/com/google/maps/android/utils/demo Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change 1616
1717package com .google .maps .android .utils .demo ;
1818
19- import static com .google .maps .android .utils .demo .ApiKeyValidatorKt .hasMapsApiKey ;
20-
2119import android .app .Activity ;
2220import android .content .Intent ;
2321import android .os .Bundle ;
2422import android .view .View ;
2523import android .view .ViewGroup ;
2624import android .widget .Button ;
27- import android .widget .Toast ;
2825
2926import androidx .appcompat .app .AppCompatActivity ;
3027
@@ -35,11 +32,6 @@ public class MainActivity extends AppCompatActivity implements View.OnClickListe
3532 protected void onCreate (Bundle savedInstanceState ) {
3633 super .onCreate (savedInstanceState );
3734
38- if (!hasMapsApiKey (this )) {
39- Toast .makeText (this , R .string .bad_maps_api_key , Toast .LENGTH_LONG ).show ();
40- finish ();
41- }
42-
4335 setContentView (R .layout .main );
4436
4537 mListView = findViewById (R .id .list );
You can’t perform that action at this time.
0 commit comments