mirror of
https://github.com/beemdevelopment/Aegis.git
synced 2025-05-15 06:22:49 +00:00
Fix setting locale on 7.0
This commit is contained in:
parent
97d824d779
commit
8020792024
2 changed files with 12 additions and 6 deletions
|
@ -110,7 +110,7 @@ public abstract class AegisActivity extends AppCompatActivity implements AegisAp
|
|||
Configuration config = new Configuration();
|
||||
config.locale = locale;
|
||||
|
||||
getBaseContext().getResources().updateConfiguration(config, getBaseContext().getResources().getDisplayMetrics());
|
||||
this.getResources().updateConfiguration(config, this.getResources().getDisplayMetrics());
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue