Osmo service pass a version
This commit is contained in:
parent
c893eddcf1
commit
8a60469a8b
1 changed files with 1 additions and 0 deletions
|
@ -248,6 +248,7 @@ public class OsMoService implements OsMoReactor {
|
||||||
try {
|
try {
|
||||||
// Add your data
|
// Add your data
|
||||||
List<NameValuePair> nameValuePairs = new ArrayList<NameValuePair>(2);
|
List<NameValuePair> nameValuePairs = new ArrayList<NameValuePair>(2);
|
||||||
|
nameValuePairs.add(new BasicNameValuePair("app", Version.getFullVersion(app)));
|
||||||
nameValuePairs.add(new BasicNameValuePair("key", deviceKey));
|
nameValuePairs.add(new BasicNameValuePair("key", deviceKey));
|
||||||
if(app.getSettings().OSMO_USER_PWD.get() != null) {
|
if(app.getSettings().OSMO_USER_PWD.get() != null) {
|
||||||
nameValuePairs.add(new BasicNameValuePair("auth", app.getSettings().OSMO_USER_PWD.get()));
|
nameValuePairs.add(new BasicNameValuePair("auth", app.getSettings().OSMO_USER_PWD.get()));
|
||||||
|
|
Loading…
Reference in a new issue