summaryrefslogtreecommitdiff
path: root/native/android/sensor.cpp
diff options
context:
space:
mode:
authorChad Brubaker <cbrubaker@google.com>2017-03-02 15:56:43 -0800
committerChad Brubaker <cbrubaker@google.com>2017-03-06 09:53:27 -0800
commit34ffba62b351abf4710a9e64ed345658d2069c37 (patch)
tree1351a6493fddcc9f6f35d13915e8425edb50e74a /native/android/sensor.cpp
parent748bf77274f6b1badc18c0f2b2f9e54fb7f282e8 (diff)
Limit instant app access to clipboard
Instant apps can access the clipboard (both read and write) in order for copy/paste UI to work correctly. In order to limit the exposure of user data Instant Apps can only access the clipboard while running in the foreground. Longer term it would be nice to gate Instant Apps clipboard access around user interaction to prevent shenanigains, but this is a good start. Test: Manually verified that ClipboardManager.getPrimaryClip returns null when the instant app transitions out of the foreground Bug: 34231507 Change-Id: I7ea83e503d249c61e9df2d8bd83028e24705be11
Diffstat (limited to 'native/android/sensor.cpp')
0 files changed, 0 insertions, 0 deletions