OSDN Git Service

android-x86/packages-apps-Settings.git
6 years agoDO NOT MERGE. ActivityPicker shouldn't grant permissions. am: f32a4fad5d am: 7c41707e...
Jeff Sharkey [Wed, 11 Oct 2017 21:24:25 +0000 (21:24 +0000)]
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: f32a4fad5d am: 7c41707eaf am: 979efb53d0 am: fe1daa6eda am: efe9e7e003  -s ours
am: 47bc5fba05

Change-Id: Icf6b9c17a843608befc1250a9fdcf8a10dfa8848

6 years agoDO NOT MERGE. ActivityPicker shouldn't grant permissions. am: f32a4fad5d am: 7c41707e...
Jeff Sharkey [Wed, 11 Oct 2017 21:12:41 +0000 (21:12 +0000)]
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: f32a4fad5d am: 7c41707eaf am: 979efb53d0 am: fe1daa6eda
am: efe9e7e003  -s ours

Change-Id: If71fe96139c86fce8be3d1866342a050df3c9f6f

6 years agoDO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 1cdc675d7d am: 0bcee253...
Jeff Sharkey [Wed, 11 Oct 2017 21:10:10 +0000 (21:10 +0000)]
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 1cdc675d7d am: 0bcee25346 am: 46bc2bd7bd  -s ours
am: b410435a21

Change-Id: I91421c6629af2131e7aaeadac048c92da9653212

6 years agoMerge "DO NOT MERGE. ActivityPicker shouldn't grant permissions." into oc-dev
Jeff Sharkey [Wed, 11 Oct 2017 21:09:20 +0000 (21:09 +0000)]
Merge "DO NOT MERGE. ActivityPicker shouldn't grant permissions." into oc-dev
am: 9c39da39df

Change-Id: Ic7566b0972c30c9e7b5a183888238eca44709d47

6 years agoDO NOT MERGE. ActivityPicker shouldn't grant permissions. am: f32a4fad5d am: 7c41707e...
Jeff Sharkey [Wed, 11 Oct 2017 20:57:51 +0000 (20:57 +0000)]
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: f32a4fad5d am: 7c41707eaf am: 979efb53d0
am: fe1daa6eda

Change-Id: I943b70a1dfc085ff0a4e4e46afb29aec1aa6c965

6 years agoDO NOT MERGE. ActivityPicker shouldn't grant permissions. am: f32a4fad5d am: 7c41707eaf
Jeff Sharkey [Wed, 11 Oct 2017 20:44:53 +0000 (20:44 +0000)]
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: f32a4fad5d am: 7c41707eaf
am: 979efb53d0

Change-Id: Iad023fb1a0ff8fded7963b5e7087457803fe213c

6 years agoDO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 1cdc675d7d am: 0bcee25346
Jeff Sharkey [Wed, 11 Oct 2017 20:39:07 +0000 (20:39 +0000)]
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 1cdc675d7d am: 0bcee25346
am: 46bc2bd7bd  -s ours

Change-Id: I55b5048ea4ecb689a7d483afeb174a153cc54fdc

6 years agoMerge "DO NOT MERGE. ActivityPicker shouldn't grant permissions." into oc-dev
TreeHugger Robot [Wed, 11 Oct 2017 20:32:55 +0000 (20:32 +0000)]
Merge "DO NOT MERGE. ActivityPicker shouldn't grant permissions." into oc-dev

6 years agoDO NOT MERGE. ActivityPicker shouldn't grant permissions. am: f32a4fad5d
Jeff Sharkey [Wed, 11 Oct 2017 20:29:25 +0000 (20:29 +0000)]
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: f32a4fad5d
am: 7c41707eaf

Change-Id: Ifc8c25371b0d2062e4c51ee6fcbf75e275331b30

6 years agoDO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 1cdc675d7d
Jeff Sharkey [Wed, 11 Oct 2017 20:28:11 +0000 (20:28 +0000)]
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 1cdc675d7d
am: 0bcee25346

Change-Id: I22114cc686a52c94234fbbc659998ab183c1747d

6 years agoDO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 8441943bfa -s ours
Jeff Sharkey [Wed, 11 Oct 2017 20:27:42 +0000 (20:27 +0000)]
DO NOT MERGE. ActivityPicker shouldn't grant permissions. am: 8441943bfa  -s ours
am: 70387afef9

Change-Id: Id60f3d902a5a2710310613ea0d12796ea46af931

6 years agoDO NOT MERGE. ActivityPicker shouldn't grant permissions.
Jeff Sharkey [Wed, 11 Oct 2017 20:25:11 +0000 (20:25 +0000)]
DO NOT MERGE. ActivityPicker shouldn't grant permissions.
am: f32a4fad5d

Change-Id: I54e65289ff205196bd4fba9f0d40dc1f9f116e2b

6 years agoDO NOT MERGE. ActivityPicker shouldn't grant permissions.
Jeff Sharkey [Wed, 11 Oct 2017 20:24:16 +0000 (20:24 +0000)]
DO NOT MERGE. ActivityPicker shouldn't grant permissions.
am: 1cdc675d7d

Change-Id: I117d8a1f9ab46f375277511da8f59df2db771cb7

6 years agoDO NOT MERGE. ActivityPicker shouldn't grant permissions.
Jeff Sharkey [Wed, 11 Oct 2017 20:24:05 +0000 (20:24 +0000)]
DO NOT MERGE. ActivityPicker shouldn't grant permissions.
am: 8441943bfa  -s ours

Change-Id: I5c1980e7fb722d4d00194f3c953c91304137eea3

6 years agoDO NOT MERGE. ActivityPicker shouldn't grant permissions.
Jeff Sharkey [Mon, 12 Jun 2017 23:33:58 +0000 (17:33 -0600)]
DO NOT MERGE. ActivityPicker shouldn't grant permissions.

This picker has no business granting any Uri permissions, so remove
any grant flags that malicious apps may have tried sneaking in.

Test: builds, boots
Bug: 32879772
Change-Id: I91c48c73287a271bd6c99e60e216dead22e68764
(cherry picked from commit 3f218e8431cb5648bcb46131551c133ba53ef870)

6 years agoDO NOT MERGE. ActivityPicker shouldn't grant permissions.
Jeff Sharkey [Mon, 12 Jun 2017 23:33:58 +0000 (17:33 -0600)]
DO NOT MERGE. ActivityPicker shouldn't grant permissions.

This picker has no business granting any Uri permissions, so remove
any grant flags that malicious apps may have tried sneaking in.

Test: builds, boots
Bug: 32879772
Change-Id: I91c48c73287a271bd6c99e60e216dead22e68764
(cherry picked from commit 3f218e8431cb5648bcb46131551c133ba53ef870)

6 years agoDO NOT MERGE. ActivityPicker shouldn't grant permissions.
Jeff Sharkey [Mon, 12 Jun 2017 23:33:58 +0000 (17:33 -0600)]
DO NOT MERGE. ActivityPicker shouldn't grant permissions.

This picker has no business granting any Uri permissions, so remove
any grant flags that malicious apps may have tried sneaking in.

Test: builds, boots
Bug: 32879772
Change-Id: I91c48c73287a271bd6c99e60e216dead22e68764
(cherry picked from commit 3f218e8431cb5648bcb46131551c133ba53ef870)

6 years agoDO NOT MERGE. ActivityPicker shouldn't grant permissions.
Jeff Sharkey [Mon, 12 Jun 2017 23:33:58 +0000 (17:33 -0600)]
DO NOT MERGE. ActivityPicker shouldn't grant permissions.

This picker has no business granting any Uri permissions, so remove
any grant flags that malicious apps may have tried sneaking in.

Test: builds, boots
Bug: 32879772
Change-Id: I91c48c73287a271bd6c99e60e216dead22e68764
(cherry picked from commit 3f218e8431cb5648bcb46131551c133ba53ef870)

6 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 6 Sep 2017 15:36:23 +0000 (08:36 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: Ic5ea1a8891c0c4cb30fa9466e2416dd469768814

6 years agoresolve merge conflicts of 94c5202965 to oc-dr1-dev
Phil Weaver [Tue, 29 Aug 2017 20:36:21 +0000 (13:36 -0700)]
resolve merge conflicts of 94c5202965 to oc-dr1-dev

Bug: 62196835
Test: I solemnly swear I tested this conflict resolution.

Merged-In: I7c8d8b4143a5dd1cb684c31c4503608c8d5be0e3
Change-Id: I1bd77f165d1206ea139961bc0c42ad74c1d4bfaf

6 years agoBackport overlay security fix
Phil Weaver [Sat, 19 Aug 2017 01:08:12 +0000 (18:08 -0700)]
Backport overlay security fix

Replacing app opps fix with the flag that is used
elsewhere.

Bug: 37442941
Test: Verified that toast and system overlay still goes
away on permission and a11y service capability screens.

Merged-In: I7c8d8b4143a5dd1cb684c31c4503608c8d5be0e3

Change-Id: I858f3585b2e7d334cddcf38bd0ac6481e778b6b6

6 years agoImport translations. DO NOT MERGE
Bill Yi [Thu, 24 Aug 2017 05:15:37 +0000 (22:15 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: I452434cbf7282ba20233b9345b75ebdf9251ef98

6 years agoDisabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155e...
Suprabh Shukla [Wed, 16 Aug 2017 20:42:38 +0000 (20:42 +0000)]
Disabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155ea  -s ours am: 889036189b  -s ours am: 9acf640efd  -s ours am: 29c1777ca5  -s ours am: 694ab09ff3  -s ours am: a92a7e400f  -s ours am: cf0caf8f22  -s ours am: 3ce6d3ee87  -s ours am: 202970aa92  -s ours am: 81ba0cc873  -s ours am: 82afc6c5fd  -s ours am: 23e185adf8  -s ours am: 5d4a2bb844  -s ours
am: b4678ce1d2  -s ours

Change-Id: I199cfbc0ec36904483c35aa9712ab471cf5b4ec2

6 years agoDisabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f...
Suprabh Shukla [Wed, 16 Aug 2017 20:41:48 +0000 (20:41 +0000)]
Disabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f2  -s ours am: 78a9d598f1  -s ours am: 0dba51f9f0  -s ours am: 7bd8e120cb  -s ours am: d22de194f5  -s ours am: de8e1f4be5  -s ours am: b2f5566de5  -s ours am: 05fec2162a  -s ours am: df39274478  -s ours am: a6b4e032c8  -s ours
am: 28f6dd01bc  -s ours

Change-Id: If16f17e144156b08dc9fea587178cad18dc370e7

6 years agoDisabling the activate button when paused am: af5d8b9b03 am: 26f4aceece am: ccad4a362...
Suprabh Shukla [Wed, 16 Aug 2017 20:40:59 +0000 (20:40 +0000)]
Disabling the activate button when paused am: af5d8b9b03 am: 26f4aceece am: ccad4a3621 am: 72beaddfd4  -s ours am: 2e6cf5dcde  -s ours am: 817c35056c  -s ours am: 6d7bb4c4d0  -s ours am: 3dd026d5dc  -s ours am: 142433924f  -s ours
am: 0e22588ed0  -s ours

Change-Id: I7243a50b7d64e1ee63d85e4ce5467217c76d7bce

6 years agoDisabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155e...
Suprabh Shukla [Wed, 16 Aug 2017 20:25:12 +0000 (20:25 +0000)]
Disabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155ea  -s ours am: 889036189b  -s ours am: 9acf640efd  -s ours am: 29c1777ca5  -s ours am: 694ab09ff3  -s ours am: a92a7e400f  -s ours am: cf0caf8f22  -s ours am: 3ce6d3ee87  -s ours am: 202970aa92  -s ours am: 81ba0cc873  -s ours am: 82afc6c5fd  -s ours am: 23e185adf8  -s ours
am: 5d4a2bb844  -s ours

Change-Id: I949bed4c34aeea91e85eae01ffbf812e486ac5d8

6 years agoDisabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f...
Suprabh Shukla [Wed, 16 Aug 2017 20:24:28 +0000 (20:24 +0000)]
Disabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f2  -s ours am: 78a9d598f1  -s ours am: 0dba51f9f0  -s ours am: 7bd8e120cb  -s ours am: d22de194f5  -s ours am: de8e1f4be5  -s ours am: b2f5566de5  -s ours am: 05fec2162a  -s ours am: df39274478  -s ours
am: a6b4e032c8  -s ours

Change-Id: I141ba4edaa9fa21b95d7f8d353764db26d9a5b6a

6 years agoDisabling the activate button when paused am: af5d8b9b03 am: 26f4aceece am: ccad4a362...
Suprabh Shukla [Wed, 16 Aug 2017 20:23:41 +0000 (20:23 +0000)]
Disabling the activate button when paused am: af5d8b9b03 am: 26f4aceece am: ccad4a3621 am: 72beaddfd4  -s ours am: 2e6cf5dcde  -s ours am: 817c35056c  -s ours am: 6d7bb4c4d0  -s ours am: 3dd026d5dc  -s ours
am: 142433924f  -s ours

Change-Id: Id62e3af77aba546d3a83a8467dc60af88fbf6083

6 years agoDisabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155e...
Suprabh Shukla [Wed, 16 Aug 2017 20:22:36 +0000 (20:22 +0000)]
Disabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155ea  -s ours am: 889036189b  -s ours am: 9acf640efd  -s ours am: 29c1777ca5  -s ours am: 694ab09ff3  -s ours am: a92a7e400f  -s ours am: cf0caf8f22  -s ours am: 3ce6d3ee87  -s ours am: 202970aa92  -s ours am: 81ba0cc873  -s ours am: 82afc6c5fd  -s ours
am: 23e185adf8  -s ours

Change-Id: I28fb4049f4c3a51d163cc77b60358736d082604e

6 years agoDisabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f...
Suprabh Shukla [Wed, 16 Aug 2017 20:18:15 +0000 (20:18 +0000)]
Disabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f2  -s ours am: 78a9d598f1  -s ours am: 0dba51f9f0  -s ours am: 7bd8e120cb  -s ours am: d22de194f5  -s ours am: de8e1f4be5  -s ours am: b2f5566de5  -s ours am: 05fec2162a  -s ours
am: df39274478  -s ours

Change-Id: I487f45dcd45eecbc587af45bdc748c842d6414d6

6 years agoDisabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155e...
Suprabh Shukla [Wed, 16 Aug 2017 20:17:34 +0000 (20:17 +0000)]
Disabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155ea  -s ours am: 889036189b  -s ours am: 9acf640efd  -s ours am: 29c1777ca5  -s ours am: 694ab09ff3  -s ours am: a92a7e400f  -s ours am: cf0caf8f22  -s ours am: 3ce6d3ee87  -s ours am: 202970aa92  -s ours am: 81ba0cc873  -s ours
am: 82afc6c5fd  -s ours

Change-Id: If3e96fdcd076bfe522b32726d05bef5f5a605d6a

6 years agoDisabling the activate button when paused am: af5d8b9b03 am: 26f4aceece am: ccad4a362...
Suprabh Shukla [Wed, 16 Aug 2017 20:17:28 +0000 (20:17 +0000)]
Disabling the activate button when paused am: af5d8b9b03 am: 26f4aceece am: ccad4a3621 am: 72beaddfd4  -s ours am: 2e6cf5dcde  -s ours am: 817c35056c  -s ours am: 6d7bb4c4d0  -s ours
am: 3dd026d5dc  -s ours

Change-Id: I55000b3f1b300a833bb643816413a83d65ebedec

6 years agoDisabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155e...
Suprabh Shukla [Wed, 16 Aug 2017 20:14:42 +0000 (20:14 +0000)]
Disabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155ea  -s ours am: 889036189b  -s ours am: 9acf640efd  -s ours am: 29c1777ca5  -s ours am: 694ab09ff3  -s ours am: a92a7e400f  -s ours am: cf0caf8f22  -s ours am: 3ce6d3ee87  -s ours am: 202970aa92  -s ours
am: 81ba0cc873  -s ours

Change-Id: I53467a6c6802c65bf458afa8fd800954bc91f99b

6 years agoDisabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155e...
Suprabh Shukla [Wed, 16 Aug 2017 20:10:37 +0000 (20:10 +0000)]
Disabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155ea  -s ours am: 889036189b  -s ours am: 9acf640efd  -s ours am: 29c1777ca5  -s ours am: 694ab09ff3  -s ours am: a92a7e400f  -s ours am: cf0caf8f22  -s ours am: 3ce6d3ee87  -s ours
am: 202970aa92  -s ours

Change-Id: Ic1b3450cc4d3cf70cf95b6f80e0b5fd82ff61446

6 years agoDisabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f...
Suprabh Shukla [Wed, 16 Aug 2017 20:09:35 +0000 (20:09 +0000)]
Disabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f2  -s ours am: 78a9d598f1  -s ours am: 0dba51f9f0  -s ours am: 7bd8e120cb  -s ours am: d22de194f5  -s ours am: de8e1f4be5  -s ours am: b2f5566de5  -s ours
am: 05fec2162a  -s ours

Change-Id: I75623b15f15658930e459710fb46cc2f55d788e8

6 years agoDisabling the activate button when paused am: af5d8b9b03 am: 26f4aceece am: ccad4a362...
Suprabh Shukla [Wed, 16 Aug 2017 20:08:56 +0000 (20:08 +0000)]
Disabling the activate button when paused am: af5d8b9b03 am: 26f4aceece am: ccad4a3621 am: 72beaddfd4  -s ours am: 2e6cf5dcde  -s ours am: 817c35056c  -s ours
am: 6d7bb4c4d0  -s ours

Change-Id: I3e042c60b170bf709b0848bc2746f0cba6afbbcf

6 years agoDisabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155e...
Suprabh Shukla [Wed, 16 Aug 2017 20:06:04 +0000 (20:06 +0000)]
Disabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155ea  -s ours am: 889036189b  -s ours am: 9acf640efd  -s ours am: 29c1777ca5  -s ours am: 694ab09ff3  -s ours am: a92a7e400f  -s ours am: cf0caf8f22  -s ours
am: 3ce6d3ee87  -s ours

Change-Id: I8afbb6a39eb1cffe0cafc94a4b3c98629afce27c

6 years agoDisabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f...
Suprabh Shukla [Wed, 16 Aug 2017 20:04:24 +0000 (20:04 +0000)]
Disabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f2  -s ours am: 78a9d598f1  -s ours am: 0dba51f9f0  -s ours am: 7bd8e120cb  -s ours am: d22de194f5  -s ours am: de8e1f4be5  -s ours
am: b2f5566de5  -s ours

Change-Id: I12e7f9916aafaadb653e85c0af3de506b3a652a7

6 years agoDisabling the activate button when paused am: af5d8b9b03 am: 26f4aceece am: ccad4a362...
Suprabh Shukla [Wed, 16 Aug 2017 20:03:34 +0000 (20:03 +0000)]
Disabling the activate button when paused am: af5d8b9b03 am: 26f4aceece am: ccad4a3621 am: 72beaddfd4  -s ours am: 2e6cf5dcde  -s ours
am: 817c35056c  -s ours

Change-Id: I6ab3c67db3726cd15ca3114b0edb41d0ae248a3f

6 years agoDisabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155e...
Suprabh Shukla [Wed, 16 Aug 2017 20:02:33 +0000 (20:02 +0000)]
Disabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155ea  -s ours am: 889036189b  -s ours am: 9acf640efd  -s ours am: 29c1777ca5  -s ours am: 694ab09ff3  -s ours am: a92a7e400f  -s ours
am: cf0caf8f22  -s ours

Change-Id: If3daaffd53e0ee3743f6f4a1608c5114cfa498b7

6 years agoDisabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f...
Suprabh Shukla [Wed, 16 Aug 2017 19:59:04 +0000 (19:59 +0000)]
Disabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f2  -s ours am: 78a9d598f1  -s ours am: 0dba51f9f0  -s ours am: 7bd8e120cb  -s ours am: d22de194f5  -s ours
am: de8e1f4be5  -s ours

Change-Id: I991cd251a7f54d16dff7df676aff5fed265a07d3

6 years agoDisabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155e...
Suprabh Shukla [Wed, 16 Aug 2017 19:59:04 +0000 (19:59 +0000)]
Disabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155ea  -s ours am: 889036189b  -s ours am: 9acf640efd  -s ours am: 29c1777ca5  -s ours am: 694ab09ff3  -s ours
am: a92a7e400f  -s ours

Change-Id: I050ec3b9ce32d4a91add1447bab7845163348485

6 years agoDisabling the activate button when paused am: af5d8b9b03 am: 26f4aceece am: ccad4a362...
Suprabh Shukla [Wed, 16 Aug 2017 19:55:14 +0000 (19:55 +0000)]
Disabling the activate button when paused am: af5d8b9b03 am: 26f4aceece am: ccad4a3621 am: 72beaddfd4  -s ours
am: 2e6cf5dcde  -s ours

Change-Id: I490c9f78edd2a1d87ba3b669ea24ac962b91cb61

6 years agoDisabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155e...
Suprabh Shukla [Wed, 16 Aug 2017 19:55:02 +0000 (19:55 +0000)]
Disabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155ea  -s ours am: 889036189b  -s ours am: 9acf640efd  -s ours am: 29c1777ca5  -s ours
am: 694ab09ff3  -s ours

Change-Id: Ib0587f73a715928275159027c09286127d063684

6 years agoDisabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f...
Suprabh Shukla [Wed, 16 Aug 2017 19:55:01 +0000 (19:55 +0000)]
Disabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f2  -s ours am: 78a9d598f1  -s ours am: 0dba51f9f0  -s ours am: 7bd8e120cb  -s ours
am: d22de194f5  -s ours

Change-Id: I953f903e7298541160ed8c17f274a832618c152e

6 years agoDisabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f...
Suprabh Shukla [Wed, 16 Aug 2017 19:51:02 +0000 (19:51 +0000)]
Disabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f2  -s ours am: 78a9d598f1  -s ours am: 0dba51f9f0  -s ours
am: 7bd8e120cb  -s ours

Change-Id: I2f06097aaaa7e312a0b066e2f92536968d31003f

6 years agoDisabling the activate button when paused am: 8e08a9bb71 am: 08207f457d am: 1e9af33c4...
Suprabh Shukla [Wed, 16 Aug 2017 19:48:33 +0000 (19:48 +0000)]
Disabling the activate button when paused am: 8e08a9bb71 am: 08207f457d am: 1e9af33c41 am: 1370eb3d52 am: 616c84ccb0  -s ours
am: aedf7cdfdb  -s ours

Change-Id: I95b94ed593f31067244d5d7bd795fe734cba971a

6 years agoDisabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155e...
Suprabh Shukla [Wed, 16 Aug 2017 19:48:32 +0000 (19:48 +0000)]
Disabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155ea  -s ours am: 889036189b  -s ours am: 9acf640efd  -s ours
am: 29c1777ca5  -s ours

Change-Id: I31830a5e46544e1f939a05482f46a03970e4b197

6 years agoDisabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f...
Suprabh Shukla [Wed, 16 Aug 2017 19:47:06 +0000 (19:47 +0000)]
Disabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f2  -s ours am: 78a9d598f1  -s ours
am: 0dba51f9f0  -s ours

Change-Id: Ife5e67db0c3866b3bae77d1d0f476bc7f30bf389

6 years agoDisabling the activate button when paused am: af5d8b9b03 am: 26f4aceece am: ccad4a3621
Suprabh Shukla [Wed, 16 Aug 2017 19:46:49 +0000 (19:46 +0000)]
Disabling the activate button when paused am: af5d8b9b03 am: 26f4aceece am: ccad4a3621
am: 72beaddfd4  -s ours

Change-Id: I10ef6e273e8fb369d86d01d441c1ae419fe3a5b1

6 years agoDisabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155e...
Suprabh Shukla [Wed, 16 Aug 2017 19:44:31 +0000 (19:44 +0000)]
Disabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155ea  -s ours am: 889036189b  -s ours
am: 9acf640efd  -s ours

Change-Id: I3ad55685aaddb775a1991d5251fc01aa69c3a7f0

6 years agoDisabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f...
Suprabh Shukla [Wed, 16 Aug 2017 19:43:31 +0000 (19:43 +0000)]
Disabling the activate button when paused am: 9ffee0d534 am: d27e28eab7 am: 93a9e9f7f2  -s ours
am: 78a9d598f1  -s ours

Change-Id: Id94c32bb309dfe9808b30a19fbd42334f3f9f19b

6 years agoDisabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155e...
Suprabh Shukla [Wed, 16 Aug 2017 19:40:32 +0000 (19:40 +0000)]
Disabling the activate button when paused am: de5df8b090 am: 779237e37f am: 24547155ea  -s ours
am: 889036189b  -s ours

Change-Id: I594f94b86435f6e5f1d4f487b276ac42fef4f994

6 years agoDisabling the activate button when paused am: 8e08a9bb71 am: 08207f457d am: 1e9af33c4...
Suprabh Shukla [Wed, 16 Aug 2017 19:40:30 +0000 (19:40 +0000)]
Disabling the activate button when paused am: 8e08a9bb71 am: 08207f457d am: 1e9af33c41 am: 1370eb3d52
am: 616c84ccb0  -s ours

Change-Id: Ibb6e939c0511012a567baf5df3aafdb4da9198ef

6 years agoDisabling the activate button when paused am: af5d8b9b03 am: 26f4aceece
Suprabh Shukla [Wed, 16 Aug 2017 19:39:49 +0000 (19:39 +0000)]
Disabling the activate button when paused am: af5d8b9b03 am: 26f4aceece
am: ccad4a3621

Change-Id: I3cfe350f7c6f3ded761681b8f4062e32e833d94f

6 years agoDisabling the activate button when paused am: 9ffee0d534 am: d27e28eab7
Suprabh Shukla [Wed, 16 Aug 2017 19:38:35 +0000 (19:38 +0000)]
Disabling the activate button when paused am: 9ffee0d534 am: d27e28eab7
am: 93a9e9f7f2  -s ours

Change-Id: If5bfd68d2a899813edb2ab550d8a2c0ed2db8d63

6 years agoDisabling the activate button when paused am: de5df8b090 am: 779237e37f
Suprabh Shukla [Wed, 16 Aug 2017 19:37:01 +0000 (19:37 +0000)]
Disabling the activate button when paused am: de5df8b090 am: 779237e37f
am: 24547155ea  -s ours

Change-Id: Ic61623b7affc9599126b915d5a0e2a1471a58ea2

6 years agoDisabling the activate button when paused am: 8e08a9bb71 am: 08207f457d am: 1e9af33c41
Suprabh Shukla [Wed, 16 Aug 2017 19:34:24 +0000 (19:34 +0000)]
Disabling the activate button when paused am: 8e08a9bb71 am: 08207f457d am: 1e9af33c41
am: 1370eb3d52

Change-Id: Ifd670d7a6a673b49b2b0563b81a83fda20889126

6 years agoDisabling the activate button when paused am: af5d8b9b03
Suprabh Shukla [Wed, 16 Aug 2017 19:33:34 +0000 (19:33 +0000)]
Disabling the activate button when paused am: af5d8b9b03
am: 26f4aceece

Change-Id: If2a4dfdbe01e5bf1f2cfc6b2a61afc95f6f2addd

6 years agoDisabling the activate button when paused am: 9ffee0d534
Suprabh Shukla [Wed, 16 Aug 2017 19:33:30 +0000 (19:33 +0000)]
Disabling the activate button when paused am: 9ffee0d534
am: d27e28eab7

Change-Id: I975f6132333510ac6b40bf9683296885bdc54f05

6 years agoDisabling the activate button when paused am: de5df8b090
Suprabh Shukla [Wed, 16 Aug 2017 19:32:31 +0000 (19:32 +0000)]
Disabling the activate button when paused am: de5df8b090
am: 779237e37f

Change-Id: I43d2f39fc179380a169fb1d04be8e473eedcadfb

6 years agoDisabling the activate button when paused am: 8e08a9bb71 am: 08207f457d
Suprabh Shukla [Wed, 16 Aug 2017 19:30:03 +0000 (19:30 +0000)]
Disabling the activate button when paused am: 8e08a9bb71 am: 08207f457d
am: 1e9af33c41

Change-Id: Iea61138c41fdb00ee30e0fba0d06b1d59b9c6afa

6 years agoDisabling the activate button when paused
Suprabh Shukla [Wed, 16 Aug 2017 19:27:40 +0000 (19:27 +0000)]
Disabling the activate button when paused
am: 9ffee0d534

Change-Id: I76f0f749ad159b50520e6f95d9bfaf2d8cca3429

6 years agoDisabling the activate button when paused
Suprabh Shukla [Wed, 16 Aug 2017 19:26:00 +0000 (19:26 +0000)]
Disabling the activate button when paused
am: af5d8b9b03

Change-Id: Icf4cd1c4ff5a520a72f9deedf85c486e892da250

6 years agoDisabling the activate button when paused am: 8e08a9bb71
Suprabh Shukla [Wed, 16 Aug 2017 19:25:59 +0000 (19:25 +0000)]
Disabling the activate button when paused am: 8e08a9bb71
am: 08207f457d

Change-Id: I693fde0d9935e0b92fa8848b205db3a810a58b67

6 years agoDisabling the activate button when paused
Suprabh Shukla [Wed, 16 Aug 2017 19:25:59 +0000 (19:25 +0000)]
Disabling the activate button when paused
am: de5df8b090

Change-Id: I7878f3f3addbb0f47f3c145a34977a9ebb62a055

6 years agoDisabling the activate button when paused
Suprabh Shukla [Wed, 16 Aug 2017 19:22:01 +0000 (19:22 +0000)]
Disabling the activate button when paused
am: 8e08a9bb71

Change-Id: I9b9ccd0bd849d34343ff0a6d6b579274d02264c6

6 years agoDisabling the activate button when paused
Suprabh Shukla [Tue, 15 Aug 2017 02:22:17 +0000 (02:22 +0000)]
Disabling the activate button when paused

This revises the previous attempt to drop taps when another window is
obscuring the device admin details. Any system alert windows or toasts
are disabled when the activity is in focus, otherwise the button is
disabled so no floating activities can obscure it and delegate taps back
to the security sensitive "Activate" button.

Bug: 35056974
Change-Id: I292a44e713ea4a4b0305ca3b3b21f1c82fd73c2b
Merged-In: I292a44e713ea4a4b0305ca3b3b21f1c82fd73c2b

6 years agoDisabling the activate button when paused
Suprabh Shukla [Tue, 15 Aug 2017 02:11:26 +0000 (02:11 +0000)]
Disabling the activate button when paused

This revises the previous attempt to drop taps when another window is
obscuring the device admin details. Any system alert windows or toasts
are disabled when the activity is in focus, otherwise the button is
disabled so no floating activities can obscure it and delegate taps back
to the security sensitive "Activate" button.

Bug: 35056974
Change-Id: I292a44e713ea4a4b0305ca3b3b21f1c82fd73c2b
Merged-In: I292a44e713ea4a4b0305ca3b3b21f1c82fd73c2b

6 years agoDisabling the activate button when paused
Suprabh Shukla [Tue, 15 Aug 2017 03:33:12 +0000 (03:33 +0000)]
Disabling the activate button when paused

This revises the previous attempt to drop taps when another window is
obscuring the device admin details. Any system alert windows or toasts
are disabled when the activity is in focus, otherwise the button is
disabled so no floating activities can obscure it and delegate taps back
to the security sensitive "Activate" button.

Test: CtsVerifier -> Device Administration -> Device Admin Tapjacking Test

Bug: 35056974
Change-Id: I292a44e713ea4a4b0305ca3b3b21f1c82fd73c2b
Merged-In: I292a44e713ea4a4b0305ca3b3b21f1c82fd73c2b

6 years agoDisabling the activate button when paused
Suprabh Shukla [Tue, 15 Aug 2017 02:34:05 +0000 (02:34 +0000)]
Disabling the activate button when paused

This revises the previous attempt to drop taps when another window is
obscuring the device admin details. Any system alert windows or toasts
are disabled when the activity is in focus, otherwise the button is
disabled so no floating activities can obscure it and delegate taps back
to the security sensitive "Activate" button.

Test: CtsVerifier -> Device Administration -> Device Admin Tapjacking Test

Bug: 35056974
Change-Id: I292a44e713ea4a4b0305ca3b3b21f1c82fd73c2b
Merged-In: I292a44e713ea4a4b0305ca3b3b21f1c82fd73c2b

6 years agoRevert "Import translations. DO NOT MERGE"
Bill Yi [Mon, 14 Aug 2017 13:32:35 +0000 (13:32 +0000)]
Revert "Import translations. DO NOT MERGE"

This reverts commit a2a4037f593b6bbbe5c178971f13ef869b7ffe8e.

Change-Id: I2145ac4c4f1092799bbc547ef9ea7d19c101cd95
Exempt-From-Owner-Approval: translation import

6 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 12 Aug 2017 15:56:25 +0000 (08:56 -0700)]
Import translations. DO NOT MERGE

Change-Id: I8f1c2c8a6591596db2098eac88bbb99660cfbefa
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

6 years agoInitialize the volume seekbar preference max and progress.
Doris Ling [Tue, 8 Aug 2017 23:52:42 +0000 (16:52 -0700)]
Initialize the volume seekbar preference max and progress.

When the media stream is set, initialize the preference max and progress
with the streams current value. Otherwise, when we initialize the seekbar
volumizer, it will first set the seekbar max to 0 and progress to 0,
then update with the correct value, which will result in the jank that
is seen when the sound settings are displayed.

Change-Id: I515c97bbc6ec38bbe92755e3d7cb53bb13ac52d0
Fix: 34035654
Test: make RunSettingsRoboTests
(cherry picked from commit b7490bea28cb28d301fe4ec0275cef7129621206)

6 years agoMerge "Stay discoverable in Bluetooth settings and pairing pages" into oc-dr1-dev
TreeHugger Robot [Thu, 10 Aug 2017 07:23:29 +0000 (07:23 +0000)]
Merge "Stay discoverable in Bluetooth settings and pairing pages" into oc-dr1-dev

6 years agoMerge "Do not translate "Wi-Fi calling" for VF DE" into oc-dr1-dev
Jayachandran Chinnakkannu [Thu, 10 Aug 2017 06:00:29 +0000 (06:00 +0000)]
Merge "Do not translate "Wi-Fi calling" for VF DE" into oc-dr1-dev

6 years agoStay discoverable in Bluetooth settings and pairing pages
Antony Sargent [Wed, 9 Aug 2017 22:57:17 +0000 (15:57 -0700)]
Stay discoverable in Bluetooth settings and pairing pages

There are two problems with the Bluetooth settings and pairing pages
that are fixed by this CL:

(1) We advertise on the page that the local device is visible to other
devices, but that only lasts for the length of the default timeout (120
seconds) for the local adapter being in discoverable mode.

(2) Both the BluetoothSettings and BluetoothPairingDetail fragments
enter discoverable mode in their onStart handler and exit it in their
onStop handler. Unfortunately when doing a fragment navigation the
onStart and onStop events interleave in a non-intuitive manner. When you
go from BluetoothSettings to BluetoothPairingDetail, we see the onStop
event for BluetoothSettings *after* the onStart event for
BluetoothPairingDetail, and similarly when going back from
BluetoothSettings to BluetoothPairingDetail. What this means in practice
is that if you go to the BluetoothSettings page, the device will be
discoverable, but once you navigate to BluetoothPairingDetail or back
again you won't be discoverable again until you go somewhere else or end
the settings activity.

This CL adds a new object called AlwaysDiscoverable which can be used to
start and stop a mode of "always being discoverable". While started, it
will listen for changes to the discoverable state, and return to
discoverable mode. This fixes (1) by returning to discoverable mode
whenever the normal timeout expires, and (2) similary by returning to
discoverable mode when we accidentally exit it due to the onStop/onStart
mismatch.

A better fix for (2) would be to avoid the "glitch" of briefly exiting
discoverable mode only to re-enter it, but the implementation of that is
a little more complicated so that's being left as future work in order
to keep this CL as small as possible.

Bug: 64130265
Test: make RunSettingsRoboTests
Change-Id: I559dd8187263ea6a0008be1a8abdfffac97cb87a

6 years agoDo not translate "Wi-Fi calling" for VF DE
Jayachandran C [Tue, 8 Aug 2017 20:06:51 +0000 (13:06 -0700)]
Do not translate "Wi-Fi calling" for VF DE

Test: Validated it by mimicking using T-Mobile SIM

Bug: 64139042
Change-Id: Iad3a6b9b7a47af140b14adebae55babfe31a4c26

6 years agoDO NOT MERGE - Ask device owner for master clear in demo mode
Justin Klaassen [Wed, 9 Aug 2017 04:58:05 +0000 (21:58 -0700)]
DO NOT MERGE - Ask device owner for master clear in demo mode

Bug: 62712426
Test: make RunSettingsRoboTests -j19
Change-Id: I29f92ff1062590f2c5eb7713e5969da7870fc582

6 years agoMerge "Settings: Fix NPE in ChannelNotificationSettings" into oc-dr1-dev
TreeHugger Robot [Wed, 9 Aug 2017 20:57:50 +0000 (20:57 +0000)]
Merge "Settings: Fix NPE in ChannelNotificationSettings" into oc-dr1-dev

6 years agoMerge "Add floats to the SecureSettings shadow." into oc-dr1-dev
Daniel Nishi [Wed, 9 Aug 2017 19:25:35 +0000 (19:25 +0000)]
Merge "Add floats to the SecureSettings shadow." into oc-dr1-dev

6 years agoMerge "Fix DataSaverBackend objects created on background threads" into oc-dr1-dev
TreeHugger Robot [Wed, 9 Aug 2017 19:15:27 +0000 (19:15 +0000)]
Merge "Fix DataSaverBackend objects created on background threads" into oc-dr1-dev

6 years agoMerge "Import translations. DO NOT MERGE" into oc-dr1-dev
TreeHugger Robot [Wed, 9 Aug 2017 16:20:46 +0000 (16:20 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev

6 years agoMerge "Expose the notification-swipe controls." into oc-dr1-dev
Daniel Nishi [Wed, 9 Aug 2017 16:16:49 +0000 (16:16 +0000)]
Merge "Expose the notification-swipe controls." into oc-dr1-dev

6 years agoSettings: Fix NPE in ChannelNotificationSettings
qqzhou [Mon, 3 Jul 2017 07:10:59 +0000 (15:10 +0800)]
Settings: Fix NPE in ChannelNotificationSettings

java.lang.NullPointerException: Attempt to invoke virtual method 'int
android.app.NotificationChannel.getImportance()' on a null object
reference at com.android.settings.notification.ChannelNotificationSettings.
onActivityResult.

Change-Id: I3ec7b51e2533dc108b1a14c151e3ad70d22113e5
CRs-Fixed: 2068192
Fixes: 64116799
Fixes: 64134707
Test: monkey

6 years agoMerge "Avoid Race condition with accessibility for NFC toggle switch" into oc-dr1-dev
Ruchi Kandoi [Wed, 9 Aug 2017 05:29:12 +0000 (05:29 +0000)]
Merge "Avoid Race condition with accessibility for NFC toggle switch" into oc-dr1-dev

6 years agoFix DataSaverBackend objects created on background threads
Matthew Fritze [Tue, 18 Jul 2017 20:12:05 +0000 (13:12 -0700)]
Fix DataSaverBackend objects created on background threads

Add the main looper to the handler created with each
DataSaverBackend to avoid crashes when the objects are
created on background threads.

Bug: 62022517
Test: make RunSettingsRoboTests
Change-Id: I7396107e4ed06982c8cd300912ce1f4e3c63df4c
Merged-In: Ie5ffabbfbe7660761527b3ecd51e6bc5a43c1ace

6 years agoImport translations. DO NOT MERGE
The Android Open Source Project [Wed, 9 Aug 2017 01:20:51 +0000 (18:20 -0700)]
Import translations. DO NOT MERGE

Change-Id: I5d4e5680aca99f0d47353175e796b0b3a0116598
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

6 years agoMerge "Update availability for mobile network" into oc-dr1-dev
TreeHugger Robot [Wed, 9 Aug 2017 01:06:50 +0000 (01:06 +0000)]
Merge "Update availability for mobile network" into oc-dr1-dev

6 years agoExpose the notification-swipe controls.
Daniel Nishi [Wed, 9 Aug 2017 00:29:46 +0000 (17:29 -0700)]
Expose the notification-swipe controls.

Bug: 62022517
Test: Settings robotest
Change-Id: I41368a9e03f38052bb47d04f6b98d56808d07e48

6 years agoMerge "Refactoring for AmbientAlwaysOnPreferenceController" into oc-dr1-dev
TreeHugger Robot [Tue, 8 Aug 2017 23:59:50 +0000 (23:59 +0000)]
Merge "Refactoring for AmbientAlwaysOnPreferenceController" into oc-dr1-dev

6 years agoUpdate availability for mobile network
Salvador Martinez [Mon, 7 Aug 2017 20:59:16 +0000 (13:59 -0700)]
Update availability for mobile network

This CL updates the availability to behave properly when a
user other than the primary user is accessing it. This also
makes the api return no intent if they don't have permission to
access this because attempting to go to that screen will cause a
crash. Also updates tests related to this change.

Test: robotests still pass
Bug: 64092292
Change-Id: If9913d9ae08ee3e205ff324aaeeadc755ff1d23d

6 years agoAvoid Race condition with accessibility for NFC toggle switch
Ruchi Kandoi [Tue, 8 Aug 2017 20:41:31 +0000 (13:41 -0700)]
Avoid Race condition with accessibility for NFC toggle switch

Bug: 64429429
Test: Enable TalkBack; Toggle NFC settings
Change-Id: Iadeae0ca33c32b320c202efc2acf0be647b10078

6 years agoRefactoring for AmbientAlwaysOnPreferenceController
Andrew Sapperstein [Tue, 8 Aug 2017 02:06:57 +0000 (19:06 -0700)]
Refactoring for AmbientAlwaysOnPreferenceController

Makes a few methods static so we can call them from other locations.

Bug: 64256644
Test: robotests
Change-Id: Ie97cda342c3143a21bd273e4d29f64f75e006059

6 years agoRefactor tether logic for reuse
Salvador Martinez [Mon, 7 Aug 2017 17:22:37 +0000 (10:22 -0700)]
Refactor tether logic for reuse

Some logic related to permissions needs to be used elsewhere. This
CL refactors the relevant code into a method so that it stays in
sync in both places.

Test: robotests still pass
Bug: 64092292
Change-Id: If8191698023d1da90db99b518d9f770683b5c789
Merged-In: I3b54529865e16b7e1640b0adda7f7edb9d1a41f7

6 years agoAdd floats to the SecureSettings shadow.
Daniel Nishi [Thu, 27 Jul 2017 18:06:41 +0000 (11:06 -0700)]
Add floats to the SecureSettings shadow.

Test: Exercised in other robotests
Change-Id: I7c99272f330d9d5fa043c155d2f818e70ac271e0
Merged-In: I0791bdddf0bc97abc21cd27613998247b11d7bb4

6 years agoRefactor permissions code for bluetooth controller enabler
Salvador Martinez [Thu, 3 Aug 2017 20:56:10 +0000 (13:56 -0700)]
Refactor permissions code for bluetooth controller enabler

Bluetooth may be disabled for a user. This CL refactors the code
that determines this a bit so we can query that without having to
have the UI open.

Test: robotests still pass
Bug: 62022517
Change-Id: Ic0837d21bdc4007a20d6ad138753d4f5d37ceceb
Merged-In: I3b54529865e16b7e1640b0adda7f7edb9d1a41f7

6 years agoMerge "Expose Location toggling logic" into oc-dr1-dev
TreeHugger Robot [Mon, 7 Aug 2017 16:53:29 +0000 (16:53 +0000)]
Merge "Expose Location toggling logic" into oc-dr1-dev

6 years agoMerge "Fix crash when dismissing suggestions." into oc-dr1-dev
TreeHugger Robot [Sat, 5 Aug 2017 05:20:42 +0000 (05:20 +0000)]
Merge "Fix crash when dismissing suggestions." into oc-dr1-dev

6 years agoMerge "Import translations. DO NOT MERGE" into oc-dr1-dev
TreeHugger Robot [Sat, 5 Aug 2017 02:37:34 +0000 (02:37 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dr1-dev