初始化变量
/build/make/tools/buildinfo.sh
echo "persist.sys.touch.rotation=90"
/frameworks/native/services/inputflinger/reader/mapper/TouchInputMapper.cpp
![](https://i-blog.csdnimg.cn/blog_migrate/15df6161ac4ee0869dd58905295bf44f.png)
应用中通过变量persist.sys.touch.rotation获
初始化变量
/build/make/tools/buildinfo.sh
echo "persist.sys.touch.rotation=90"
/frameworks/native/services/inputflinger/reader/mapper/TouchInputMapper.cpp
应用中通过变量persist.sys.touch.rotation获