Commit Graph

44981 Commits

Author SHA1 Message Date
Lei Yu
93ff833316 Merge "Add test flags for battery tips." into pi-dev 2018-04-10 20:44:11 +00:00
TreeHugger Robot
0104c4c6a7 Merge "Stack fingerprint buttons on small screens" 2018-04-10 20:13:29 +00:00
Matthew Fritze
a1df08c426 Merge "Unavailable Slices includes DISABLED_DEPENDENT settings" into pi-dev am: 3ec0e4851c
am: ea52f72840

Change-Id: Iecb9f5aee79ebccb13ed91f6726f73ca4e696edc
2018-04-10 13:03:49 -07:00
Matthew Fritze
ea52f72840 Merge "Unavailable Slices includes DISABLED_DEPENDENT settings" into pi-dev
am: 3ec0e4851c

Change-Id: I6b497d1b7b9d733016f1908ae429fe493a607511
2018-04-10 12:38:28 -07:00
TreeHugger Robot
3ec0e4851c Merge "Unavailable Slices includes DISABLED_DEPENDENT settings" into pi-dev 2018-04-10 19:31:03 +00:00
Beverly
7b09d2cebb Set parent for auto zen rules to be zen rule page
Clicking the back button on an automatic zen rule
will now go back to the automatic rule page instead
of the generic Settings page

Change-Id: I5902e01b641ec3e4d0c8b4b4a5b16a0385cbd0ff
Fixes: 77833624
Test: manual
2018-04-10 15:28:17 -04:00
Lei Yu
1af677903a Merge "Hide preference when no app restricted" into pi-dev am: 1f02712e7a
am: 1b82df6906

Change-Id: I665bdb8e3107c3152242b28561ea5ae01427ead7
2018-04-10 12:13:43 -07:00
Lei Yu
1b82df6906 Merge "Hide preference when no app restricted" into pi-dev
am: 1f02712e7a

Change-Id: I6cabb95f74b21841874cb7bd710aefb04db078f0
2018-04-10 12:03:56 -07:00
Maurice Lam
c11abbcd65 Stack fingerprint buttons on small screens
Test: Manual
Bug: 77827590
Change-Id: Icfe34d3740af2566be019c329b96b12033d33959
2018-04-10 18:56:28 +00:00
TreeHugger Robot
1f02712e7a Merge "Hide preference when no app restricted" into pi-dev 2018-04-10 18:30:26 +00:00
Daniel Solomon
f414f5ab2d Merge "Hide color mode preference depending on Accessibility settings" into pi-dev am: e96b57a5fb
am: c767f493d8

Change-Id: I76912e1dbdf02c2a220d04f48df3f2b0b91a9a9f
2018-04-10 11:27:58 -07:00
Lei Yu
67956894e7 Merge "Update field for ACTION_ANOMALY_TRIGGERED" into pi-dev am: fa447e698d
am: 44f6508070

Change-Id: Ib69976755e65335fbbaa9708d9ff13c975fb3979
2018-04-10 11:24:10 -07:00
Daniel Solomon
c767f493d8 Merge "Hide color mode preference depending on Accessibility settings" into pi-dev
am: e96b57a5fb

Change-Id: I0b746d7e2a8e2d06a82d3beeb2c5beb5fc79ff3b
2018-04-10 11:02:04 -07:00
Lei Yu
44f6508070 Merge "Update field for ACTION_ANOMALY_TRIGGERED" into pi-dev
am: fa447e698d

Change-Id: I33948cea8fd3b869fef93eea0ce0aea33a4280d0
2018-04-10 10:59:59 -07:00
Daniel Solomon
e96b57a5fb Merge "Hide color mode preference depending on Accessibility settings" into pi-dev 2018-04-10 17:59:26 +00:00
Jason Monk
e802f713bb Merge "Update slice constant reference" into pi-dev am: 5a974c6335
am: fd1be7d153

Change-Id: Ia355bc3e4e36e9cfbf1d1e9014a38744b85e5aec
2018-04-10 10:39:28 -07:00
Lei Yu
fa447e698d Merge "Update field for ACTION_ANOMALY_TRIGGERED" into pi-dev 2018-04-10 17:39:08 +00:00
Jason Monk
fd1be7d153 Merge "Update slice constant reference" into pi-dev
am: 5a974c6335

Change-Id: I9137eb037c731f87453d489cc98f67d5f8a63122
2018-04-10 10:21:21 -07:00
Jason Monk
5a974c6335 Merge "Update slice constant reference" into pi-dev 2018-04-10 17:10:29 +00:00
Julia Reynolds
84dc27b829 Merge "Add zen onboarding screen" into pi-dev am: 34a593db65
am: a87381e9a8

Change-Id: Iebe2045ec162ddf2ea28b00913739cb9ecfaaa89
2018-04-10 08:00:17 -07:00
Jason Monk
9b555bf515 Update slice constant reference
Test: build
Bug: 73123786
Change-Id: I9f38f0298bcaace85256639fd285d38a580c90fe
2018-04-10 10:56:32 -04:00
Julia Reynolds
a87381e9a8 Merge "Add zen onboarding screen" into pi-dev
am: 34a593db65

Change-Id: Ifefd7007f798d7ff912f9e465d0b4788584570f1
2018-04-10 07:50:30 -07:00
TreeHugger Robot
34a593db65 Merge "Add zen onboarding screen" into pi-dev 2018-04-10 14:35:44 +00:00
Julia Reynolds
15dcf14191 Merge "Notification settings updates" into pi-dev am: d7a1c39694
am: 88fa6fd0fb

Change-Id: I5771abecd37d732e11dbf9c7f1c31ac6b7993d6c
2018-04-10 07:06:39 -07:00
Julia Reynolds
88fa6fd0fb Merge "Notification settings updates" into pi-dev
am: d7a1c39694

Change-Id: Ic458150338fe20e3ee2125b1419b1741754d42a9
2018-04-10 07:01:53 -07:00
TreeHugger Robot
d7a1c39694 Merge "Notification settings updates" into pi-dev 2018-04-10 13:51:22 +00:00
Jason Chang
c44097d345 [SettingsLib] Update Utils APIs usage
Update Utils.getColorAttr and similar methods in Utils to return a ColorStateList instead of a color

Bug: 74872054
Test: Force to display different color items then manually test
Change-Id: If002f9a578558e6254220c36ef556e8378d4522a
2018-04-10 21:09:39 +08:00
Julia Reynolds
4b8fe09d72 Add zen onboarding screen
Bug: 77658931
Test: make -j RunSettingsRoboTests
Change-Id: Ifc886148ed742d72b5606a9ce7eb19d0da234c9e
2018-04-10 08:53:09 -04:00
hughchen
af6fa02810 Change string
* Change "Available media devices" to "Available devices"

Bug: 77607383
Test: build
Change-Id: I49cb6c3269eb3847a92403184e2691f7334df96e
2018-04-10 17:15:57 +08:00
timhypeng
3775f969ba Rename onProfileAudioStateChanged() to onAudioModeChanged()
Bug: 74134939
Test: Build
Change-Id: I85895238b6ee16fec85d0cf3dd0242c9ba17a3bd
2018-04-10 15:16:37 +08:00
ryanywlin
d1a6a71567 Merge "Add new string for audio switcher" into pi-dev am: 09793d19d3
am: 532ec3c9bd

Change-Id: I95c0097b24cdccb3b6e2f01799d9d65a1e2ad165
2018-04-09 22:43:41 -07:00
ryanywlin
532ec3c9bd Merge "Add new string for audio switcher" into pi-dev
am: 09793d19d3

Change-Id: I242b24cf96d5597abea535a3db2e7a21924cf6c5
2018-04-09 21:34:40 -07:00
TreeHugger Robot
09793d19d3 Merge "Add new string for audio switcher" into pi-dev 2018-04-10 04:24:16 +00:00
Doris Ling
2add0178ce Fix robotest failure for ChartDataUsagePreferenceTest. am: c8613c7930
am: a98c2cfdf1

Change-Id: I4549d3b8f56a9fc97056a8ed03f296ce7954308b
2018-04-09 21:23:44 -07:00
Doris Ling
a98c2cfdf1 Fix robotest failure for ChartDataUsagePreferenceTest.
am: c8613c7930

Change-Id: I45242058422223f39410fd7fe2914a9f57e7711d
2018-04-09 20:52:40 -07:00
Daniel Solomon
fbe8a1318b Hide color mode preference depending on Accessibility settings
Currently, when certain Accessibility color transforms are enabled, the
color mode preference radio buttons are disabled. To avoid confusing
users, hide the color mode preference entirely. If the color mode
settings screen is already open when the Accessibility transforms are
enabled, return the user back to the previous screen.

Bug: 77695840
Test: make ROBOTEST_FILTER=ColorModePreferenceFragmentTest
RunSettingsRoboTests -j40

Change-Id: I44812713bdc739b843e5806711d25ea950aa6250
2018-04-09 20:49:43 -07:00
Jeff Sharkey
0a77d9035b Merge "Update storage wizard to latest UX mocks." into pi-dev am: e9b6d482cb
am: 2388fe48b5

Change-Id: If85d1fadad2ed6bce18e3d4e0949c5fc5c65508c
2018-04-09 19:28:22 -07:00
Salvador Martinez
58fc3deab2 Merge "Make it possible to have open tether network" into pi-dev am: b410c21a01
am: 0cbce4983f

Change-Id: I59e11a84ab1dce03e7e9ab5afed816cb27313b1d
2018-04-09 19:27:48 -07:00
Jeff Sharkey
2388fe48b5 Merge "Update storage wizard to latest UX mocks." into pi-dev
am: e9b6d482cb

Change-Id: I6feefef72e42881bf82b359777dfa707e74f697b
2018-04-09 18:24:53 -07:00
Salvador Martinez
0cbce4983f Merge "Make it possible to have open tether network" into pi-dev
am: b410c21a01

Change-Id: Ieeefbfefd31cae9969effad32f929616cd5d2a25
2018-04-09 18:24:11 -07:00
Doris Ling
c8613c7930 Fix robotest failure for ChartDataUsagePreferenceTest.
- the chart usage data is computed using difference between current time
and the timestamp from the usage data. In the test, we are using actual
current time and mock usage data. As the current time varies the test
computating sometimes results in some negative data, and makes the
comparison unpredictable. Change to use a fix "current" time in the test
so that the time difference in computation will be constant.

Fixes: 77824818
Test: make RunSettingsRoboTests
Change-Id: I2d8c166839775469d30015317afdc04eb3d9a2b4
2018-04-09 18:12:46 -07:00
Matthew Fritze
dba7d1c4b3 Unavailable Slices includes DISABLED_DEPENDENT settings
In the change to mark disabled_dependent as available,
it did not change the check in SliceBuilderUtils for the
unavailable Slices. In the case of DISABLED_DEPENDENT, the
setting is available but the Slice is not.

Though it is a simple change, we can now properly test the contents
of Slices, so this change includes tests which should have been in
place earlier and would have caught this bug - duh.

Bug: 71640747
Test: Robotests
Change-Id: I8db5bc80edb337cbf907ce3669aa2bfd9c72f74a
2018-04-09 17:06:47 -07:00
Jeff Sharkey
e9b6d482cb Merge "Update storage wizard to latest UX mocks." into pi-dev 2018-04-09 23:58:34 +00:00
TreeHugger Robot
679799dd1b Merge "Fix usb preference summary" 2018-04-09 23:47:53 +00:00
Salvador Martinez
b410c21a01 Merge "Make it possible to have open tether network" into pi-dev 2018-04-09 23:30:35 +00:00
Salvador Martinez
81ca3dd4c0 Remove provisioning dialog from wifi-tethering
We no longer want this dialog to show when a user toggles tethering.
Failures to set up the AP will still be handled correctly.

Test: robotests pass
Bug: 62629055
Change-Id: Id3d0bf9694a1c8b6ae353bfd6634dd0b56813497
2018-04-09 15:27:02 -07:00
Lei Yu
c7b58b6997 Update field for ACTION_ANOMALY_TRIGGERED
Use new field FIELD_ANOMALY_TYPE

Bug: 75976625
Test: RunSettingsRoboTests
Change-Id: Ifb67c687d25e1e35afaadb05f2e9883e8dcf8049
2018-04-09 15:22:19 -07:00
Christine Franks
036cf51ac4 Merge "Remove Automatic color mode option" into pi-dev am: 0c92430be4
am: 00606b5d2a

Change-Id: I31fa05e75ddadbf11cd670e2b89455d222212b3e
2018-04-09 14:44:56 -07:00
Hansong Zhang
b2924dec8a Merge changes from topic "am-e8b13d24-dee0-4f84-89d4-8a7d110f6ec1" into oc-dev am: d59b0eddae am: 3f2dbb7cc9 am: e934ea80a6 am: 7df9791d24
am: 148d04dedb

Change-Id: I5d09b6680c0c25556f25c0daa76726d01f5b6e7e
2018-04-09 14:43:44 -07:00
Hansong Zhang
bba13e58c2 [automerger skipped] [automerger] DO NOT MERGE Fix unexpected behavior in Bluetooth pairing am: ac6c49d2b0 am: 5b98c9f4a3 am: dfe4cc74f7 skipped: d276b38666 am: 5d27bdb6d2 am: bab8dca667 am: 84061c71d1 am: 41be25548e skipped: 74ff24d1c6 am: c4127072f4 am: 1b7566cd07 am: af077f8d4c -s ours am: 3369767245
am: 9b8c565932  -s ours

Change-Id: I1bea1a448450fd0929570c8238d31cc1d743d6c1
2018-04-09 14:41:01 -07:00