Commit Graph

39123 Commits

Author SHA1 Message Date
jackqdyulei
5a3be2874e Turn off some anomaly detectors by default
1. Wakeup alarm detector
   Because we cannot distinguish it between foreground and background
2. Bluetooth unoptimized scanning detector
   There is a bug in framework that may undercount the scanning time

Bug: 63390581
Bug: 63964363
Test: RunSettingsRoboTests
Change-Id: Ia762f580462823e8eddccbeb12dec3876b0ef47a
2017-07-28 09:39:32 -07:00
Bill Yi
db1d8fd737 Import translations. DO NOT MERGE am: 129ed98650 -s ours
am: 1e719a0ed7  -s ours

Change-Id: I78b9084ec7eaf3e32a7938215088b2d24d3d588a
2017-07-28 16:12:22 +00:00
Bill Yi
1e719a0ed7 Import translations. DO NOT MERGE
am: 129ed98650  -s ours

Change-Id: I6778963c60c8e1a973c084d5ec1889d3e0d13848
2017-07-28 16:09:52 +00:00
Bill Yi
8432802275 Import translations. DO NOT MERGE
Change-Id: If9cb3de5de1845431f075d5ca6c7935d49e0e6f7
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-07-28 03:27:50 -07:00
Bill Yi
129ed98650 Import translations. DO NOT MERGE
Change-Id: Ie25fb80dbf73c1681c72adf0cfac13c319f952b7
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-07-28 03:08:41 -07:00
Bill Yi
43ccd90085 Import translations. DO NOT MERGE
Change-Id: Iee17c5b632e8caa7d538fbc5bc1e095806e82b78
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import
2017-07-28 02:52:17 -07:00
TreeHugger Robot
3902516a25 Merge "Unify action buttons to a common widget (part 1)" 2017-07-28 03:03:52 +00:00
jackqdyulei
d3feec2cc8 Merge "Add ResultPayload for Allow notification dots am: c50495ba06 am: 52aeaefbbe -s ours" into oc-mr1-dev-plus-aosp
am: 03b6f9a78c  -s ours

Change-Id: I25dce62655c4d15076c1dec7af9ae51827a0edb3
2017-07-28 02:45:50 +00:00
jackqdyulei
5962dd129e Add ResultPayload for Allow notification dots am: c50495ba06 -s ours am: 1b4b6e490a -s ours
am: fe64e2c80b  -s ours

Change-Id: Ic7a7672003ea5dd753481200fb00e19af1ab4a77
2017-07-28 02:45:20 +00:00
Android Build Merger (Role)
03b6f9a78c Merge "Add ResultPayload for Allow notification dots am: c50495ba06 am: 52aeaefbbe -s ours" into oc-mr1-dev-plus-aosp 2017-07-28 02:42:59 +00:00
jackqdyulei
cdc2db9969 Add ResultPayload for Allow notification dots am: c50495ba06
am: 52aeaefbbe  -s ours

Change-Id: If0e7654814e9d7cec6758e2b657ccb61bfe9f425
2017-07-28 02:42:44 +00:00
jackqdyulei
fe64e2c80b Add ResultPayload for Allow notification dots am: c50495ba06 -s ours
am: 1b4b6e490a  -s ours

Change-Id: Id02fbd2ac2ad5b6918097ff8819ee62f7f5d4945
2017-07-28 02:42:32 +00:00
jackqdyulei
52aeaefbbe Add ResultPayload for Allow notification dots
am: c50495ba06

Change-Id: I98790c3e21e28a9b4a6c7bb976c2c512f427ef09
2017-07-28 02:40:02 +00:00
jackqdyulei
1b4b6e490a Add ResultPayload for Allow notification dots
am: c50495ba06  -s ours

Change-Id: I96dd4e021bf51c330b10a9bba8901d66165cd787
2017-07-28 02:40:00 +00:00
Fan Zhang
2d28a4ceb4 Unify action buttons to a common widget (part 1)
- Create a preference type to host action button preferences.
- Convert app battery usage page to use the new preference
- Convert wifi detail page to use the new preference

Change-Id: I60bc473986ab46f2897e2537eb0e013fa813a4fc
Fix: 63991885
Test: robotests
2017-07-28 01:00:39 +00:00
Fan Zhang
add4b5c413 Query search result intent before launching to avoid crash
If intent cannot launch, log error.

Change-Id: Ib6f37da467749be1ef09e6665dcab122e71a52d3
Fix: 64065678
Test: robotests
2017-07-28 00:52:04 +00:00
Doris Ling
373a9c5cca Merge "Merge "Limit the suggestions to be shown to 5." into oc-dr1-dev am: 70f0013e43 -s ours am: e1b04c987b -s ours" into oc-mr1-dev-plus-aosp
am: 1007885701  -s ours

Change-Id: Iaf4466acd516b44f60bf1fd573ad108e30d0e676
2017-07-28 00:28:32 +00:00
Doris Ling
8ed1e06fa2 Merge "Limit the suggestions to be shown to 5." into oc-dr1-dev am: 70f0013e43 am: 1b2ec4f096 -s ours
am: c691528377  -s ours

Change-Id: Ic271833cd6d281d5cf51b8d0e8f385e55d7484e7
2017-07-28 00:28:03 +00:00
Android Build Merger (Role)
1007885701 Merge "Merge "Limit the suggestions to be shown to 5." into oc-dr1-dev am: 70f0013e43 -s ours am: e1b04c987b -s ours" into oc-mr1-dev-plus-aosp 2017-07-28 00:00:55 +00:00
Doris Ling
c691528377 Merge "Limit the suggestions to be shown to 5." into oc-dr1-dev am: 70f0013e43
am: 1b2ec4f096  -s ours

Change-Id: I82d433fbb10e186fb99808f1fc22fa9c58b36dc6
2017-07-27 23:59:19 +00:00
Doris Ling
7499ff71be Merge "Limit the suggestions to be shown to 5." into oc-dr1-dev am: 70f0013e43 -s ours
am: e1b04c987b  -s ours

Change-Id: I3b44fd463983de7478132765493ea298fba2a974
2017-07-27 23:56:21 +00:00
Doris Ling
1b2ec4f096 Merge "Limit the suggestions to be shown to 5." into oc-dr1-dev
am: 70f0013e43

Change-Id: I560de5fdb872558edd6315e377bd5b01399412a8
2017-07-27 23:53:47 +00:00
Doris Ling
e1b04c987b Merge "Limit the suggestions to be shown to 5." into oc-dr1-dev
am: 70f0013e43  -s ours

Change-Id: Ic60a092e88422210572ff2ae455793165453ae73
2017-07-27 23:53:47 +00:00
jackqdyulei
c50495ba06 Add ResultPayload for Allow notification dots
Bug: 62022517
Test: robotests
Change-Id: I86caa1c8604ae8eff27574ca45b5e9f3f6830f8f
Merged-In: I86caa1c8604ae8eff27574ca45b5e9f3f6830f8f
2017-07-27 16:53:40 -07:00
TreeHugger Robot
70f0013e43 Merge "Limit the suggestions to be shown to 5." into oc-dr1-dev 2017-07-27 23:41:35 +00:00
Salvador Martinez
d6044da49a Merge "Change visibility of some UsbBackend fields/methods" into oc-dr1-dev am: 7f87347eb9 am: 3bca521f3a
am: 36dbb6e07c

Change-Id: Ib277491c161d4071f9c6620a2026b7d5a7038303
2017-07-27 23:18:17 +00:00
Salvador Martinez
ce524945c1 Merge "Change visibility of some UsbBackend fields/methods" into oc-dr1-dev am: 7f87347eb9 am: 8e15db0ec9
am: 3d869b6324

Change-Id: I58c7630fe92360cf1c68f6716657b2dac5e59b76
2017-07-27 22:51:15 +00:00
Fan Zhang
0a61230dee Update condition tile action button text color am: 951decebb4 am: 4748098d10
am: 578207f109

Change-Id: Ibc0ca6a8d08cebb3b21e2878b1a7cc352aca7831
2017-07-27 22:50:50 +00:00
Fan Zhang
a528d78940 Update condition tile action button text color am: 951decebb4 am: a5dc1d2470
am: f01de6015f

Change-Id: I4e1c7a24e5f63077414c8acf866472e4dee8b512
2017-07-27 22:50:25 +00:00
Salvador Martinez
36dbb6e07c Merge "Change visibility of some UsbBackend fields/methods" into oc-dr1-dev am: 7f87347eb9
am: 3bca521f3a

Change-Id: I9d08a044e300d3173020704f09e6e273994b96aa
2017-07-27 22:34:00 +00:00
Salvador Martinez
3d869b6324 Merge "Change visibility of some UsbBackend fields/methods" into oc-dr1-dev am: 7f87347eb9
am: 8e15db0ec9

Change-Id: Iddec3a43f12242f030f32bb42505c908bf3c7ce4
2017-07-27 22:31:42 +00:00
Salvador Martinez
3bca521f3a Merge "Change visibility of some UsbBackend fields/methods" into oc-dr1-dev
am: 7f87347eb9

Change-Id: I0f300734820634009197c7b9ca85e3973d87a0cb
2017-07-27 22:26:58 +00:00
Salvador Martinez
8e15db0ec9 Merge "Change visibility of some UsbBackend fields/methods" into oc-dr1-dev
am: 7f87347eb9

Change-Id: I286ed310140f522c67fa4c3c6af539938a66207d
2017-07-27 22:24:27 +00:00
Fan Zhang
578207f109 Update condition tile action button text color am: 951decebb4
am: 4748098d10

Change-Id: Iedd82040fb727c5d9ac5fa89f0d08b806df51b9b
2017-07-27 22:20:55 +00:00
Fan Zhang
f01de6015f Update condition tile action button text color am: 951decebb4
am: a5dc1d2470

Change-Id: I618f6c9795b4c5c1b728f1acdc2681ce4686d910
2017-07-27 22:16:58 +00:00
TreeHugger Robot
7f87347eb9 Merge "Change visibility of some UsbBackend fields/methods" into oc-dr1-dev 2017-07-27 22:16:48 +00:00
Fan Zhang
a5dc1d2470 Update condition tile action button text color
am: 951decebb4

Change-Id: Ie7d0b97ebb61654ad6ea0570ee033a7a037a2b09
2017-07-27 22:10:35 +00:00
Fan Zhang
4748098d10 Update condition tile action button text color
am: 951decebb4

Change-Id: I6dba9ab81515f3e80254a1e59a0ae95132bc02f3
2017-07-27 22:10:35 +00:00
Ajay Nadathur
d48d323e13 Remove extra steps in fingerprint flow
bug: 63900851
Test: Manually tested and verified
Change-Id: Ic7ff0b21dac971edf40a9a9398aef68c2fccd971
(cherry picked from commit e24f1ab745)
2017-07-27 21:57:55 +00:00
Ajay Nadathur
70927d2bd7 Merge "Remove extra steps in fingerprint flow" 2017-07-27 21:57:12 +00:00
Doris Ling
98b39af411 Merge "Limit the suggestions to be shown to 5." into oc-mr1-dev am: 1f34a5cf46
am: a374e1062c

Change-Id: I7773754b0f262f2256735de3d98cc4e64d9f7be6
2017-07-27 21:26:31 +00:00
Doris Ling
a374e1062c Merge "Limit the suggestions to be shown to 5." into oc-mr1-dev
am: 1f34a5cf46

Change-Id: I165b63605b7a55ea0b64c56f87a7ace291a44a28
2017-07-27 21:21:01 +00:00
TreeHugger Robot
1f34a5cf46 Merge "Limit the suggestions to be shown to 5." into oc-mr1-dev 2017-07-27 21:14:43 +00:00
TreeHugger Robot
6e4ebc3b74 Merge "Update text for lock screen notifications" 2017-07-27 21:03:42 +00:00
Doris Ling
2798c24deb Limit the suggestions to be shown to 5.
- when creating the dashboard data, pass the sublist of suggestions to
cap the total number of suggestions to be shown to 5.
- if user swipe away the suggestion, it will only remove the suggestion
from the suggestion adapater, and will not trigger rebuilding the whole
UI.

Change-Id: I3bbc08bb67c411ff5671a837efa40da0ac885983
Merged-In: I1efabeb2a805c670007c631d3ccb0fdfbde7b55a
Fix: 64072051
Test: make RunSettingsRoboTests
2017-07-27 12:50:47 -07:00
Fan Zhang
951decebb4 Update condition tile action button text color
Text color needs to be darker for accessibility reasons.

Change-Id: I3ff37f36281d70dd180c0747a707b597139157c2
Fix: 64068145
Test: visual
2017-07-27 19:29:36 +00:00
Ajay Nadathur
e24f1ab745 Remove extra steps in fingerprint flow
bug: 63900851
Test: Manually tested and verified
Change-Id: Ic7ff0b21dac971edf40a9a9398aef68c2fccd971
2017-07-27 12:11:30 -07:00
Android Build Merger (Role)
4b21566ce3 Merge "Merge "Don't update the header when toggle menu" into oc-dr1-dev am: 4ab4966e7a am: 8541d8905a am: e4c555fcb8" 2017-07-27 18:45:53 +00:00
jackqdyulei
f5da9a9a15 Merge "Don't update the header when toggle menu" into oc-dr1-dev am: 4ab4966e7a am: 8541d8905a
am: e4c555fcb8

Change-Id: Id7631f3d4d190a6d29272cdaf52c6d3b0b330c25
2017-07-27 18:45:39 +00:00
Android Build Merger (Role)
2514f87fd6 Merge "Merge "Settings: Fix SparseArray null pointer issue in monkey issues" am: 41b4d908bb am: 3aee5e1ad0 am: 86535a3d15 am: 62bb1e75ac am: 8071e11d87" 2017-07-27 18:45:32 +00:00