mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-02-20 11:18:21 +00:00
Fix accent color extraction on OOS 9.5+
This commit is contained in:
@@ -857,8 +857,11 @@ public final class Utilities {
|
||||
}
|
||||
|
||||
public static Boolean isOnePlusStock() {
|
||||
return !TextUtils.isEmpty(getSystemProperty("ro.oxygen.version", "")) || !TextUtils
|
||||
.isEmpty(getSystemProperty("ro.hydrogen.version", ""));
|
||||
return !TextUtils.isEmpty(getSystemProperty("ro.oxygen.version", ""))
|
||||
|| !TextUtils.isEmpty(getSystemProperty("ro.hydrogen.version", ""))
|
||||
// ro.{oxygen|hydrogen}.version has been removed from the 7 series onwards
|
||||
|| getSystemProperty("ro.rom.version", "").contains("Oxygen OS")
|
||||
|| getSystemProperty("ro.rom.version", "").contains("Hydrogen OS");
|
||||
}
|
||||
|
||||
public static Boolean isMiui(){
|
||||
|
||||
Reference in New Issue
Block a user