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)
committerFelka Chang <felkachang@google.com>
Tue, 12 Nov 2019 02:40:42 +0000 (02:40 +0000)
commit08aae90860c4ece4d3448b32a31e5417c8490b47
treef316ed64cd65a80d80a1c349c3f53ae6f113215c
parent88c651eab144bf64acb1d99f11aabe983f23658c
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
core/java/android/widget/TextView.java
packages/SystemUI/src/com/android/keyguard/KeyguardPasswordView.java
packages/SystemUI/src/com/android/systemui/statusbar/policy/RemoteInputView.java