Skip to content

Commit 59a6730

Browse files
committed
Add missing voice navigation params getters
1 parent 5139409 commit 59a6730

File tree

3 files changed

+17
-1
lines changed

3 files changed

+17
-1
lines changed

OsmAnd-api/build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
22
apply plugin: 'com.github.dcendents.android-maven'
33

44
group = 'com.github.osmandapp'
5-
version = '2.0.1'
5+
version = '2.0.0'
66

77
android {
88
compileSdkVersion 27

OsmAnd-api/src/net/osmand/aidlapi/navigation/OnVoiceNavigationParams.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,14 @@ public OnVoiceNavigationParams[] newArray(int size) {
4242
}
4343
};
4444

45+
public List<String> getCommands() {
46+
return cmds;
47+
}
48+
49+
public List<String> getPlayed() {
50+
return played;
51+
}
52+
4553
@Override
4654
public void writeToBundle(Bundle bundle) {
4755
bundle.putStringArrayList("cmds", cmds);

OsmAnd/src/net/osmand/aidl/navigation/OnVoiceNavigationParams.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,14 @@ public OnVoiceNavigationParams[] newArray(int size) {
3737
}
3838
};
3939

40+
public List<String> getCommands() {
41+
return cmds;
42+
}
43+
44+
public List<String> getPlayed() {
45+
return played;
46+
}
47+
4048
@Override
4149
public void writeToParcel(Parcel out, int flags) {
4250
out.writeStringList(cmds);

0 commit comments

Comments
 (0)