Commit Graph

15744 Commits

Author SHA1 Message Date
TreeHugger Robot
2835348b72 Merge "Make user explicitly set security type for tether network" 2018-05-19 02:05:20 +00:00
Shuzhen Wang
94f80c719a Merge "Settings: Add logical camera default switch" into pi-dev
am: 871d93a564

Change-Id: Id24373caa953f31fae232eb965710cca909ce19d
2018-05-18 18:37:16 -07:00
hughchen
e5ec69e433 Merge "Add controller to show the summary" into pi-dev
am: 863b27270d

Change-Id: I612207108138216ba865cb026b00866ae9f53250
2018-05-18 18:35:44 -07:00
Antony Sargent
6c196e3227 Merge "Update headset, help, and info icons" into pi-dev am: 88d4356a1f
am: d789f43ea9

Change-Id: I26ad75ad4d88395a25445308318a80cd4e1414b8
2018-05-18 18:30:26 -07:00
Antony Sargent
a6b602e370 Merge "Refresh of "swipe up" gesture animation" into pi-dev am: 5d0efdce7f
am: 1ead1f1665

Change-Id: I481687f0a8b6c65d6dff2a18dbe280230d0cd550
2018-05-18 18:29:41 -07:00
TreeHugger Robot
871d93a564 Merge "Settings: Add logical camera default switch" into pi-dev 2018-05-19 01:27:11 +00:00
TreeHugger Robot
863b27270d Merge "Add controller to show the summary" into pi-dev 2018-05-19 01:26:12 +00:00
Antony Sargent
d789f43ea9 Merge "Update headset, help, and info icons" into pi-dev
am: 88d4356a1f

Change-Id: Ic8ae157f46296613edd6f0b75a43973d4a69d048
2018-05-18 18:25:46 -07:00
Antony Sargent
1ead1f1665 Merge "Refresh of "swipe up" gesture animation" into pi-dev
am: 5d0efdce7f

Change-Id: Ieb09a7411a7e4f81ccd9fea2f9f7b53c5ce07ebd
2018-05-18 18:24:44 -07:00
TreeHugger Robot
88d4356a1f Merge "Update headset, help, and info icons" into pi-dev 2018-05-19 01:22:23 +00:00
TreeHugger Robot
5d0efdce7f Merge "Refresh of "swipe up" gesture animation" into pi-dev 2018-05-19 01:20:35 +00:00
Antony Sargent
93efecbe47 Refresh of "swipe up" gesture animation
Fixes: 77474484
Test: manual (Settings->System->Gestures->Swipe up on Home button)
Change-Id: I3e6f187ffd79c8b39afeb783fd067878136d0feb
2018-05-18 16:09:20 -07:00
Shuzhen Wang
a9578a2b8a Settings: Add logical camera default switch
Add a switch to make logical camera as default camera (with smaller
camera id) for 3rd party app.

Test: Manually using Settings app, RunSettingsRoboTests
Bug: 77600932
Change-Id: I86c7f3b9830fb376b324621feb31cdfac59faee5
Merged-In: I86c7f3b9830fb376b324621feb31cdfac59faee5
2018-05-18 23:01:03 +00:00
TreeHugger Robot
f5e52c421b Merge "Settings: Add logical camera default switch" 2018-05-18 22:58:35 +00:00
Antony Sargent
6ef7737b71 Update headset, help, and info icons
Bug: 77982107
Test: manual
Change-Id: Ib5fe8e4df4a524b9c50ad395cd0189bef5fcafa5
2018-05-18 15:45:01 -07:00
Salvador Martinez
f3d532f43d Make user explicitly set security type for tether network
This was made implicit which is confusing for the user so this CL
adds a preference to make the user manually choose their security
type.

Test: robotests
Bug: 79435112
Change-Id: Ie78806e8952b52e1b7cd21f0b87c9d064acaff64
2018-05-18 15:21:07 -07:00
Beverly
f6d54bc6c5 Don't give onboarding dialog a fixed width
Test: visual inspection (display and font largest)
Change-Id: Ia81cfa41c125d088d95db2e29f83248dc6819396
Fixes: 79960996
2018-05-18 22:19:22 +00:00
Beverly
77f3973d97 Update DND strings
Test: manual
Bug: 79525632
Change-Id: Ia6106d03499fa546df51dc80f086c7cd684acad4
2018-05-18 22:19:02 +00:00
Nathan Harold
93a2b1e893 Merge changes from topic "tel-debug-pi-dev-plus-aosp" into pi-dev-plus-aosp
am: 3eb0dbdee0

Change-Id: I010e6932d481a6e031239212bb01258a317a7c41
2018-05-18 15:18:27 -07:00
Nathan Harold
3eb0dbdee0 Merge changes from topic "tel-debug-pi-dev-plus-aosp" into pi-dev-plus-aosp
* changes:
  [Telephony Debug Menu] Redo Layout
  [Telephony Debug Menu] Remove DcRtInfo
  [Telephony Debug Menu] Remove NeighboringCellInfo
2018-05-18 22:09:20 +00:00
Antony Sargent
bdba093a59 Merge "Update cancel and cast icons" into pi-dev am: cf2dc360bd
am: a219ed30df

Change-Id: I9857a7e87943426b1a7759526448690351239d89
2018-05-18 14:53:17 -07:00
Antony Sargent
28f04c984d Merge "Updated delete icon" into pi-dev am: 55642ef91b
am: d55b214dbd

Change-Id: Ifca325273ca5e99461a93487b127b5d0adcf6a39
2018-05-18 14:52:44 -07:00
Antony Sargent
a219ed30df Merge "Update cancel and cast icons" into pi-dev
am: cf2dc360bd

Change-Id: I234d9aff45339d501669f05e3dafa9969542d2bc
2018-05-18 14:49:56 -07:00
Antony Sargent
d55b214dbd Merge "Updated delete icon" into pi-dev
am: 55642ef91b

Change-Id: I070f6c587c2b840793027e5e76fe4b258d76dd9d
2018-05-18 14:49:07 -07:00
TreeHugger Robot
cf2dc360bd Merge "Update cancel and cast icons" into pi-dev 2018-05-18 21:39:33 +00:00
TreeHugger Robot
55642ef91b Merge "Updated delete icon" into pi-dev 2018-05-18 21:38:51 +00:00
Shuzhen Wang
5aab8d9ee1 Settings: Add logical camera default switch
Add a switch to make logical camera as default camera (with smaller
camera id) for 3rd party app.

Test: Manually using Settings app, RunSettingsRoboTests
Bug: 77600932
Change-Id: I86c7f3b9830fb376b324621feb31cdfac59faee5
2018-05-18 14:09:00 -07:00
hughchen
c24a09e593 Add controller to show the summary
* For fix the "Automatic merge failed" in pi-dev, cherry pick the ag/4036738 in
  master. Change android.support.* to androidx.*
* Add AdvancedConnectedDeviceController that used to show which component is available
* Add getConnectedDevices Summary Resource Id() to decide which string should be shown.
  Here have  4 cases to shown the string.
  case 1: driving mode available and NFC is availalbe, show "Bluetooth, driving mode, NFC"
  case 2: driving mode available and NFC is not availalbe, show "Bluetooth, driving mode"
  case 3: driving mode not available and NFC is availalbe, show "Bluetooth, NFC"
  case 4: driving mode not available and NFC not availalbe, show "Bluetooth"
* Add test to verify the summary string is correct in each condition
* Add test to verify getAvailabilityStatus() is AVAILABLE.

Bug: 79299421
Test: make -j50 RunSettingsRoboTests ROBOTEST_FILTER=AdvancedConnectedDeviceControllerTest
Change-Id: I1048355bbd344db3ab645dd1537b4259eff57f38
2018-05-18 18:17:43 +00:00
hughchen
fd7c9650ed Add controller to show the summary
* Add AdvancedConnectedDeviceController that used to show which component is available
* Add getConnectedDevices Summary Resource Id() to decide which string should be shown.
  Here have  4 cases to shown the string.
  case 1: driving mode available and NFC is availalbe, show "Bluetooth, driving mode, NFC"
  case 2: driving mode available and NFC is not availalbe, show "Bluetooth, driving mode"
  case 3: driving mode not available and NFC is availalbe, show "Bluetooth, NFC"
  case 4: driving mode not available and NFC not availalbe, show "Bluetooth"
* Add test to verify the summary string is correct in each condition
* Add test to verify getAvailabilityStatus() is AVAILABLE.

Bug: 79299421
Test: make -j50 RunSettingsRoboTests ROBOTEST_FILTER=AdvancedConnectedDeviceControllerTest
Change-Id: I1048355bbd344db3ab645dd1537b4259eff57f38
Merged-In: I1048355bbd344db3ab645dd1537b4259eff57f38
2018-05-18 18:17:27 +00:00
Doris Ling
932a63e380 Merge "Update condition title text color." into pi-dev am: ad031a0a4d
am: 05a0d4f413

Change-Id: I99557205959a219f6d71af946d635aa50e5ee331
2018-05-17 21:11:21 -07:00
hughchen
25ed11a1a7 Merge "Grey the previously connected device preference" into pi-dev
am: d24c9e4a80

Change-Id: Ib21ad60483a97563c075f12d49b0179db44e661b
2018-05-17 20:48:39 -07:00
Doris Ling
05a0d4f413 Merge "Update condition title text color." into pi-dev
am: ad031a0a4d

Change-Id: Ibb33ebb3327ed60768399ba5ad3aa18d05ba7846
2018-05-17 20:40:58 -07:00
Nathan Harold
40ece56d99 [Telephony Debug Menu] Redo Layout
Changes to the layout to better group
related fields, add more definite
boundaries, fix some alignment issues,
and put more-often-used fields closer
to the top.

Bug: 78791811
Test: manual
Change-Id: I492abe16a25d1880e4385a78247925805fe5b590
2018-05-17 20:40:23 -07:00
Nathan Harold
3d41affd2c [Telephony Debug Menu] Remove DcRtInfo
Remove the obsolete and unsupported DcRtInfo
field from the Debug menu. Since it doesn't
do anything and hasn't for a few releases,
we should make space for things that are
supported and minimize clutter.

Bug: 78791811
Test: manual
Change-Id: Id4cc808bf5c7671408cd5297965d93140aeefe97
2018-05-17 20:40:23 -07:00
Nathan Harold
4219d80224 [Telephony Debug Menu] Remove NeighboringCellInfo
This CL removes the long-obsolete NeighboringCellInfo.
From a debug perspective, this info is a subset of the
other info already present, so it just adds clutter
without adding any value.

Bug: 78791811
Test: manual
Change-Id: Iaf275f81e276f63bdd9651ac60a5485bf5bdf160
2018-05-17 20:40:23 -07:00
TreeHugger Robot
d24c9e4a80 Merge "Grey the previously connected device preference" into pi-dev 2018-05-18 03:21:57 +00:00
Doris Ling
f3eb177322 Merge "Adjust Lock screen message for better accessibility." into pi-dev am: 1b242d24ca
am: 687b7aecec

Change-Id: Ic8afe6017cb049813070e8b271d624795920201c
2018-05-17 19:27:38 -07:00
hughchen
980b718989 Grey the previously connected device preference
* Add PreviouslyConnectedDevicePreferenceController to handle the preference should be
  enable or disable.
  Example: If there are no previously connected devices disable the preference otherwise
  enable it.
* Add PreviouslyConnectedDevicePreferenceControllerTest
  1. Verify the callback can be registered and unregistered
  2. Verify the preference is enable when there
     have more than 1 previously connected device
  3. Verify the preference is disable when there
     have no previously connected device

Bug: 78250052
Test: make -j50 RunSettingsRoboTests
Change-Id: I31b5d416aaf907c3bbf1cb61de6e7401463e3df7
Merged-In: I31b5d416aaf907c3bbf1cb61de6e7401463e3df7
2018-05-18 02:16:23 +00:00
Lei Yu
8f6eef907e Merge "Adjust wifi dialog for better accessibility" into pi-dev am: e2d14d409e
am: 9959944faf

Change-Id: I9da6925b538c8ff527a3501df16471d5462a8eec
2018-05-17 19:14:53 -07:00
TreeHugger Robot
ad031a0a4d Merge "Update condition title text color." into pi-dev 2018-05-18 01:59:24 +00:00
Doris Ling
687b7aecec Merge "Adjust Lock screen message for better accessibility." into pi-dev
am: 1b242d24ca

Change-Id: Ie36b95d76d53076c4d35a5973c260dd98c5e0693
2018-05-17 18:48:08 -07:00
Fan Zhang
7f683e8252 Merge "Misc style updates to fix some GAR issues" into pi-dev am: 2200308554
am: 7a6a3b28a9

Change-Id: Ia249bbcced52acb9b0316f218472f53ef3868993
2018-05-17 18:41:39 -07:00
Doris Ling
1b242d24ca Merge "Adjust Lock screen message for better accessibility." into pi-dev 2018-05-18 01:23:00 +00:00
Lei Yu
9959944faf Merge "Adjust wifi dialog for better accessibility" into pi-dev
am: e2d14d409e

Change-Id: I5dc74f51fdbcd00d0dd71d632313c60f200a639d
2018-05-17 18:19:25 -07:00
Fan Zhang
7a6a3b28a9 Merge "Misc style updates to fix some GAR issues" into pi-dev
am: 2200308554

Change-Id: Ia3ed8b5a46ec3be2a718af8e31a0ef6af64ab541
2018-05-17 18:13:41 -07:00
TreeHugger Robot
e2d14d409e Merge "Adjust wifi dialog for better accessibility" into pi-dev 2018-05-18 00:12:44 +00:00
TreeHugger Robot
2200308554 Merge "Misc style updates to fix some GAR issues" into pi-dev 2018-05-18 00:09:44 +00:00
Doris Ling
3d5556c6f8 Update condition title text color.
- change from color accent to text color primary.

Change-Id: I9aae199a1d98772125526468aa80f9f423b106c0
Fixes: 79700374
Test: visual
2018-05-17 16:34:37 -07:00
Lei Yu
e7dd4197b0 Adjust wifi dialog for better accessibility
For some items, change the minHeight to 48dp. Also update text size
a little bit to fit the new height.

Change-Id: I87d3067c29d0d87eff6eadc4332984171e9fe4b6
Fixes: 79722015
Test: Build
2018-05-17 16:05:09 -07:00
Fan Zhang
36e61e191a Misc style updates to fix some GAR issues
- Increase tap target height for add wifi dialog entries.
- Increase tap height for vpn editor fields
- Tap target area for switchbar toggle

Change-Id: I0d0e350dd4236cd4fe73fa190fb79ca50de2da60
Fixes: 79871635
Fixes: 79887410
Test: visual
2018-05-17 15:03:18 -07:00