Skip to content

Commit

Permalink
Use new entry point (since 3.3)
Browse files Browse the repository at this point in the history
  • Loading branch information
TWiStErRob committed Mar 20, 2024
1 parent d461a80 commit 7cea26e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ public class RangeMapActivity extends MapActivity {
Injector.from(this).inject(this);
drawConfig = new RangeMapDrawerConfig(new LineColors(staticData.getLineColors()));
String apiKey = getApplicationInfoWithMetadata(this).metaData.getString("com.google.android.geo.API_KEY");
Places.initialize(getApplicationContext(), apiKey);
Places.initializeWithNewPlacesApiEnabled(getApplicationContext(), apiKey);

setTranslucentStatusBar();
super.onCreate(savedInstanceState);
Expand Down

0 comments on commit 7cea26e

Please sign in to comment.