[Nexus 7 Android Development] AAccount:
I tried doing the manual source patch shown here http://xdaforums.com/showpost.php?p=35108798&postcount=926 and I got this error in adb. Basically, everything works fine as long as you don't try to click on the date to get notifications or try out the toggles.

W/dalvikvm( 1633): threadid=1: thread exiting with uncaught exception (group=0x40df0930)
E/AndroidRuntime( 1633): FATAL EXCEPTION: main
E/AndroidRuntime( 1633): java.lang.ClassCastException: android.widget.LinearLayout cannot be cast to android.widget.RelativeLayout
E/AndroidRuntime( 1633):	at com.android.systemui.statusbar.policy.DateView.onDraw(DateView.java:91)
E/AndroidRuntime( 1633):	at android.view.View.draw(View.java:13707)
E/AndroidRuntime( 1633):	at android.view.View.getDisplayList(View.java:12645)
E/AndroidRuntime( 1633):	at android.view.View.getDisplayList(View.java:12689)
E/AndroidRuntime( 1633):	at android.view.View.draw(View.java:13423)
E/AndroidRuntime( 1633):	at android.view.ViewGroup.drawChild(ViewGroup.java:2928)
E/AndroidRuntime( 1633):	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2797)
E/AndroidRuntime( 1633):	at android.view.View.getDisplayList(View.java:12643)
E/AndroidRuntime( 1633):	at android.view.View.getDisplayList(View.java:12689)
E/AndroidRuntime( 1633):	at android.view.View.draw(View.java:13423)
E/AndroidRuntime( 1633):	at android.view.ViewGroup.drawChild(ViewGroup.java:2928)
E/AndroidRuntime( 1633):	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2797)
E/AndroidRuntime( 1633):	at android.view.View.draw(View.java:13710)
E/AndroidRuntime( 1633):	at android.view.View.getDisplayList(View.java:12645)
E/AndroidRuntime( 1633):	at android.view.View.getDisplayList(View.java:12689)
E/AndroidRuntime( 1633):	at android.view.View.draw(View.java:13423)
E/AndroidRuntime( 1633):	at android.view.ViewGroup.drawChild(ViewGroup.java:2928)
E/AndroidRuntime( 1633):	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2797)
E/AndroidRuntime( 1633):	at android.view.View.draw(View.java:13710)
E/AndroidRuntime( 1633):	at android.view.View.getDisplayList(View.java:12645)
E/AndroidRuntime( 1633):	at android.view.View.getDisplayList(View.java:12689)
E/AndroidRuntime( 1633):	at android.view.View.draw(View.java:13423)
E/AndroidRuntime( 1633):	at android.view.ViewGroup.drawChild(ViewGroup.java:2928)
E/AndroidRuntime( 1633):	at android.view.ViewGroup.dispatchDraw(ViewGroup.java:2797)
E/AndroidRuntime( 1633):	at android.view.View.draw(View.java:13710)
E/AndroidRuntime( 1633):	at android.view.View.getDisplayList(View.java:12645)
E/AndroidRuntime( 1633):	at android.view.View.getHardwareLayerDisplayList(View.java:12674)
E/AndroidRuntime( 1633):	at android.view.View.getHardwareLayer(View.java:12401)
E/AndroidRuntime( 1633):	at android.view.View.getDisplayList(View.java:12614)
E/AndroidRuntime( 1633):	at android.view.View.getDisplayList(View.java:12689)
E/AndroidRuntime( 1633):	at android.view.HardwareRenderer$GlRenderer.draw(HardwareRenderer.java:1198)
E/AndroidRuntime( 1633):	at android.view.ViewRootImpl.draw(ViewRootImpl.java:2173)
E/AndroidRuntime( 1633):	at android.view.ViewRootImpl.performDraw(ViewRootImpl.java:2045)
E/AndroidRuntime( 1633):	at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:1854)
E/AndroidRuntime( 1633):	at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:989)
E/AndroidRuntime( 1633):	at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:4351)
E/AndroidRuntime( 1633):	at android.view.Choreographer$CallbackRecord.run(Choreographer.java:749)
E/AndroidRuntime( 1633):	at android.view.Choreographer.doCallbacks(Choreographer.java:562)
E/AndroidRuntime( 1633):	at android.view.Choreographer.doFrame(Choreographer.java:532)
E/AndroidRuntime( 1633):	at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:735)
E/AndroidRuntime( 1633):	at android.os.Handler.handleCallback(Handler.java:725)
E/AndroidRuntime( 1633):	at android.os.Handler.dispatchMessage(Handler.java:92)
E/AndroidRuntime( 1633):	at android.os.Looper.loop(Looper.java:137)
E/AndroidRuntime( 1633):	at android.app.ActivityThread.main(ActivityThread.java:5191)
E/AndroidRuntime( 1633):	at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 1633):	at java.lang.reflect.Method.invoke(Method.java:511)
E/AndroidRuntime( 1633):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:795)
E/AndroidRuntime( 1633):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:562)
E/AndroidRuntime( 1633):	at dalvik.system.NativeStart.main(Native Method)
W/ActivityManager( 457): Process com.android.systemui has crashed too many times: killing!
I/Process ( 1633): Sending signal. PID: 1633 SIG: 9
W/InputDispatcher( 457): channel '41317ca0 SystemBar (server)' ~ Consumer closed input channel or an error occurred. events=0x9
E/InputDispatcher( 457): channel '41317ca0 SystemBar (server)' ~ Channel is unrecoverably broken and will be disposed!
W/InputDispatcher( 457): channel '41344558 NotificationPanel (server)' ~ Consumer closed input channel or an error occurred. events=0x9
E/InputDispatcher( 457): channel '41344558 NotificationPanel (server)' ~ Channel is unrecoverably broken and will be disposed!
W/InputDispatcher( 457): channel '413608c0 SearchPanel (server)' ~ Consumer closed input channel or an error occurred. events=0x9
E/InputDispatcher( 457): channel '413608c0 SearchPanel (server)' ~ Channel is unrecoverably broken and will be disposed!
W/InputDispatcher( 457): channel '41354bf8 com.android.systemui.ImageWallpaper (server)' ~ Consumer closed input channel or an error occurred. events=0x9
E/InputDispatcher( 457): channel '41354bf8 com.android.systemui.ImageWallpaper (server)' ~ Channel is unrecoverably broken and will be disposed!
W/InputDispatcher( 457): channel '415ea158 InputMethodsPanel (server)' ~ Consumer closed input channel or an error occurred. events=0x9
E/InputDispatcher( 457): channel '415ea158 InputMethodsPanel (server)' ~ Channel is unrecoverably broken and will be disposed!
W/InputDispatcher( 457): channel '415f1cd0 CompatModePanel (server)' ~ Consumer closed input channel or an error occurred. events=0x9
E/InputDispatcher( 457): channel '415f1cd0 CompatModePanel (server)' ~ Channel is unrecoverably broken and will be disposed!
W/InputDispatcher( 457): Attempted to unregister already unregistered input channel '41354bf8 com.android.systemui.ImageWallpaper (server)'
I/WindowState( 457): WIN DEATH: Window{41354bf8 u0 com.android.systemui.ImageWallpaper}
I/ActivityManager( 457): Process com.android.systemui (pid 1633) has died.
W/ActivityManager( 457): Scheduling restart of crashed service com.android.systemui/.ImageWallpaper in 0ms
W/ActivityManager( 457): Scheduling restart of crashed service com.android.systemui/.SystemUIService in 0ms
W/WallpaperService( 457): Wallpaper service gone: ComponentInfo{com.android.systemui/com.android.systemui.ImageWallpaper}
W/WallpaperService( 457): Reverting to built-in wallpaper!
W/InputDispatcher( 457): Attempted to unregister already unregistered input channel '41344558 NotificationPanel (server)'
W/InputDispatcher( 457): Attempted to unregister already unregistered input channel '415f1cd0 CompatModePanel (server)'
W/InputDispatcher( 457): Attempted to unregister already unregistered input channel '415ea158 InputMethodsPanel (server)'
I/WindowState( 457): WIN DEATH: Window{41344558 u0 NotificationPanel}
I/WindowState( 457): WIN DEATH: Window{415f1cd0 u0 CompatModePanel}
I/WindowState( 457): WIN DEATH: Window{415ea158 u0 InputMethodsPanel}
W/InputDispatcher( 457): Attempted to unregister already unregistered input channel '413608c0 SearchPanel (server)'
W/InputDispatcher( 457): Attempted to unregister already unregistered input channel '41317ca0 SystemBar (server)'
I/ActivityManager( 457): Start proc com.android.systemui for restart com.android.systemui: pid=1654 uid=10037 gids={50037, 1028, 1015, 3002, 3001}
I/WindowState( 457): WIN DEATH: Window{413608c0 u0 SearchPanel}
I/WindowState( 457): WIN DEATH: Window{41317ca0 u0 SystemBar}
W/InputMethodManagerService( 457): Window already focused, ignoring focus gain of: com.android.internal.view.IInputMethodClient$Stub$Proxy@412cfd98 attribute=null, token = android.os.BinderProxy@41465d40
E/Trace ( 1654): error opening trace file: No such file or directory (2)