OSDN Git Service

DO NOT MERGE back porting for fixing sysui direct reply
authorYohei Yukawa <yukawa@google.com>
Sat, 19 Jan 2019 19:49:37 +0000 (11:49 -0800)
committerManjae Park <manjaepark@google.com>
Mon, 16 Dec 2019 20:47:22 +0000 (12:47 -0800)
commitd888bf2d052fd89fbeb70c7829f9d0c6406c2cdd
treecfb76cd58060929d8ef314e0702678e34816992d
parent2683f740b8735244d2fd9c1d85aa8cf8ead308c2
DO NOT MERGE back porting for fixing sysui direct reply

Root cause: systemui run as user 0 service to handle all of users'
notifications. And, the users can user the copy/cut/paste
functionality.

Solution: To crate @hide API in TextView let SystemUI to mark the
TextView instance should check if the power of
INTERACT_ACROSS_USER_FULL is needed to be restricted.
e.x. Keyguard password textview/Notificaiton entries

Bug: 123232892
Test: manual test
Reference: I6d11e4d6a84570bc2991a8552349e8b216b0d139
Reference: Ibabe13e5b85e5bb91f9f8af6ec07c395c25c4393
Reference: I975baa748c821538e5a733bb98a33ac609bf40a7

Change-Id: I6d11e4d6a84570bc2991a8552349e8b216b0d139
Merged-In: Ie3daecd1e8fc2f7fdf37baeb5979da9f2e0b3937
(cherry picked from commit 08391b3da7e2da3b0220eb5766e0a1774d28e9a5)
core/java/android/widget/TextView.java
packages/SystemUI/src/com/android/keyguard/KeyguardPasswordView.java
packages/SystemUI/src/com/android/systemui/statusbar/policy/RemoteInputView.java