Steps to reproduce (on Android 2.x):
1. Uninstall and reinstall Fennec, or choose "Clear Data" in the Android application settings.
2. Start Fennec.
Expected results: A splash screen with the application logo appears during startup on first-run, and a non-interactive UI screenshot appears during startup on later runs (bug 687312).
Actual result: The non-interactive UI appears during startup on first run.
Tested using 20110928 Nightly on Galaxy Tab 7" (Android 2.2).
Created attachment 563378 [details] [diff] [review]
The folder I was using as a trigger now always exists by the time the splashscreen code runs. Bug 688692 fixed the folders used by the crash reporter.
So, I changed to use a folder that only the GeckoApp code controls: "components"
This fixes the bug. If anyone has a better idea, I am all ears. Remember, the profile folder itself could be on the sdcard, so we can't assume it's always in files/profile
We could try to check both locations?
This patch works for now.
Comment on attachment 563378 [details] [diff] [review]
Also requesting approval for Aurora 9. This is a safe Android-only change that fixes a highly visible regression (app appears to hang for a long time during first run) by just replacing one string literal that tells us which directory's existence to check during startup.
Mozilla/5.0 (Android; Linux armv7l; rv:10.0a1) Gecko/20110930 Firefox/10.0a1 Fennec/10.0a1
Mozilla/5.0 (Android; Linux armv7l; rv:9.0a2) Gecko/20110930 Firefox/9.0a2 Fennec/9.0a2
I didn't see this bug until a few days ago and I'm guessing the checkin here caused it. Now when I start Fennec I'm immediately shown a non-interactive UI instead of the splash screen. I did not experience this until a few days ago after an update.
EVO4G running Cyanogen mod 7.1.0-rc1 android 2.3.4
(In reply to Kurt Schultz (supernova_00) from comment #7)
> I didn't see this bug until a few days ago and I'm guessing the checkin here
> caused it. Now when I start Fennec I'm immediately shown a non-interactive
> UI instead of the splash screen. I did not experience this until a few days
> ago after an update.
> EVO4G running Cyanogen mod 7.1.0-rc1 android 2.3.4
Correct. This is as designed. How long do you stare at the static UI?
After an update and also after a reboot it is just over 5 seconds