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'
|
apply plugin: 'com.github.dcendents.android-maven'
|
||||||
|
|
||||||
group = 'com.github.osmandapp'
|
group = 'com.github.osmandapp'
|
||||||
version = '2.0.1'
|
version = '2.0.0'
|
||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 27
|
compileSdkVersion 27
|
||||||
|
|
|
@ -42,6 +42,14 @@ public class OnVoiceNavigationParams extends AidlParams {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
public List<String> getCommands() {
|
||||||
|
return cmds;
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<String> getPlayed() {
|
||||||
|
return played;
|
||||||
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void writeToBundle(Bundle bundle) {
|
public void writeToBundle(Bundle bundle) {
|
||||||
bundle.putStringArrayList("cmds", cmds);
|
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
|
@Override
|
||||||
public void writeToParcel(Parcel out, int flags) {
|
public void writeToParcel(Parcel out, int flags) {
|
||||||
out.writeStringList(cmds);
|
out.writeStringList(cmds);
|
||||||
|
|
Loading…
Reference in a new issue