Home
last modified time | relevance | path

Searched refs:alwaysWarn (Results 1 – 1 of 1) sorted by relevance

/packages/apps/Dialer/java/com/android/incallui/telecomeventui/
DInternationalCallOnWifiDialogFragment.java104 CheckBox alwaysWarn = dialogView.findViewById(R.id.always_warn); in onCreateDialog() local
109 alwaysWarn.setChecked(preferences.getBoolean(ALWAYS_SHOW_WARNING_PREFERENCE_KEY, false)); in onCreateDialog()
117 (dialog, which) -> onPositiveButtonClick(preferences, alwaysWarn.isChecked())) in onCreateDialog()
120 (dialog, which) -> onNegativeButtonClick(preferences, alwaysWarn.isChecked())) in onCreateDialog()
127 private void onPositiveButtonClick(@NonNull SharedPreferences preferences, boolean alwaysWarn) { in onPositiveButtonClick() argument
131 alwaysWarn); in onPositiveButtonClick()
132 preferences.edit().putBoolean(ALWAYS_SHOW_WARNING_PREFERENCE_KEY, alwaysWarn).apply(); in onPositiveButtonClick()
138 private void onNegativeButtonClick(@NonNull SharedPreferences preferences, boolean alwaysWarn) { in onNegativeButtonClick() argument
142 alwaysWarn); in onNegativeButtonClick()
143 preferences.edit().putBoolean(ALWAYS_SHOW_WARNING_PREFERENCE_KEY, alwaysWarn).apply(); in onNegativeButtonClick()