Commit 1829d71d by Oliver Woodman

Restrict usage of secure DummySurface for all Samsung devices.

parent 730d2dd1
...@@ -154,7 +154,7 @@ public final class DummySurface extends Surface { ...@@ -154,7 +154,7 @@ public final class DummySurface extends Surface {
*/ */
private static boolean deviceNeedsSecureDummySurfaceWorkaround(Context context) { private static boolean deviceNeedsSecureDummySurfaceWorkaround(Context context) {
return Util.SDK_INT == 24 return Util.SDK_INT == 24
&& (Util.MODEL.startsWith("SM-G950") || Util.MODEL.startsWith("SM-G955")) && "samsung".equals(Util.MANUFACTURER)
&& !hasVrModeHighPerformanceSystemFeatureV24(context.getPackageManager()); && !hasVrModeHighPerformanceSystemFeatureV24(context.getPackageManager());
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment