Code:frameworks/base/services/java/com/android/server/status/StatusBarView.java
/*
*Android Dispatch event through onTouchEvent in StatusBarService,So We
disable this.
*/
--- StatusBarView.java 2011-09-23 10:40:25.644511718 +0800
+++ StatusBarView.java.bk 2011-09-23 10:30:39.436518999 +0800
@@ -119,18 +119,16 @@
*/
@Override
public boolean onTouchEvent(MotionEvent event) {
- /*Jiujin.hong 2011 0923
if (event.getAction() != MotionEvent.ACTION_DOWN) {
mService.interceptTouchEvent(event);
- }*/
+ }
return true;
}
@Override
public boolean onInterceptTouchEvent(MotionEvent event) {
- /*Jiujin.hong 2011 0923
return mService.interceptTouchEvent(event)
- ? true : super.onInterceptTouchEvent(event);*/
+ ? true : super.onInterceptTouchEvent(event);
return true;
}
}
--
Chinese Name:Hong jiu jin
Android,Internet of Things,Embedded System Design and Develop
English Name:Tommy
Tel: +86 1367514 8249
Skype ID:hongjiujing
Gtalk ID:: [email protected] <talk%[email protected]>
Blog: http://internetofthings.blogbus.com/
Country:China
There are three types of people in this world: those who make things happen,
those who watch things happen and those who wonder what happened.
--
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting