diff options
| author | 2024-12-10 13:44:45 +0000 | |
|---|---|---|
| committer | 2024-12-10 13:44:45 +0000 | |
| commit | 060674a4cb8e164d40f66af558195f4a06de89d1 (patch) | |
| tree | 4b24c18f2ea8f8255b8e3981f63a4258807d3e25 | |
| parent | cfefeced5d4b6c8add6559cea00a07e24f769235 (diff) | |
| parent | 88ef4abee95e71dde99583b570164be681a29cb8 (diff) | |
Merge "Update onSecureWindowHidden docs" into main
| -rw-r--r-- | core/java/android/companion/virtual/VirtualDeviceManager.java | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/core/java/android/companion/virtual/VirtualDeviceManager.java b/core/java/android/companion/virtual/VirtualDeviceManager.java index b3f09a98d623..ed2fd99c55c5 100644 --- a/core/java/android/companion/virtual/VirtualDeviceManager.java +++ b/core/java/android/companion/virtual/VirtualDeviceManager.java @@ -1290,7 +1290,11 @@ public final class VirtualDeviceManager { @NonNull UserHandle user) {} /** - * Called when a window with a secure surface is no longer shown on the device. + * Called when there is no longer any window with a secure surface shown on the device. + * + * <p>This is only called once there are no more secure windows shown on the device. If + * there are multiple secure windows shown on the device, this callback will be called only + * once all of them are hidden.</p> * * @param displayId The display ID on which the window was shown before. * |