Add missing voice navigation params getters

This commit is contained in:
Chumva 2019-10-14 14:00:07 +03:00
parent 5139409b95
commit 59a673031f
3 changed files with 17 additions and 1 deletions

View file

@ -2,7 +2,7 @@ apply plugin: 'com.android.library'
apply plugin: 'com.github.dcendents.android-maven'
group = 'com.github.osmandapp'
version = '2.0.1'
version = '2.0.0'
android {
compileSdkVersion 27

View file

@ -42,6 +42,14 @@ public class OnVoiceNavigationParams extends AidlParams {
}
};
public List<String> getCommands() {
return cmds;
}
public List<String> getPlayed() {
return played;
}
@Override
public void writeToBundle(Bundle bundle) {
bundle.putStringArrayList("cmds", cmds);

View file

@ -37,6 +37,14 @@ public class OnVoiceNavigationParams implements Parcelable {
}
};
public List<String> getCommands() {
return cmds;
}
public List<String> getPlayed() {
return played;
}
@Override
public void writeToParcel(Parcel out, int flags) {
out.writeStringList(cmds);