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 void
disableClearNotifications()
boolean
disableIfChecked(Preference target, CheckBoxPreference source)
boolean
disableIfUnchecked(Preference target, CheckBoxPreference source)
void
disableLogCatLogging()
void
disableTLSOption()
void
onCreate(Bundle bundle)
protected void
onPause()
void
onRequestPermissionsResult(int permRequestCode, java.lang.String[] perms, int[] grantRes)
protected void
onResume()
void
onSharedPreferenceChanged(SharedPreferences sharedPreferences, java.lang.String s)
static void
openBatteryOptimizationSettings(Context context)
void
openPermissionSettings()
void
requestBackgroundLocationPermission()
void
setAlarmSettingAllowed()
void
setNotifyLED()
void
setNotifySeverity()
void
setNotifyWarnings()
void
setShowWarningsInWidgetAllowed()
void
setUseMinMax()
void
setUVHIdisplayMain()
-
-
-
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)
-
-