Remove all dialog icons in Settings
BUG: 15474733 Change-Id: I43ab10a3bbcabdac6109abf80266f1c4b52bf6fb
This commit is contained in:
@@ -1109,7 +1109,6 @@ public class InstalledAppDetails extends Fragment
|
||||
case DLG_CLEAR_DATA:
|
||||
return new AlertDialog.Builder(getActivity())
|
||||
.setTitle(getActivity().getText(R.string.clear_data_dlg_title))
|
||||
.setIconAttribute(android.R.attr.alertDialogIcon)
|
||||
.setMessage(getActivity().getText(R.string.clear_data_dlg_text))
|
||||
.setPositiveButton(R.string.dlg_ok,
|
||||
new DialogInterface.OnClickListener() {
|
||||
@@ -1123,7 +1122,6 @@ public class InstalledAppDetails extends Fragment
|
||||
case DLG_FACTORY_RESET:
|
||||
return new AlertDialog.Builder(getActivity())
|
||||
.setTitle(getActivity().getText(R.string.app_factory_reset_dlg_title))
|
||||
.setIconAttribute(android.R.attr.alertDialogIcon)
|
||||
.setMessage(getActivity().getText(R.string.app_factory_reset_dlg_text))
|
||||
.setPositiveButton(R.string.dlg_ok,
|
||||
new DialogInterface.OnClickListener() {
|
||||
@@ -1138,7 +1136,6 @@ public class InstalledAppDetails extends Fragment
|
||||
case DLG_APP_NOT_FOUND:
|
||||
return new AlertDialog.Builder(getActivity())
|
||||
.setTitle(getActivity().getText(R.string.app_not_found_dlg_title))
|
||||
.setIconAttribute(android.R.attr.alertDialogIcon)
|
||||
.setMessage(getActivity().getText(R.string.app_not_found_dlg_title))
|
||||
.setNeutralButton(getActivity().getText(R.string.dlg_ok),
|
||||
new DialogInterface.OnClickListener() {
|
||||
@@ -1151,7 +1148,6 @@ public class InstalledAppDetails extends Fragment
|
||||
case DLG_CANNOT_CLEAR_DATA:
|
||||
return new AlertDialog.Builder(getActivity())
|
||||
.setTitle(getActivity().getText(R.string.clear_failed_dlg_title))
|
||||
.setIconAttribute(android.R.attr.alertDialogIcon)
|
||||
.setMessage(getActivity().getText(R.string.clear_failed_dlg_text))
|
||||
.setNeutralButton(R.string.dlg_ok,
|
||||
new DialogInterface.OnClickListener() {
|
||||
@@ -1165,7 +1161,6 @@ public class InstalledAppDetails extends Fragment
|
||||
case DLG_FORCE_STOP:
|
||||
return new AlertDialog.Builder(getActivity())
|
||||
.setTitle(getActivity().getText(R.string.force_stop_dlg_title))
|
||||
.setIconAttribute(android.R.attr.alertDialogIcon)
|
||||
.setMessage(getActivity().getText(R.string.force_stop_dlg_text))
|
||||
.setPositiveButton(R.string.dlg_ok,
|
||||
new DialogInterface.OnClickListener() {
|
||||
@@ -1181,14 +1176,12 @@ public class InstalledAppDetails extends Fragment
|
||||
getOwner().getMoveErrMsg(moveErrorCode));
|
||||
return new AlertDialog.Builder(getActivity())
|
||||
.setTitle(getActivity().getText(R.string.move_app_failed_dlg_title))
|
||||
.setIconAttribute(android.R.attr.alertDialogIcon)
|
||||
.setMessage(msg)
|
||||
.setNeutralButton(R.string.dlg_ok, null)
|
||||
.create();
|
||||
case DLG_DISABLE:
|
||||
return new AlertDialog.Builder(getActivity())
|
||||
.setTitle(getActivity().getText(R.string.app_disable_dlg_title))
|
||||
.setIconAttribute(android.R.attr.alertDialogIcon)
|
||||
.setMessage(getActivity().getText(R.string.app_disable_dlg_text))
|
||||
.setPositiveButton(R.string.dlg_ok,
|
||||
new DialogInterface.OnClickListener() {
|
||||
@@ -1204,7 +1197,6 @@ public class InstalledAppDetails extends Fragment
|
||||
case DLG_DISABLE_NOTIFICATIONS:
|
||||
return new AlertDialog.Builder(getActivity())
|
||||
.setTitle(getActivity().getText(R.string.app_disable_notifications_dlg_title))
|
||||
.setIconAttribute(android.R.attr.alertDialogIcon)
|
||||
.setMessage(getActivity().getText(R.string.app_disable_notifications_dlg_text))
|
||||
.setPositiveButton(R.string.dlg_ok,
|
||||
new DialogInterface.OnClickListener() {
|
||||
@@ -1224,7 +1216,6 @@ public class InstalledAppDetails extends Fragment
|
||||
case DLG_SPECIAL_DISABLE:
|
||||
return new AlertDialog.Builder(getActivity())
|
||||
.setTitle(getActivity().getText(R.string.app_special_disable_dlg_title))
|
||||
.setIconAttribute(android.R.attr.alertDialogIcon)
|
||||
.setMessage(getActivity().getText(R.string.app_special_disable_dlg_text))
|
||||
.setPositiveButton(R.string.dlg_ok,
|
||||
new DialogInterface.OnClickListener() {
|
||||
|
Reference in New Issue
Block a user