Choose hwrotation at runtime

If the prop persist.twrp.rotation is set to 0, 90, 180, or 270,
that will be used. If the prop is not set, the existing rotation
board config flags will be honored.

Note: This flag will only rotate graphics. If a set of devices
needs differing touch rotation, that support will need added
separately.

Change-Id: I6996c07bc0ae7bb8555b3d480b2917a17a365eb3
5 files changed
tree: 257de8abb6096d2eb0c9abff43cf49f46e9c044d
  1. .github/
  2. adbbu/
  3. applypatch/
  4. attr/
  5. bmlutils/
  6. boot_control/
  7. bootloader_message/
  8. bootloader_message_twrp/
  9. crypto/
  10. dosfstools/
  11. edify/
  12. etc/
  13. exfat/
  14. fastboot/
  15. fb2png/
  16. flashutils/
  17. fonts/
  18. fuse/
  19. fuse_sideload/
  20. gpt/
  21. gui/
  22. htcdumlock/
  23. injecttwrp/
  24. install/
  25. libblkid/
  26. libcrecovery/
  27. libmincrypt/
  28. libpixelflinger/
  29. libtar/
  30. minadbd/
  31. minadbd21/
  32. minui/
  33. minuitwrp/
  34. minzip/
  35. misc_writer/
  36. mmcutils/
  37. mtdutils/
  38. mtp/
  39. openaes/
  40. orscmd/
  41. otafault/
  42. otautil/
  43. ozip_decrypt/
  44. pigz/
  45. prebuilt/
  46. recovery_ui/
  47. res/
  48. res-hdpi/
  49. res-mdpi/
  50. res-xhdpi/
  51. res-xxhdpi/
  52. res-xxxhdpi/
  53. scripts/
  54. sepolicy/
  55. simg2img/
  56. tests/
  57. tools/
  58. twrpDigest/
  59. twrpTarMain/
  60. uncrypt/
  61. update_verifier/
  62. updater/
  63. updater_sample/
  64. verifier28/
  65. .clang-format
  66. .gitignore
  67. Android.bp
  68. Android.mk
  69. BasePartition.cpp
  70. bootloader.h
  71. CleanSpec.mk
  72. common.h
  73. data.cpp
  74. data.hpp
  75. exclude.cpp
  76. exclude.hpp
  77. find_file.cpp
  78. find_file.hpp
  79. fixContexts.cpp
  80. fixContexts.hpp
  81. fsck_unshare_blocks.cpp
  82. fsck_unshare_blocks.h
  83. fuse.h
  84. infomanager.cpp
  85. infomanager.hpp
  86. interlace-frames.py
  87. legacy_properties.h
  88. mounts.c
  89. NOTICE
  90. openrecoveryscript.cpp
  91. openrecoveryscript.hpp
  92. OWNERS
  93. partition.cpp
  94. partitionmanager.cpp
  95. partitions.hpp
  96. PREUPLOAD.cfg
  97. progresstracking.cpp
  98. progresstracking.hpp
  99. README.md
  100. recovery-persist.cpp
  101. recovery-persist.rc
  102. recovery-refresh.cpp
  103. recovery-refresh.rc
  104. recovery.cpp
  105. recovery.h
  106. recovery_main.cpp
  107. recovery_ui.h
  108. tarWrite.c
  109. tarWrite.h
  110. twcommon.h
  111. twinstall.cpp
  112. twinstall.h
  113. twinstallorig.h
  114. twrp-functions.cpp
  115. twrp-functions.hpp
  116. twrp.cpp
  117. twrpAdbBuFifo.cpp
  118. twrpAdbBuFifo.hpp
  119. twrpApex.cpp
  120. twrpApex.hpp
  121. twrpDigestDriver.cpp
  122. twrpDigestDriver.hpp
  123. twrpRepacker.cpp
  124. twrpRepacker.hpp
  125. twrpTar.cpp
  126. twrpTar.h
  127. twrpTar.hpp
  128. variables.h