diff options
author | Siarhei Vishniakou <svv@google.com> | 2018-03-05 20:09:08 -0800 |
---|---|---|
committer | Siarhei Vishniakou <svv@google.com> | 2018-03-08 18:14:55 +0000 |
commit | e5e0d9fe510e3439dff7459bdef7ae5ee4173277 (patch) | |
tree | 7da2f1a7109aa3c04ef1804cc998683edd9e86bc /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | 5f6980af6e988670bef921956815c644d1a9c7e8 (diff) |
Use bool var judge whether the navi-keys enabled
[Performance] if device enabled the system navigation keys,the system
will go to readthe Settings.Secure.SYSTEM_NAVIGATION_KEYS_ENABLED
provider while the driverreport KEYCODE_SYSTEM_NAVIGATION_RIGHT
every times,this operation has a serious impact on performance
Test: cherry-picked from aosp
Bug: 74392035
Change-Id: Ia30d14c136b7798e2997d43bc601cb361c853e0d
Signed-off-by: 周雷 <zhoulei5@xiaomi.com>
(cherry picked from commit 6aed2ee2082c5ae2319a9e0e333e3d030ce75345)
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions