зеркало из https://github.com/mozilla/gecko-dev.git
Bug 687312 - Show a non-interactive UI as soon as possible on startup (sdcard profiles) r=mbrubeck
This commit is contained in:
Родитель
c335cff10d
Коммит
e30a3cb472
|
@ -121,8 +121,8 @@ class GeckoSurfaceView
|
|||
|
||||
Resources res = getResources();
|
||||
|
||||
File profiles = new File(GeckoApp.sGREDir, "files/mozilla/profiles.ini");
|
||||
if (profiles.exists() == false) {
|
||||
File filesDir = new File(GeckoApp.sGREDir, "files");
|
||||
if (filesDir.exists() == false) {
|
||||
// Just show the simple splash screen for "new profile" startup
|
||||
c.drawColor(res.getColor(R.color.splash_background));
|
||||
Drawable drawable = res.getDrawable(R.drawable.splash);
|
||||
|
|
Загрузка…
Ссылка в новой задаче