PairDevice to structured Parcelable.

Bug: 194829333
Test: pass
Change-Id: I202ae5aa16d4323afa2a48cc3070f8e13c701efd
This commit is contained in:
Yifan Hong
2021-07-27 14:53:45 -07:00
parent 060bf953e3
commit d61750990d
4 changed files with 5 additions and 5 deletions

View File

@@ -430,7 +430,7 @@ public class WirelessDebuggingFragment extends DashboardFragment
case FORGET_ACTION:
try {
p = (PairDevice) data.getParcelableExtra(PAIRED_DEVICE_EXTRA);
mAdbManager.unpairDevice(p.getGuid());
mAdbManager.unpairDevice(p.guid);
} catch (RemoteException e) {
Log.e(TAG, "Unable to forget the device");
}