Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Iniciar sesión
bubblev
/
bubble-droid
Seguir
5
Destacar
0
Fork
0
Código
Incidencias
0
Pull Requests
0
Lanzamientos
0
Wiki
Actividad
Explorar el Código
ThemeChangeAwareActivity: recreate activity after changing theme
API 21 had issues without this. Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
master
Jason A. Donenfeld
hace 4 años
padre
d62526fde6
commit
b9948085a4
Se han
modificado 1 ficheros
con
1 adiciones
y
0 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+1
-0
ui/src/main/java/com/wireguard/android/activity/ThemeChangeAwareActivity.java
+ 1
- 0
ui/src/main/java/com/wireguard/android/activity/ThemeChangeAwareActivity.java
Ver fichero
@@ -42,6 +42,7 @@ public abstract class ThemeChangeAwareActivity extends AppCompatActivity impleme
sharedPreferences.getBoolean(key, false) ?
AppCompatDelegate.MODE_NIGHT_YES :
AppCompatDelegate.MODE_NIGHT_NO);
recreate();
}
}
}
Escribir
Vista previa
Cargando…
Cancelar
Guardar