Class Settings
PreferenceActivity
de.kaffeemitkoffein.tinyweatherforecastgermany.Settings
public class Settings extends PreferenceActivity
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidbooleandisableIfChecked(Preference target, CheckBoxPreference source) booleandisableIfUnchecked(Preference target, CheckBoxPreference source) voidvoidvoidonCreate(Bundle bundle) protected voidonPause()voidonRequestPermissionsResult(int permRequestCode, String[] perms, int[] grantRes) protected voidonResume()voidonSharedPreferenceChanged(SharedPreferences sharedPreferences, String s) static voidopenBatteryOptimizationSettings(Context context) voidvoidvoidvoidvoidvoidvoidvoidvoid
-
Constructor Details
-
Settings
public Settings()
-
-
Method Details
-
onCreate
public void onCreate(Bundle bundle) -
disableLogCatLogging
public void disableLogCatLogging() -
disableClearNotifications
public void disableClearNotifications() -
disableTLSOption
public void disableTLSOption() -
setAlarmSettingAllowed
public void setAlarmSettingAllowed() -
setShowWarningsInWidgetAllowed
public void setShowWarningsInWidgetAllowed() -
setNotifyWarnings
public void setNotifyWarnings() -
setNotifySeverity
public void setNotifySeverity() -
setNotifyLED
public void setNotifyLED() -
setUseMinMax
public void setUseMinMax() -
disableIfUnchecked
public boolean disableIfUnchecked(Preference target, CheckBoxPreference source) -
disableIfChecked
public boolean disableIfChecked(Preference target, CheckBoxPreference source) -
setUVHIdisplayMain
public void setUVHIdisplayMain() -
onResume
protected void onResume() -
onPause
protected void onPause() -
requestBackgroundLocationPermission
public void requestBackgroundLocationPermission() -
onRequestPermissionsResult
-
openPermissionSettings
public void openPermissionSettings() -
openBatteryOptimizationSettings
public static void openBatteryOptimizationSettings(Context context)
-