commit | 86c64ea75c291838893bcc15ad7b2bb4b88af3ae | [log] [tgz] |
---|---|---|
author | Masayuki Takeda <takeda.masayuki@sharp.co.jp> | Mon Dec 14 10:39:50 2015 +0900 |
committer | Masayuki Takeda <takeda.masayuki@sharp.co.jp> | Mon Dec 14 10:39:50 2015 +0900 |
tree | 6dbaafaab9b04728f9176b0b452f2f25b2c73e94 | |
parent | 45281287132a7dcb45f12875528c817553bf7ba6 [diff] |
Modify the y-coordinate of touch events in testTouchEvent If the status bar height is larger than 100px, the coordinate of touch events is located on the status bar. In that case, testTouchEvent() fails because SecurityException is thrown. The reason of SecurityException is "Injecting to another application requires INJECT_EVENTS permission". Change-Id: I985343f6e7ee6167a1b6c4ebf0d359ff5c85f1b4