Move SettingsLib icons to android.
Bug: 122263617 Test: make Change-Id: Ia2ab06561824656951fbd0019e9c921442c714e1
This commit is contained in:
@@ -137,7 +137,7 @@ public class BluetoothDeviceDetailsFragment extends RestrictedDashboardFragment
|
||||
@Override
|
||||
public void onCreateOptionsMenu(Menu menu, MenuInflater inflater) {
|
||||
MenuItem item = menu.add(0, EDIT_DEVICE_NAME_ITEM_ID, 0, R.string.bluetooth_rename_button);
|
||||
item.setIcon(R.drawable.ic_mode_edit);
|
||||
item.setIcon(com.android.internal.R.drawable.ic_mode_edit);
|
||||
item.setShowAsAction(MenuItem.SHOW_AS_ACTION_ALWAYS);
|
||||
super.onCreateOptionsMenu(menu, inflater);
|
||||
}
|
||||
|
@@ -73,7 +73,7 @@ public class BluetoothSliceBuilder {
|
||||
final boolean isBluetoothEnabled = isBluetoothEnabled();
|
||||
final CharSequence title = context.getText(R.string.bluetooth_settings);
|
||||
final IconCompat icon = IconCompat.createWithResource(context,
|
||||
R.drawable.ic_settings_bluetooth);
|
||||
com.android.internal.R.drawable.ic_settings_bluetooth);
|
||||
@ColorInt final int color = com.android.settings.Utils.getColorAccent(
|
||||
context).getDefaultColor();
|
||||
final PendingIntent toggleAction = getBroadcastIntent(context);
|
||||
|
Reference in New Issue
Block a user