Hi All,
I am working on an adding a FLAG similar to FLAG_IGNORE_CHEEK_PRESSES.
I have added an entry in the WindowManager.java for my flag and in the
Phone application activity incallscreen.java i have added this flag
along with FLAG_IGNORE_CHEEK_PRESSES using
getWindow().addFlags(WindowManager.LayoutParams.MY_FLAG_ENTRY). Also
in the dispatchPointer method of WindowManagerService.java i am
checking for this current window flag along with
FLAG_IGNORE_CHEEK_PRESSES.
I have following queries:
1. Is this only i need to do to create a new flag and application can
then register for this one ?
2. Also i commented the statement
getWindow().addFlags(WindowManager.LayoutParams.FLAG_IGNORE_CHEEK_PRESSES)
in the InCallScreen.java but still i could see that the condition
if ((target.mAttrs.flags &
WindowManager.LayoutParams.FLAG_IGNORE_CHEEK_PRESSES) != 0) {
being satisfied. Can someone let me about this?
Thanks in advance
Rahul
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en