Skip to content
This repository has been archived by the owner on Sep 10, 2021. It is now read-only.

Commit

Permalink
fix get version in info classes and add cache and superuser permissio…
Browse files Browse the repository at this point in the history
…ns to manifest
  • Loading branch information
vetruvet committed Aug 13, 2014
1 parent 75c685d commit 1966e60
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions app/src/main/AndroidManifest.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@
<uses-permission android:name="com.otaupdater.permission.C2D_MESSAGE" />
<uses-permission android:name="com.google.android.c2dm.permission.RECEIVE" />
<uses-permission android:name="com.android.vending.BILLING" />
<uses-permission android:name="android.permission.ACCESS_CACHE_FILESYSTEM" />
<uses-permission android:name="android.permission.ACCESS_SUPERUSER" />

<application
android:icon="@drawable/ic_launcher"
Expand Down
2 changes: 1 addition & 1 deletion app/src/main/java/com/otaupdater/utils/KernelInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,6 @@ protected Date getPropDate() {

@Override
protected String getPropVersion() {
return PropUtils.getKernelVersion();
return PropUtils.getKernelOtaVersion();
}
}
2 changes: 1 addition & 1 deletion app/src/main/java/com/otaupdater/utils/RomInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,6 @@ protected Date getPropDate() {

@Override
protected String getPropVersion() {
return PropUtils.getRomVersion();
return PropUtils.getRomOtaVersion();
}
}

0 comments on commit 1966e60

Please sign in to comment.