build: allow MEDIA_PERFORMANCE_CLASS for R

This is now defined for R and up.

Bug: 186800737
Change-Id: I32774c7973f04cdf5271a285853b15195205c704
This commit is contained in:
Lajos Molnar
2021-04-29 16:37:27 -07:00
parent 3a1e0aa142
commit d8ae2f19a1

View File

@@ -311,7 +311,7 @@ public class Build {
* booted, but it may increase when the hardware manufacturer provides an OTA update.
* <p>
* Possible non-zero values are defined in {@link Build.VERSION_CODES} starting with
* {@link Build.VERSION_CODES#S}.
* {@link Build.VERSION_CODES#R}.
*/
public static final int MEDIA_PERFORMANCE_CLASS =
DeviceProperties.media_performance_class().orElse(0);