Android Studio Ctrl-Alt-L code formatting
This commit is contained in:
parent
ed2b119f33
commit
c7fd1f186b
@ -160,6 +160,7 @@ public class FDroidApp extends Application implements androidx.work.Configuratio
|
||||
/**
|
||||
* Apply pure black background in dark theme setting. Must be called in every activity's
|
||||
* {@link AppCompatActivity#onCreate()}, before super.onCreate().
|
||||
*
|
||||
* @param activity The activity to apply the setting.
|
||||
*/
|
||||
public void applyPureBlackBackgroundInDarkTheme(AppCompatActivity activity) {
|
||||
@ -212,7 +213,8 @@ public class FDroidApp extends Application implements androidx.work.Configuratio
|
||||
|
||||
private static int getCurDialogThemeResId() {
|
||||
switch (curTheme) {
|
||||
case dark: case night:
|
||||
case dark:
|
||||
case night:
|
||||
return R.style.MinWithDialogBaseThemeDark;
|
||||
default:
|
||||
return R.style.MinWithDialogBaseThemeLight;
|
||||
@ -650,7 +652,7 @@ public class FDroidApp extends Application implements androidx.work.Configuratio
|
||||
|
||||
/**
|
||||
* Put proxy settings (or Tor settings) globally into effect based on whats configured in Preferences.
|
||||
*
|
||||
* <p>
|
||||
* Must be called on App startup and after every proxy configuration change.
|
||||
*/
|
||||
public static void configureProxy(Preferences preferences) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user