Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 60039615 authored by Vladimir Komsiyski's avatar Vladimir Komsiyski
Browse files

Remove references to flagged APIs from public VDM docs.

Fix: 310901277
Test: n/a
Change-Id: I83cbe513370e47bf4fa17dc16fb2f3b81b09bf82
parent f29b9048
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -32,9 +32,8 @@ import android.os.RemoteException;
 * Details of a particular virtual device.
 *
 * <p>Read-only device representation exposing the properties of an existing virtual device.
 *
 * @see VirtualDeviceManager#registerVirtualDeviceListener
 */
// TODO(b/310912420): Link to VirtualDeviceManager#registerVirtualDeviceListener from the docs
public final class VirtualDevice implements Parcelable {

    private final @NonNull IVirtualDevice mVirtualDevice;
@@ -92,8 +91,8 @@ public final class VirtualDevice implements Parcelable {
     * per device.
     *
     * @see Context#createDeviceContext
     * @see #getPersistentDeviceId
     */
    // TODO(b/310912420): Link to #getPersistentDeviceId from the docs
    public int getDeviceId() {
        return mId;
    }
+3 −2
Original line number Diff line number Diff line
@@ -212,9 +212,10 @@ public final class VirtualDeviceManager {
     * existing virtual devices.</p>
     *
     * <p>Note that if a virtual device is closed and becomes invalid, the returned objects will
     * not be updated and may contain stale values. Use a {@link VirtualDeviceListener} for real
     * time updates of the availability of virtual devices.</p>
     * not be updated and may contain stale values.</p>
     */
    // TODO(b/310912420): Add "Use a VirtualDeviceListener for real time updates of the
    // availability  of virtual devices." in the note paragraph above with a link annotation.
    @NonNull
    public List<android.companion.virtual.VirtualDevice> getVirtualDevices() {
        if (mService == null) {