Skip to content

Commit

Permalink
Fix the Android source files (#46)
Browse files Browse the repository at this point in the history
* Add new resource file, and import missing class

Adds the new RouteListComparer file to the source file list for the plugin, and imports the missing Collections class in Chromecast.java.

* Revise version number for new tag
  • Loading branch information
anthonylavado committed Sep 16, 2019
1 parent 783a8cd commit 3ff77a5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
3 changes: 2 additions & 1 deletion plugin.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<plugin xmlns="http://phonegap.com/ns/plugins/1.0"
xmlns:android="http://schemas.android.com/apk/res/android"
id="cordova-plugin-chromecast"
version="0.0.1">
version="0.1.1">
<engines>
<engine name="cordova" version=">=3.4.0" />
</engines>
Expand Down Expand Up @@ -48,6 +48,7 @@
<source-file src="src/android/ChromecastOnSessionUpdatedListener.java" target-dir="src/acidhax/cordova/chromecast" />
<source-file src="src/android/ChromecastException.java" target-dir="src/acidhax/cordova/chromecast" />
<source-file src="src/android/ChromecastUtilities.java" target-dir="src/acidhax/cordova/chromecast" />
<source-file src="src/android/RouteListComparer.java" target-dir="src/acidhax/cordova/chromecast" />
</platform>

<platform name="ios">
Expand Down
1 change: 1 addition & 0 deletions src/android/Chromecast.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import java.util.List;
import java.util.ArrayList;
import java.util.Comparator;
import java.util.Collections;

import com.google.android.gms.cast.CastDevice;
import com.google.android.gms.cast.CastMediaControlIntent;
Expand Down

0 comments on commit 3ff77a5

Please sign in to comment.