Don't interpret ABS_MT_TOUCH_MAJOR == 0 as touch release

On n8013 at least, this event is sometimes/often sent on touch start which
causes touches to be randomly rejected and throws you back to the start screen.

Touch releases still work fine for me, since it sends ABS_MT_TRACKING_ID == -1
for that purpose.

Adds a flag TW_IGNORE_MAJOR_AXIS_0 to configure this behavior.

Change-Id: I14bb036a2c2d4ee676b642c3ab297c55bb6c2084
2 files changed
tree: 8ed385ce2bd7b2013f44f920805c66f54aeeb4d7
  1. applypatch/
  2. bmlutils/
  3. crypto/
  4. digest/
  5. dosfstools/
  6. edify/
  7. etc/
  8. exfat/
  9. fb2png/
  10. flashutils/
  11. fonts/
  12. fuse/
  13. gui/
  14. htcdumlock/
  15. injecttwrp/
  16. libblkid/
  17. libcrecovery/
  18. libmincrypt/
  19. libtar/
  20. minadbd/
  21. minelf/
  22. minui/
  23. minuitwrp/
  24. minzip/
  25. minzipold/
  26. mmcutils/
  27. mtdutils/
  28. openaes/
  29. pigz/
  30. prebuilt/
  31. res/
  32. testdata/
  33. toolbox/
  34. tools/
  35. updater/
  36. .gitignore
  37. adb_install.cpp
  38. adb_install.h
  39. Android.mk
  40. bootloader.cpp
  41. bootloader.h
  42. CleanSpec.mk
  43. common.h
  44. data.cpp
  45. data.h
  46. data.hpp
  47. default_device.cpp
  48. device.h
  49. fixPermissions.cpp
  50. fixPermissions.hpp
  51. install.cpp
  52. install.h
  53. make-overlay.py
  54. mounts.c
  55. mounts.h
  56. NOTICE
  57. openrecoveryscript.cpp
  58. openrecoveryscript.hpp
  59. partition.cpp
  60. partitionmanager.cpp
  61. partitions.hpp
  62. README.md
  63. recovery.cpp
  64. recovery_ui.h
  65. roots.cpp
  66. roots.h
  67. screen_ui.cpp
  68. screen_ui.h
  69. tarWrite.c
  70. tarWrite.h
  71. twbootloader.cpp
  72. twcommon.h
  73. twinstall.cpp
  74. twinstall.h
  75. twrp-functions.cpp
  76. twrp-functions.hpp
  77. twrp.cpp
  78. twrpDigest.cpp
  79. twrpDigest.hpp
  80. twrpDU.cpp
  81. twrpDU.hpp
  82. twrpTar.cpp
  83. twrpTar.h
  84. twrpTar.hpp
  85. ui.cpp
  86. ui.h
  87. variables.h
  88. verifier.cpp
  89. verifier.h
  90. verifier_test.cpp
  91. verifier_test.sh
README.md

Team Win Recovery Project (TWRP)

The goal of this branch is to rebase TWRP onto AOSP while maintaining as much of the original AOSP code as possible. This goal should allow us to apply updates to the AOSP code going forward with little to no extra work. With this goal in mind, we will carefully consider any changes needed to the AOSP code before allowing them. In most cases, instead of changing the AOSP code, we'll create our own functions instead. The only changes that should be made to AOSP code should be those affecting startup of the recovery and some of the make files.

If there are changes that need to be merged from AOSP, we will pull the change directly from AOSP instead of creating a new patch in order to prevent merge conflicts with AOSP.

This branch is under final testing and will be used shortly for public builds, but has not officially been released.

You can find a compiling guide here.

More information about the project.

If you have code changes to submit those should be pushed to our gerrit instance. A guide can be found here.