mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +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) {
|
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());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue