Derestrict mSurfaceTexture, mProducer.

Usage has been discovered by an app so reverting this to its previous
state. This is conceptually a partial revert of change 5d123b6775.

NoNonSdkCheck: b/170729553

Bug: 176388660
Test: m
Change-Id: I4399e4d431f8a443343de312e131fbf86d0f60b5
This commit is contained in:
Mathew Inwood
2021-01-06 09:40:35 +00:00
parent 281c972290
commit cc42f71234

View File

@@ -76,9 +76,9 @@ public class SurfaceTexture {
/**
* These fields are used by native code, do not access or modify.
*/
@UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.R, trackingBug = 170729553)
@UnsupportedAppUsage(trackingBug = 176388660)
private long mSurfaceTexture;
@UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.R, trackingBug = 170729553)
@UnsupportedAppUsage(trackingBug = 176388660)
private long mProducer;
@UnsupportedAppUsage(maxTargetSdk = Build.VERSION_CODES.R, trackingBug = 170729553)
private long mFrameAvailableListener;