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

Commit a0e52a2e authored by lesl's avatar lesl
Browse files

WifiP2pManager: Add annotation Nullable for API: onDeviceInfoAvailable

Bug: 126700793
Build: make api-stubs-docs-update-current-api, full build
Test: UnitTest, atest android.net.wifi.p2p.WifiP2pManagerTest
Change-Id: I18698d7776e071cde0ed28dcd349cc08cc41b173
parent f57f492b
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -30553,7 +30553,7 @@ package android.net.wifi.p2p {
  }
  public static interface WifiP2pManager.DeviceInfoListener {
    method public void onDeviceInfoAvailable(android.net.wifi.p2p.WifiP2pDevice);
    method public void onDeviceInfoAvailable(@Nullable android.net.wifi.p2p.WifiP2pDevice);
  }
  public static interface WifiP2pManager.DiscoveryStateListener {
+1 −1
Original line number Diff line number Diff line
@@ -816,7 +816,7 @@ public class WifiP2pManager {
         * The requested {@link android.net.wifi.p2p.WifiP2pDevice} is available.
         * @param wifiP2pDevice Wi-Fi p2p {@link android.net.wifi.p2p.WifiP2pDevice}
         */
        void onDeviceInfoAvailable(WifiP2pDevice wifiP2pDevice);
        void onDeviceInfoAvailable(@Nullable WifiP2pDevice wifiP2pDevice);
    }

    /**