Hi trevd ,

You said "Personally I would probably take the approach of stopping the 
surfaceflinger from ever starting the service."
How can this be donw
I've tried to put all this lines in code:
#service bootanim /system/bin/bootanimation
   # class main
   # user graphics
   # group graphics media
   # disabled
   # oneshot

Yet, there is no change in behaviour.

Thanks for any idea,
Ran

On Tuesday, August 26, 2014 at 1:53:15 PM UTC+3, trevd wrote:
>
> @Girish The bootanimation service is already disabled in the init.rc ... 
> that's it's default state. The surfaceflinger controls the starting of the 
> service and uses a signal approach to stop the animation
>
> Ref : 
> http://androidxref.com/4.4.4_r1/xref/frameworks/native/services/surfaceflinger/SurfaceFlinger.cpp#285
>  
>
> You can turn off the bootanimation visuals by setting the property 
> debug.sf.nobootanimation to 1.
>
> However as the name suggests the property is really just intended to aid 
> debugging of the boot process.
>
> Personally I would probably take the approach of stopping the surfaceflinger 
> from ever starting the service.
>
> Removing the service from the init.rc or the /system/bin/bootanimation binary 
> would probably work also as the service is not critical.
>
> Bear in mind the unless your boot process has been optimized you may still 
> end up with a blank screen for a short period.
>
>
> Splash screen depending on the device are either found in the bootloader 
> which is sometimes a pain to remove or located in the boot image root and 
> named initlogo.rle.
>
> The latter was displayed by the init process. This functionality while 
> present in the Kitkat source tree has since been removed from the master 
> branch.
>
>
> To Launch a specific app it must have an activity that has <category 
> android:*name=*"android 
> <http://androidxref.com/4.4.4_r1/s?path=android/&project=packages>.intent 
> <http://androidxref.com/4.4.4_r1/s?path=android/intent/&project=packages>.category
>  
> <http://androidxref.com/4.4.4_r1/s?path=android/intent/category/&project=packages>.HOME
>  
> <http://androidxref.com/4.4.4_r1/s?path=android/intent/category/HOME&project=packages>"
>  /> in the AndroidManifest.xml , obviously if you have more than one app
>
> that supports this than the user will be asked to pick a preferred app so you 
> probably want to remove Launcher3 from the system.
>
>
> Thanks
> trevd 
>

-- 
-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel
--- 
You received this message because you are subscribed to the Google Groups 
"Android Linux Kernel Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-kernel+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to