Android Gallery app disappears on first boot

Bug #1112449 reported by Tixy (Jon Medhurst)
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Linaro Android
Confirmed
Low
Unassigned

Bug Description

On vexpress, whilst testing a fix for bug #1086623 I noticed that on first boot the Gallery app would disappear from the Apps list shortly after boot (on subsequent boots the app appears OK as normal). I have also reproduced this on the 13.01 release image booted with a newer kernel so the new sdcard mounting fix is not directly the cause.

Whilst debugging I got as far as determining that if I enable DEBUG_LOADERS in packages/apps/Launcher2/src/com/android/launcher2/LauncherModel.java then the onReceive() method gives the log output:

D/Launcher.Model( 2875): onReceive intent=Intent { act=android.intent.action.PACKAGE_CHANGED dat=package:com.android.gallery3d flg=0x8000010 (has extras) }

and subsequently the updatePackage() method in
packages/apps/Launcher2/src/com/android/launcher2/AllAppsList.java
is being call with package "com.android.gallery3d" and it's matches variable has a ResolveInfo = {416cfd68 com.android.gallery3d.app.Gallery p=0 o=0 m=0x108000}]

and this section of code is removing the Gallery app.

                if (packageName.equals(component.getPackageName())) {
                    if (!findActivity(matches, component)) {
                        removed.add(applicationInfo);

description: updated
Revision history for this message
Tixy (Jon Medhurst) (tixy) wrote :

I've eliminated as a cause the fsck errors that logcat shows for the sdcard partition and delays involved in creating the standard directories in the partition. (By disabling fsck and pre-populating the sdcard partition with a previously saved directory layout.)

Revision history for this message
Tixy (Jon Medhurst) (tixy) wrote :

I also notice that the Camera app is removed from the apps list at the same time as Gallery. We don't have a camera so that makes sense, but I wonder if the fact that the Gallery app can be used to take and display pictures means that the system thinks it isn't needed either?

Ryan Harkin (ryanharkin)
Changed in linaro-landing-team-arm:
importance: Undecided → Low
status: New → Won't Fix
vishal (vishalbhoj)
Changed in linaro-android:
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Ryan Harkin (ryanharkin) wrote :

ARMLT marked this as "won't fix" because it appears to be a generic Android bug rather than a Versatile Express specific problem.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.