macacajs / macacajs/macaca-android

Android autoAcceptAlerts=true与android:descendantFocusability="blocksDescendants" 冲突

Open
#81 1 comment 0 reactions 1 assignee View on GitHub

@paradite is already working on this.

Since Feb 23, 2019.

Dominant language
JavaScript
Stars
52
Forks
21
PR merge metrics
No merged PRs in 30d

Description

如果在脚本中设置autoAcceptAlerts=true,用来实现自动接收系统权限提示,但是假如ListView中嵌套Button、TextView时,如果设置android:descendantFocusability="blocksDescendants,这些按钮会被自动触发。建议Android autoAcceptAlerts=true时增加排除名单,减小误操作。

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.