From f64de9c1783aad2b20b61f4a746f149a2fd6a231 Mon Sep 17 00:00:00 2001 From: Alex Johnston Date: Thu, 26 May 2022 12:42:28 +0100 Subject: [PATCH] Update DevicePolicyManager lost mode documentation Bug: 206753788 Test: NA Change-Id: Ib9e1f460b5e70d9f5bc08a44e759d88588e1ab07 --- core/java/android/app/admin/DevicePolicyManager.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/core/java/android/app/admin/DevicePolicyManager.java b/core/java/android/app/admin/DevicePolicyManager.java index 128a8721f1e71..b3342df8f9073 100644 --- a/core/java/android/app/admin/DevicePolicyManager.java +++ b/core/java/android/app/admin/DevicePolicyManager.java @@ -6453,6 +6453,10 @@ public class DevicePolicyManager { *

The caller must hold the * {@link android.Manifest.permission#TRIGGER_LOST_MODE} permission. * + *

Register a broadcast receiver to receive lost mode location updates. This receiver should + * subscribe to the {@link #ACTION_LOST_MODE_LOCATION_UPDATE} action and receive the location + * from an intent extra {@link #EXTRA_LOST_MODE_LOCATION}. + * *

Not for use by third-party applications. * * @param executor The executor through which the callback should be invoked.