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

Commit 31d6e26b authored by Vladimir Komsiyski's avatar Vladimir Komsiyski Committed by Android (Google) Code Review
Browse files

Merge "Remove references to flagged APIs from public VDM docs." into main

parents d63dae0b 60039615
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) {