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:46:39 +0000 (12:46 -0800)
commit52c2856394ac8010ff3eba09ee385709d510953b
tree61018c48f41f91a212ec70c314fe51b8ee5e68a9
parentf7f0454eed816d59fde4d1b36c0c7e69987ead5c
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
Merged-In: I6d11e4d6a84570bc2991a8552349e8b216b0d139
(cherry picked from commit 08aae90860c4ece4d3448b32a31e5417c8490b47)
core/java/android/widget/TextView.java
packages/SystemUI/src/com/android/keyguard/KeyguardPasswordView.java
packages/SystemUI/src/com/android/systemui/statusbar/policy/RemoteInputView.java