Permalink
Browse files

Prey version is now taken from @strings.

  • Loading branch information...
1 parent 98de17e commit 9da3404ae78edd7d104b6cf2d4690cdaf5a69f14 Carlos Yaconi H committed Aug 14, 2012
Showing with 6 additions and 9 deletions.
  1. +3 −4 AndroidManifest.xml
  2. +1 −1 res/values/strings.xml
  3. +1 −3 src/com/prey/FileConfigReader.java
  4. +1 −1 src/com/prey/PreyConfig.java
View
@@ -9,11 +9,11 @@
package="com.prey"
android:installLocation="internalOnly"
android:versionCode="35"
- android:versionName="0.5" >
+ android:versionName="@string/prey_version" >
<uses-sdk
- android:minSdkVersion="5"
- android:targetSdkVersion="13" />
+ android:minSdkVersion="4"
+ android:targetSdkVersion="16" />
<!-- Only this application can receive the messages and registration result -->
<permission
@@ -65,7 +65,6 @@
<application
android:name="com.prey.PreyApp"
- android:allowClearUserData="false"
android:icon="@drawable/logo"
android:label="@string/preyForAndroid_name"
android:theme="@style/PreyTheme" >
View
@@ -7,7 +7,7 @@
-->
<resources>
<string name="preyForAndroid_name">Prey</string>
- <string name="preferences_about_summary">Version 0.5.3 - © Fork Ltd.</string>
+ <string name="prey_version">0.5.5</string>
<!-- commons -->
<string name="yes">Yes</string>
<string name="no">No</string>
@@ -64,9 +64,7 @@ public String getPreyDomain(){
public String getPreySubdomain(){
return properties.getProperty("prey-subdomain");
}
- public String getPreyVersion(){
- return properties.getProperty("prey-version");
- }
+
public String getPreyMinorVersion(){
return properties.getProperty("prey-minor-version");
}
@@ -452,7 +452,7 @@ public boolean isCupcake() {
}
public String getPreyVersion() {
- return FileConfigReader.getInstance(this.ctx).getPreyVersion();
+ return this.ctx.getString(R.string.prey_version);
}
public String getPreyMinorVersion() {

0 comments on commit 9da3404

Please sign in to comment.