Add missing voice navigation params getters
This commit is contained in:
parent
5139409b95
commit
59a673031f
3 changed files with 17 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue