Skip to content

Commit

Permalink
Added support for Android Revolution HD
Browse files Browse the repository at this point in the history
  • Loading branch information
M66B committed Aug 18, 2014
1 parent 9ce352a commit 896c7d5
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ Version 2.99.x and version 3.x will be available with a [pro license](http://www
**Next release**

* Added parameter package name to *Srv_getPackageInfo* and *Srv_getApplicationInfo*
* Added support for [Android Revolution HD](http://forum.xda-developers.com/showthread.php?t=1925402)
* Updated French translation
* Updated German translation

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1143,6 +1143,7 @@ Nevertheless, the most sensitive data, like contacts and your location, can safe
* [Dirty Unicorns](http://www.teamdirt.me/)
* [Liquid Smooth](http://liquidsmooth.net/)
* [Paranoid Android](http://paranoidandroid.co/)
* [Android Revolution HD](http://forum.xda-developers.com/showthread.php?t=1925402)
* Compatibility mode = all other Android versions/variants

*About* will show if XPrivacy 3 is running in compatibility mode, which means XPrivacy 3 is behaving as XPrivay 2.
Expand Down
6 changes: 5 additions & 1 deletion src/biz/bokhorst/xprivacy/Hook.java
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public static boolean isAOSP(int sdk) {
if (Build.DISPLAY == null || Build.HOST == null)
return false;
return (isAOSP() || isCyanogenMod() || isOmni() || isMIUI() || isSlim() || isParanoidAndroid()
|| isCarbon() || isDirtyUnicorns() || isLiquidSmooth());
|| isCarbon() || isDirtyUnicorns() || isLiquidSmooth() || isAndroidRevolutionHD());
} else
return false;
}
Expand Down Expand Up @@ -194,6 +194,10 @@ public static boolean isLiquidSmooth() {
return Build.DISPLAY.startsWith("liquid_");
}

public static boolean isAndroidRevolutionHD() {
return Build.DISPLAY.startsWith("Android Revolution HD");
}

public Version getFrom() {
return mFrom;
}
Expand Down

0 comments on commit 896c7d5

Please sign in to comment.