commit | 6a5d10025192224322734e7fcb7f7c8e9fe2e331 | [log] [tgz] |
---|---|---|
author | Wenhui Yang <wenhuiy@google.com> | Tue Oct 08 03:22:56 2024 +0000 |
committer | Wenhui Yang <wenhuiy@google.com> | Fri Oct 18 22:21:29 2024 +0000 |
tree | d367407bb70181533e5f0e95f2784c6f687c3b32 | |
parent | f8484f6041a65abb0ae18e8f8496320c32524834 [diff] |
Introduce getChildSurfacePackage() and clearChildSurfacePackage() Add a way to determine whether there’s embedded content inside a SurfaceView with a SurfacePackage. setChildSurfacePackage absorbs RemoteException today, and we have no way to know whether the call succeeded. Adding such APIs improves testability. Bug: 341021569 Test: SurfaceViewTest Flag: android.view.flags.surface_view_get_surface_package Change-Id: I60d33cecf0c3ecb7a7595baa0e2010e78c23faca