Class Settings
- java.lang.Object
-
- PreferenceActivity
-
- de.kaffeemitkoffein.tinyweatherforecastgermany.Settings
-
public class Settings extends PreferenceActivity
-
-
Constructor Summary
Constructors Constructor Description Settings()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddisableClearNotifications()booleandisableIfChecked(Preference target, CheckBoxPreference source)booleandisableIfUnchecked(Preference target, CheckBoxPreference source)voiddisableLogCatLogging()voiddisableTLSOption()voidonCreate(Bundle bundle)protected voidonPause()voidonRequestPermissionsResult(int permRequestCode, java.lang.String[] perms, int[] grantRes)protected voidonResume()voidonSharedPreferenceChanged(SharedPreferences sharedPreferences, java.lang.String s)static voidopenBatteryOptimizationSettings(Context context)voidopenPermissionSettings()voidrequestBackgroundLocationPermission()voidsetAlarmSettingAllowed()voidsetNotifyLED()voidsetNotifySeverity()voidsetNotifyWarnings()voidsetShowWarningsInWidgetAllowed()voidsetUseMinMax()voidsetUVHIdisplayMain()
-
-
-
Method Detail
-
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()
-
onSharedPreferenceChanged
public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, java.lang.String s)
-
requestBackgroundLocationPermission
public void requestBackgroundLocationPermission()
-
onRequestPermissionsResult
public void onRequestPermissionsResult(int permRequestCode, java.lang.String[] perms, int[] grantRes)
-
openPermissionSettings
public void openPermissionSettings()
-
openBatteryOptimizationSettings
public static void openBatteryOptimizationSettings(Context context)
-
-