Loading android/app/src/com/android/bluetooth/opp/BluetoothOppBtEnableActivity.java +1 −1 Original line number Diff line number Diff line Loading @@ -56,7 +56,7 @@ public class BluetoothOppBtEnableActivity extends AlertActivity implements // Set up the "dialog" final AlertController.AlertParams p = mAlertParams; p.mIconId = android.R.drawable.ic_dialog_alert; p.mIconAttrId = android.R.attr.alertDialogIcon; p.mTitle = getString(R.string.bt_enable_title); p.mView = createView(); p.mPositiveButtonText = getString(R.string.bt_enable_ok); Loading android/app/src/com/android/bluetooth/opp/BluetoothOppBtErrorActivity.java +1 −1 Original line number Diff line number Diff line Loading @@ -61,7 +61,7 @@ public class BluetoothOppBtErrorActivity extends AlertActivity implements // Set up the "dialog" final AlertController.AlertParams p = mAlertParams; p.mIconId = android.R.drawable.ic_dialog_alert; p.mIconAttrId = android.R.attr.alertDialogIcon; p.mTitle = mErrorTitle; p.mView = createView(); p.mPositiveButtonText = getString(R.string.bt_error_btn_ok); Loading android/app/src/com/android/bluetooth/opp/BluetoothOppTransferActivity.java +4 −4 Original line number Diff line number Diff line Loading @@ -223,14 +223,14 @@ public class BluetoothOppTransferActivity extends AlertActivity implements mPara.mPositiveButtonText = getString(R.string.download_succ_ok); mPara.mPositiveButtonListener = this; } else if (mWhichDialog == DIALOG_RECEIVE_COMPLETE_FAIL) { mPara.mIconId = android.R.drawable.ic_dialog_alert; mPara.mIconAttrId = android.R.attr.alertDialogIcon; mPara.mPositiveButtonText = getString(R.string.download_fail_ok); mPara.mPositiveButtonListener = this; } else if (mWhichDialog == DIALOG_SEND_COMPLETE_SUCCESS) { mPara.mPositiveButtonText = getString(R.string.upload_succ_ok); mPara.mPositiveButtonListener = this; } else if (mWhichDialog == DIALOG_SEND_COMPLETE_FAIL) { mPara.mIconId = android.R.drawable.ic_dialog_alert; mPara.mIconAttrId = android.R.attr.alertDialogIcon; mPara.mPositiveButtonText = getString(R.string.upload_fail_ok); mPara.mPositiveButtonListener = this; mPara.mNegativeButtonText = getString(R.string.upload_fail_cancel); Loading Loading @@ -458,7 +458,7 @@ public class BluetoothOppTransferActivity extends AlertActivity implements mAlert.getButton(DialogInterface.BUTTON_POSITIVE).setText( getString(R.string.download_succ_ok)); } else if (mWhichDialog == DIALOG_RECEIVE_COMPLETE_FAIL) { mAlert.setIcon(android.R.drawable.ic_dialog_alert); mAlert.setIcon(mAlert.getIconAttributeResId(android.R.attr.alertDialogIcon)); mAlert.getButton(DialogInterface.BUTTON_NEGATIVE).setVisibility(View.GONE); mAlert.getButton(DialogInterface.BUTTON_POSITIVE).setText( getString(R.string.download_fail_ok)); Loading @@ -467,7 +467,7 @@ public class BluetoothOppTransferActivity extends AlertActivity implements mAlert.getButton(DialogInterface.BUTTON_POSITIVE).setText( getString(R.string.upload_succ_ok)); } else if (mWhichDialog == DIALOG_SEND_COMPLETE_FAIL) { mAlert.setIcon(android.R.drawable.ic_dialog_alert); mAlert.setIcon(mAlert.getIconAttributeResId(android.R.attr.alertDialogIcon)); mAlert.getButton(DialogInterface.BUTTON_POSITIVE).setText( getString(R.string.upload_fail_ok)); mAlert.getButton(DialogInterface.BUTTON_NEGATIVE).setText( Loading Loading
android/app/src/com/android/bluetooth/opp/BluetoothOppBtEnableActivity.java +1 −1 Original line number Diff line number Diff line Loading @@ -56,7 +56,7 @@ public class BluetoothOppBtEnableActivity extends AlertActivity implements // Set up the "dialog" final AlertController.AlertParams p = mAlertParams; p.mIconId = android.R.drawable.ic_dialog_alert; p.mIconAttrId = android.R.attr.alertDialogIcon; p.mTitle = getString(R.string.bt_enable_title); p.mView = createView(); p.mPositiveButtonText = getString(R.string.bt_enable_ok); Loading
android/app/src/com/android/bluetooth/opp/BluetoothOppBtErrorActivity.java +1 −1 Original line number Diff line number Diff line Loading @@ -61,7 +61,7 @@ public class BluetoothOppBtErrorActivity extends AlertActivity implements // Set up the "dialog" final AlertController.AlertParams p = mAlertParams; p.mIconId = android.R.drawable.ic_dialog_alert; p.mIconAttrId = android.R.attr.alertDialogIcon; p.mTitle = mErrorTitle; p.mView = createView(); p.mPositiveButtonText = getString(R.string.bt_error_btn_ok); Loading
android/app/src/com/android/bluetooth/opp/BluetoothOppTransferActivity.java +4 −4 Original line number Diff line number Diff line Loading @@ -223,14 +223,14 @@ public class BluetoothOppTransferActivity extends AlertActivity implements mPara.mPositiveButtonText = getString(R.string.download_succ_ok); mPara.mPositiveButtonListener = this; } else if (mWhichDialog == DIALOG_RECEIVE_COMPLETE_FAIL) { mPara.mIconId = android.R.drawable.ic_dialog_alert; mPara.mIconAttrId = android.R.attr.alertDialogIcon; mPara.mPositiveButtonText = getString(R.string.download_fail_ok); mPara.mPositiveButtonListener = this; } else if (mWhichDialog == DIALOG_SEND_COMPLETE_SUCCESS) { mPara.mPositiveButtonText = getString(R.string.upload_succ_ok); mPara.mPositiveButtonListener = this; } else if (mWhichDialog == DIALOG_SEND_COMPLETE_FAIL) { mPara.mIconId = android.R.drawable.ic_dialog_alert; mPara.mIconAttrId = android.R.attr.alertDialogIcon; mPara.mPositiveButtonText = getString(R.string.upload_fail_ok); mPara.mPositiveButtonListener = this; mPara.mNegativeButtonText = getString(R.string.upload_fail_cancel); Loading Loading @@ -458,7 +458,7 @@ public class BluetoothOppTransferActivity extends AlertActivity implements mAlert.getButton(DialogInterface.BUTTON_POSITIVE).setText( getString(R.string.download_succ_ok)); } else if (mWhichDialog == DIALOG_RECEIVE_COMPLETE_FAIL) { mAlert.setIcon(android.R.drawable.ic_dialog_alert); mAlert.setIcon(mAlert.getIconAttributeResId(android.R.attr.alertDialogIcon)); mAlert.getButton(DialogInterface.BUTTON_NEGATIVE).setVisibility(View.GONE); mAlert.getButton(DialogInterface.BUTTON_POSITIVE).setText( getString(R.string.download_fail_ok)); Loading @@ -467,7 +467,7 @@ public class BluetoothOppTransferActivity extends AlertActivity implements mAlert.getButton(DialogInterface.BUTTON_POSITIVE).setText( getString(R.string.upload_succ_ok)); } else if (mWhichDialog == DIALOG_SEND_COMPLETE_FAIL) { mAlert.setIcon(android.R.drawable.ic_dialog_alert); mAlert.setIcon(mAlert.getIconAttributeResId(android.R.attr.alertDialogIcon)); mAlert.getButton(DialogInterface.BUTTON_POSITIVE).setText( getString(R.string.upload_fail_ok)); mAlert.getButton(DialogInterface.BUTTON_NEGATIVE).setText( Loading