improved LG X100S dialer detection
This commit is contained in:
parent
17b8a30f44
commit
bf91db2bcb
1 changed files with 2 additions and 2 deletions
|
|
@ -42,11 +42,11 @@ public class InputType extends StandardInputType {
|
|||
|
||||
|
||||
public boolean isLgX100SDialer() {
|
||||
int imeOptions = EditorInfo.IME_ACTION_DONE | EditorInfo.IME_FLAG_NO_ENTER_ACTION | EditorInfo.IME_FLAG_NAVIGATE_PREVIOUS;
|
||||
int imeOptions = EditorInfo.IME_ACTION_DONE | EditorInfo.IME_FLAG_NO_ENTER_ACTION;
|
||||
return
|
||||
DeviceInfo.isLgX100S()
|
||||
&& isAppField("com.android.contacts", EditorInfo.TYPE_CLASS_PHONE)
|
||||
&& field.imeOptions == imeOptions;
|
||||
&& ((field.imeOptions & imeOptions) == imeOptions);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue