Hi All,

I am working on an application which should not receive CHEEK_EVENT.
Currently Phone app is using the flag to suppress the cheek events in
the IncallScreen.java by setting the flag for the window using
getWindow().addFlags(WindowManager.LayoutParams.FLAG_IGNORE_CHEEK_PRESSES).
and i also saw that in the target window flag is checked with the
"FLAG_IGNORE_CHEEK_PRESSES" and then events are changed to
ACTION_CANCEL and sent to application. In order to disable cheek
events in my application should i also just add the flag by using
getWindow().addFlags(WindowManager.LayoutParams.FLAG_IGNORE_CHEEK_PRESSES)
in one of the activity and when the activity is active then the cheek
events will be ignored ? Please help in clarifying this doubt.

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

Reply via email to