Temporarily disable perm sync toggle
Bug: 338469649 Test: unit test Change-Id: Ie9d0c76c9b60129466c4a4f0c87a04d769918e5c
This commit is contained in:
@@ -18,6 +18,7 @@ package com.android.settings.bluetooth;
|
||||
|
||||
import android.companion.AssociationInfo;
|
||||
import android.companion.CompanionDeviceManager;
|
||||
import android.companion.Flags;
|
||||
import android.companion.datatransfer.PermissionSyncRequest;
|
||||
import android.content.Context;
|
||||
|
||||
@@ -74,6 +75,9 @@ public class BluetoothDetailsDataSyncController extends BluetoothDetailsControll
|
||||
|
||||
@Override
|
||||
public boolean isAvailable() {
|
||||
if (!Flags.ongoingPermSync()) {
|
||||
return false;
|
||||
}
|
||||
if (mAssociationId == DUMMY_ASSOCIATION_ID) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user