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

Commit 31fe9920 authored by Guojing Yuan's avatar Guojing Yuan Committed by Android (Google) Code Review
Browse files

Merge "[CDM PS] Fix an NPE when the device is not associated" into main

parents ad3dede7 b139406d
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -112,6 +112,11 @@ public class BluetoothDetailsDataSyncController extends BluetoothDetailsControll
            mPreferenceCategory.addPreference(permSyncPref);
        }

        if (mAssociationId == DUMMY_ASSOCIATION_ID) {
            permSyncPref.setVisible(false);
            return;
        }

        boolean visible = false;
        boolean checked = false;
        PermissionSyncRequest request = mCompanionDeviceManager.getPermissionSyncRequest(