Browse Source

Merge tag 'Kneet-v3-013-10' into develop

Add doorlock made by Yale.
aaron 8 years ago
parent
commit
eaaa269558

+ 1 - 1
kneet_v3/build.gradle

@@ -14,7 +14,7 @@ android {
         targetSdkVersion 22
         multiDexEnabled true
         versionCode 10
-        versionName "0.1.4"
+        versionName "0.1.3"
     }
 
     /*productFlavors {

+ 2 - 2
kneet_v3/src/main/java/com/ntels/kneet/v3/view/mainmore/Setting.java

@@ -273,13 +273,13 @@ public class Setting extends CustomActionBarActivity implements View.OnClickList
       case R.id.llGotoService:
         intent = new Intent(Intent.ACTION_VIEW);
         intent.addCategory(Intent.CATEGORY_DEFAULT);
-        intent.setData(Uri.parse("http://home-api.allofthings.com/guide/20001/service"));
+        intent.setData(Uri.parse(appConfig.getUrl() + "/guide/" + appConfig.getService_Id() + "/service"));
         startActivity(intent);
         break;
       case R.id.llGotoPolicy:
         intent = new Intent(Intent.ACTION_VIEW);
         intent.addCategory(Intent.CATEGORY_DEFAULT);
-        intent.setData(Uri.parse("http://home-api.allofthings.com/guide/20001/policy"));
+        intent.setData(Uri.parse(appConfig.getUrl() + "/guide/" + appConfig.getService_Id() + "/policy"));
         startActivity(intent);
         break;
       case R.id.btnWithdrawal: