Hello All,
I need some help, checked the android documentation and related area, did not get a solution. This is on screen size for tablet devices during the boot stage.
Problem statement:
The device is a 7" LCD device (H=480, W=800 device), when Android boots "SYSTEM UI is not loaded" message pops up and the navigation/notification bar does NOT appear/display. However all operations like screen navigation etc are all working and we are able to navigate through a mouse!!!
I am using a customised version which is a slight offset of SNOWBALL LINARO ICS.
Logs:
~~~~~~~~~~~~~~~~~~~~~
I/ActivityManager( 1520): Config changed: {1.0 0mcc0mnc en_US layoutdir=0 sw640dp w1024dp h592dp lrg long land -touch -keyb/v/h -nav/h s.2}
W/RecognitionManagerService( 1520): no available voice recognition services found
D/SystemUIService( 2055): loading: class com.android.systemui.statusbar.tablet.TabletStatusBar
D/SystemUIService( 2055): running: com.android.systemui.statusbar.tablet.TabletStatusBar@4111b118
D/dalvikvm( 1520): GC_CONCURRENT freed 142K, 13% free 8893K/10183K, paused 2ms+5ms
I/StatusBar.HeightReceiver( 2055): Resizing status bar plugged=false height=36 old=0
D/dalvikvm( 1520): GC_FOR_ALLOC freed 1305K, 24% free 7758K/10183K, paused 31ms
I/dalvikvm-heap( 1520): Grow heap (frag case) to 10.175MB for 1758292-byte allocation
D/dalvikvm( 1520): GC_FOR_ALLOC freed <1K, 21% free 9475K/11911K, paused 35ms
D/dalvikvm( 2055): GC_CONCURRENT freed 212K, 17% free 6070K/7239K, paused 2ms+2ms
I/WindowManager( 1520): createSurface Window{41287de0 Keyguard paused=false}: DRAW NOW PENDING
I/libblt_hw( 1337): Library opened (handle = 1, fd = 24)
D/libEGL ( 1520): loaded /system/lib/egl/libGLES_android.so
D/AndroidRuntime( 2055): Shutting down VM
W/dalvikvm( 2055): threadid=1: thread exiting with uncaught exception (group=0x40a6c1f8)
D/libEGL ( 1520): loaded /system/lib/egl/libEGL_mali.so
E/AndroidRuntime( 2055): FATAL EXCEPTION: main
E/AndroidRuntime( 2055): java.lang.RuntimeException: Unable to create service com.android.systemui.SystemUIService: java.lang.RuntimeException: Tablet device cannot show navigation bar and system bar
E/AndroidRuntime( 2055): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2262)
E/AndroidRuntime( 2055): at android.app.ActivityThread.access$1600(ActivityThread.java:122)
E/AndroidRuntime( 2055): at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1200)
E/AndroidRuntime( 2055): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime( 2055): at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 2055): at android.app.ActivityThread.main(ActivityThread.java:4340)
E/AndroidRuntime( 2055): at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2055): at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 2055): at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:784)
E/AndroidRuntime( 2055): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:551)
E/AndroidRuntime( 2055): at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 2055): Caused by: java.lang.RuntimeException: Tablet device cannot show navigation bar and system bar
E/AndroidRuntime( 2055): at com.android.systemui.statusbar.tablet.TabletStatusBar.makeStatusBarView(TabletStatusBar.java:451)
E/AndroidRuntime( 2055): at com.android.systemui.statusbar.StatusBar.start(StatusBar.java:64)
E/AndroidRuntime( 2055): at com.android.systemui.statusbar.tablet.TabletStatusBar.start(TabletStatusBar.java:390)
E/AndroidRuntime( 2055): at com.android.systemui.SystemUIService.onCreate(SystemUIService.java:93)
E/AndroidRuntime( 2055): at android.app.ActivityThread.handleCreateService(ActivityThread.java:2252)
~~~~~~~~~~~~~~~~~~~~~~~~
I understand the issue that it is a matter of setting the screen and device resolution. I had set the "ro.build.characteristics=tablet" in build.prop and rebooted, did not see any effect. Please note the lines in bold, blue.
Can you please help me to solve this problem.
Thanks and Regards,
Venkat.