Merge "Remove dialog icons" into lmp-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
b125caa7ed
@@ -161,7 +161,6 @@ public final class BluetoothPairingDialog extends AlertActivity implements
|
||||
|
||||
private void createUserEntryDialog(CachedBluetoothDeviceManager deviceManager) {
|
||||
final AlertController.AlertParams p = mAlertParams;
|
||||
p.mIconId = android.R.drawable.ic_dialog_info;
|
||||
p.mTitle = getString(R.string.bluetooth_pairing_request);
|
||||
p.mView = createPinEntryView(deviceManager.getName(mDevice));
|
||||
p.mPositiveButtonText = getString(android.R.string.ok);
|
||||
@@ -252,7 +251,6 @@ public final class BluetoothPairingDialog extends AlertActivity implements
|
||||
|
||||
private void createConfirmationDialog(CachedBluetoothDeviceManager deviceManager) {
|
||||
final AlertController.AlertParams p = mAlertParams;
|
||||
p.mIconId = android.R.drawable.ic_dialog_info;
|
||||
p.mTitle = getString(R.string.bluetooth_pairing_request);
|
||||
p.mView = createView(deviceManager);
|
||||
p.mPositiveButtonText = getString(R.string.bluetooth_pairing_accept);
|
||||
@@ -264,7 +262,6 @@ public final class BluetoothPairingDialog extends AlertActivity implements
|
||||
|
||||
private void createConsentDialog(CachedBluetoothDeviceManager deviceManager) {
|
||||
final AlertController.AlertParams p = mAlertParams;
|
||||
p.mIconId = android.R.drawable.ic_dialog_info;
|
||||
p.mTitle = getString(R.string.bluetooth_pairing_request);
|
||||
p.mView = createView(deviceManager);
|
||||
p.mPositiveButtonText = getString(R.string.bluetooth_pairing_accept);
|
||||
@@ -277,7 +274,6 @@ public final class BluetoothPairingDialog extends AlertActivity implements
|
||||
private void createDisplayPasskeyOrPinDialog(
|
||||
CachedBluetoothDeviceManager deviceManager) {
|
||||
final AlertController.AlertParams p = mAlertParams;
|
||||
p.mIconId = android.R.drawable.ic_dialog_info;
|
||||
p.mTitle = getString(R.string.bluetooth_pairing_request);
|
||||
p.mView = createView(deviceManager);
|
||||
p.mNegativeButtonText = getString(android.R.string.cancel);
|
||||
|
@@ -117,7 +117,6 @@ public class BluetoothPermissionActivity extends AlertActivity implements
|
||||
private void showDialog(String title, int requestType)
|
||||
{
|
||||
final AlertController.AlertParams p = mAlertParams;
|
||||
p.mIconId = android.R.drawable.ic_dialog_info;
|
||||
p.mTitle = title;
|
||||
if(DEBUG) Log.i(TAG, "showDialog() Request type: " + mRequestType + " this: " + this);
|
||||
switch(requestType)
|
||||
|
Reference in New Issue
Block a user