From 88ef4abee95e71dde99583b570164be681a29cb8 Mon Sep 17 00:00:00 2001 From: Vladimir Komsiyski Date: Thu, 5 Dec 2024 10:05:50 +0000 Subject: Update onSecureWindowHidden docs Change-Id: I9e916a6319b8d0922ba4dd477a967f04881c1a9a Fix: 364735778 Test: n/a Flag: EXEMPT docs only --- core/java/android/companion/virtual/VirtualDeviceManager.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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. + * + *

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.

* * @param displayId The display ID on which the window was shown before. * -- cgit v1.2.3-59-g8ed1b