Remove hardcoded Uri to get slice settings

Now we get it from BluetoothDevice.getMetaData()

Bug: 124121451
Test: RunSettingsRoboTests
Change-Id: Id96480f257b93dd03bb290c954e01cde9dcf30ad
This commit is contained in:
jackqdyulei
2019-02-22 13:19:36 -08:00
parent 5e5dd25b8f
commit c51e5aae59
5 changed files with 24 additions and 17 deletions

View File

@@ -121,7 +121,7 @@ public class BluetoothDeviceDetailsFragment extends RestrictedDashboardFragment
FeatureFlags.SLICE_INJECTION);
use(BlockingSlicePrefController.class).setSliceUri(injectionEnabled
? featureProvider.getBluetoothDeviceSettingsUri(mDeviceAddress)
? featureProvider.getBluetoothDeviceSettingsUri(mCachedDevice.getDevice())
: null);
}