Skip to content
This repository has been archived by the owner on Aug 26, 2019. It is now read-only.

Commit

Permalink
add oppo 5.0+ permission apply
Browse files Browse the repository at this point in the history
  • Loading branch information
jokermonn committed Sep 13, 2017
1 parent 0686191 commit c59b987
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,8 @@ public static boolean isMEIZU() {
* @return
*/
public static boolean isForceManufacturer() {
return (getManufacturer().equalsIgnoreCase(MANUFACTURER_MEIZU) || getManufacturer()
.equalsIgnoreCase(MANUFACTURER_XIAOMI));
return getManufacturer().equalsIgnoreCase(MANUFACTURER_MEIZU) || getManufacturer()
.equalsIgnoreCase(MANUFACTURER_XIAOMI);
}

/**
Expand All @@ -89,8 +89,8 @@ public static boolean isForceManufacturer() {
* @return
*/
public static boolean isUnderMHasPermissionRequestManufacturer() {
return (getManufacturer().equalsIgnoreCase(MANUFACTURER_MEIZU) || getManufacturer()
.equalsIgnoreCase(MANUFACTURER_XIAOMI));
return getManufacturer().equalsIgnoreCase(MANUFACTURER_MEIZU) || getManufacturer()
.equalsIgnoreCase(MANUFACTURER_XIAOMI) || getManufacturer().equals(MANUFACTURER_OPPO);
}

/**
Expand Down

0 comments on commit c59b987

Please sign in to comment.