mirror of
https://github.com/samsonjs/media.git
synced 2026-03-27 09:45:47 +00:00
Restrict usage of secure DummySurface for all Samsung devices.
This commit is contained in:
parent
730d2dd18f
commit
1829d71d29
1 changed files with 1 additions and 1 deletions
|
|
@ -154,7 +154,7 @@ public final class DummySurface extends Surface {
|
|||
*/
|
||||
private static boolean deviceNeedsSecureDummySurfaceWorkaround(Context context) {
|
||||
return Util.SDK_INT == 24
|
||||
&& (Util.MODEL.startsWith("SM-G950") || Util.MODEL.startsWith("SM-G955"))
|
||||
&& "samsung".equals(Util.MANUFACTURER)
|
||||
&& !hasVrModeHighPerformanceSystemFeatureV24(context.getPackageManager());
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue