commit | d399a52883520fbff3880163e9d245fdc66b178f | [log] [tgz] |
---|---|---|
author | Ashwini Oruganti <ashfall@google.com> | Thu Oct 10 11:16:45 2019 -0700 |
committer | Ashwini Oruganti <ashfall@google.com> | Tue Oct 15 10:43:31 2019 -0700 |
tree | 447bf0faa27c5d8b78a11391a4bd43dbcc15b016 | |
parent | e676761dc5600be49bac302cd416c4a168f86f8f [diff] |
Don't leak input events to dumpsys on user builds Add a check for ro.debuggable in before adding the details of KeyEvent and MotionEvent to logs. Bug: 139945049 Test: Tested on a device, the input functions work as expected and input event logs are not leaked to dumpsys on user builds. Change-Id: I98c9c375f18963177bf0c1d8829a217b4ad4acc6