I am working on a custom launcher for Android, in a project using 
BBBAndroid: http://bbbandroid.sourceforge.net

I created aosp_stripped.mk <http://pastebin.com/s2cKqnaJ> to strip some 
unneeded Android packages and replace the Launcher2 and the HOME packages 
with my CustomLauncher. This launcher is mostly an normal app with the 
LAUNCHER and HOME category added in its AndroidManifest.xml:


    <?xml version="1.0" encoding="utf-8"?>
    <manifest xmlns:android="http://schemas.android.com/apk/res/android";
        package="test.customlauncher" >
    
        <application
            android:allowBackup="true"
            android:icon="@drawable/ic_people"
            android:label="@string/app_name"
            android:theme="@style/AppTheme" >
            <uses-library
                android:name="test.service.lib"
                android:required="true" />
            <activity
                android:launchMode="singleTask"
                android:stateNotNeeded="true"
                android:name=".MainActivity"
                android:label="@string/app_name" >
                <intent-filter>
                    <action android:name="android.intent.action.MAIN" />
                    <category android:name="android.intent.category.HOME" />
                    <category 
android:name="android.intent.category.DEFAULT" />
                </intent-filter>
            </activity>
        </application>
    
    </manifest>


It effectively replaces Launcher2, but the boot animation doesn't stop 
until 40 seconds later, logcat shows:

W/WindowManager(  591): ***** BOOT TIMEOUT: forcing display enabled
I/PowerManagerService(  591): Boot animation finished.

So my launcher must be missing something to tell the boot animation to 
stop. I found some hints here: 
http://forum.xda-developers.com/showthread.php?t=2485118

Indeed, I have some missing Wallpaper classes errors in logcat, but I 
didn't remove the SystemUI package. I noticed that when using 
Launcher2/Home, this error only happens on the first boot. Using my custom 
launcher, it happens on every boot. Besides this error, I didn't find any 
differences:

W/WallpaperService(  591): Attempted wallpaper 
ComponentInfo{com.android.wallpaper/com.android.wallpaper.fall.FallWallpaper} 
is unavailable
W/WallpaperService(  591): Failure starting previous wallpaper
W/WallpaperService(  591): Attempted wallpaper 
ComponentInfo{com.android.wallpaper/com.android.wallpaper.fall.FallWallpaper} 
is unavailable
E/WallpaperService(  591): Default wallpaper component not found!

I found this class in the package LiveWallpapers in 
packages/wallpapers/Basic (AOSP). It is already added in PRODUCT_PACKAGES, 
but this package is nowhere in out/target/product/beagleboneblack/ :(

Right now I am digging in Launcher2 and WallPaperManager to see what could 
trigger the BootAnimation to stop...

Thanks in advance !

-- 
For more options, visit http://beagleboard.org/discuss
--- 
You received this message because you are subscribed to the Google Groups 
"BeagleBoard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to