Commit Graph

45375 Commits

Author SHA1 Message Date
Chienyuan
6b66b7e8cd Add developer options toggle for Bluetooth A2DP hardware offload
am: c96606500f

Change-Id: Ie5519aa3109964e4b3bc734242c72ae50a07101c
2018-05-19 23:41:40 -07:00
Chienyuan
c96606500f Add developer options toggle for Bluetooth A2DP hardware offload
Bug: 63932139
Bug: 79568680
Test: robotests
Change-Id: I54943cb591be1bfed0cdfe7eebf90bad64ce13c7
Merged-In: I54943cb591be1bfed0cdfe7eebf90bad64ce13c7
2018-05-18 23:40:22 -07:00
Salvador Martinez
13f97a29a6 Merge "Make user explicitly set security type for tether network" into pi-dev
am: 0e721c598e

Change-Id: I60f548f4d813a75f256aaf228c0e58232f376a16
2018-05-18 20:27:51 -07:00
TreeHugger Robot
0e721c598e Merge "Make user explicitly set security type for tether network" into pi-dev 2018-05-19 03:17:17 +00:00
Salvador Martinez
d9bae5a15e 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
Fixes: 79435112
Change-Id: Ie78806e8952b52e1b7cd21f0b87c9d064acaff64
Merged-In: Ie78806e8952b52e1b7cd21f0b87c9d064acaff64
2018-05-19 02:14:18 +00:00
Lei Yu
0e0bf4672b Merge "Refine update process for restrict tip." into pi-dev
am: 018548b320

Change-Id: I947eac4e04f049dda27a306427a9bf70412527fc
2018-05-18 19:02:55 -07:00
TreeHugger Robot
018548b320 Merge "Refine update process for restrict tip." into pi-dev 2018-05-19 01:55:05 +00:00
Alexey Kuzmin
cf663511db Add vibration preview
Test: Open vibration intensity settings, tap on any option. The preview
effect of selected intensity should be played back.

Bug: 74504389
Merged-In: Ie22ecb830752edb7a7515a3a6475587e72274e51
Change-Id: Ie22ecb830752edb7a7515a3a6475587e72274e51
2018-05-19 02:48:09 +01: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
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
Hansong Zhang
e36ca3e96d DO NOT MERGE Give PBAP permission only after user confirms
Bug: 72872376
Test: manual
Change-Id: I9617e3c10bf19e22f9a8f172332a83bbbebaf4a4
2018-05-18 17:31:42 -07: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
Fan Zhang
9b8684fd12 Merge "Don't use cached app icon in app info page." into pi-dev
am: 7312f55549

Change-Id: I3f196276bca134df35d0c723ae637354f5214744
2018-05-18 16:08:08 -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
Antony Sargent
6ef7737b71 Update headset, help, and info icons
Bug: 77982107
Test: manual
Change-Id: Ib5fe8e4df4a524b9c50ad395cd0189bef5fcafa5
2018-05-18 15:45:01 -07:00
TreeHugger Robot
7312f55549 Merge "Don't use cached app icon in app info page." into pi-dev 2018-05-18 22:43:35 +00:00
Beverly
9c6ccfbb4a Merge "DO NOT MERGE Set click listeners on displayPreference" into pi-dev
am: cf845f365c

Change-Id: Ifdbe1baa8fc2b7cff4520ef61aa9277d9aeaef15
2018-05-18 15:32:12 -07:00
TreeHugger Robot
cf845f365c Merge "DO NOT MERGE Set click listeners on displayPreference" into pi-dev 2018-05-18 22:23:37 +00: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
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
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
Fan Zhang
11c9f97a2f Fix color lint baseline.
am: 76a0ef6adb

Change-Id: I814c6575a157fa6c4f27cb68aa076df23f94e3be
2018-05-18 14:36:21 -07:00
Fan Zhang
fcbf155b47 Don't use cached app icon in app info page.
The cache in ApplicationsState is causing a lot of damage because AS
object is not smart enough to invalidate the cache in all conditions. So
we end up having bugs like stale app label or icon in weird cases.

This change stops using the cache when loading app icon in entity
headres. This is only a stop gap solution to fix most visible (and most
frequently complained) parts of the page. We still need to address the
cache in ApplicationsState eventually.

Change-Id: Iea88ad99d4069d678d09943cfb0b0e5c94eb3326
Fixes: 79881693
Test: robotests
2018-05-18 14:31:48 -07:00
Beverly
2f2a4d97e7 DO NOT MERGE Set click listeners on displayPreference
Test: manual (tap options multiple times with talkback on)
Test: ZenModeVisEffectsCustomPreferenceControllerTest, robotests
Change-Id: Iffa701fb486bd9eeda7d2c4c46cb30392a09a5df
Bug: 79728671
2018-05-18 21:24:37 +00:00
Fan Zhang
76a0ef6adb Fix color lint baseline.
This is broken by some automerge.

Change-Id: I520eff408ef2d071893b0ed4de3c4e58916bf9fc
Fixes: 79954469
Test: repo preupload
2018-05-18 20:33:45 +00:00
Lei Yu
551a1a0176 Refine update process for restrict tip.
When restrict tip update, we should also update app list unless it goes
from NEW to INVISIBLE. After that it won't show "0 apps been
restricted".

Change-Id: Iedf4288fcddfe632a9ba8c16afdfb5bc044bce2e
Fix: 79890132
Test: RunSettingsRoboTests
2018-05-18 13:00:03 -07:00
Matthew Fritze
f7fcdbda29 Merge "Add Intentfilter BasePreferenceController" into pi-dev
am: e7906cb910

Change-Id: I4205a88200dcb02ba9029721618da790cb562ea0
2018-05-18 11:59:11 -07:00
hughchen
3053922340 Merge "Update UI when BT device is rename" into pi-dev
am: 77d218ab72

Change-Id: I00e7f52939014e6a3079f0a0743fa982fe8abd0a
2018-05-18 11:52:02 -07:00
TreeHugger Robot
e7906cb910 Merge "Add Intentfilter BasePreferenceController" into pi-dev 2018-05-18 18:41:53 +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
TreeHugger Robot
77d218ab72 Merge "Update UI when BT device is rename" into pi-dev 2018-05-18 18:06:17 +00:00
Lei Yu
7ca87fe51b Merge "Don't drop log about excessive O anomaly." into pi-dev
am: a866d6bd56

Change-Id: Ic35a5326c2a9be3024ad246a793e05221b2d7aca
2018-05-18 10:31:44 -07:00
Lei Yu
a866d6bd56 Merge "Don't drop log about excessive O anomaly." into pi-dev 2018-05-18 17:09:44 +00:00
Matthew Fritze
4a6f058552 Add Intentfilter BasePreferenceController
For settings which can change in the framework, outside of
the settings app and a slice, a Slice needs to be able to
register a listener for these changes.

Adding a getter for an IntentFilter in BasePreferenceControllers
allows us to use the SliceBroadcastRelay in SysUi to listen for
these changes.

Test: robotests
Fixes: 78138654

Change-Id: I579375069ca98fd21b60cd3a69c1a122cabf96e2
Merged-In: Ifa05b651aaa3458c54866f71469964b1a070e458
2018-05-18 08:06:08 -07:00
Matthew Fritze
6393e4bcfe Merge "Add DnD as a special case Slice" into pi-dev
am: 6dc6462a54

Change-Id: I8f6260380bb7241ebce956ff2772f7e6ee0218b6
2018-05-18 07:46:41 -07:00
TreeHugger Robot
6dc6462a54 Merge "Add DnD as a special case Slice" into pi-dev 2018-05-18 14:41:45 +00: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
Android Build Merger (Role)
187e0a117c Merge "[automerger skipped] Merge changes from topic "telephony-debug-pi-tweaks" am: 5ff91e4fbe am: 768e0a2f37 -s ours" into pi-dev-plus-aosp 2018-05-18 03:41:13 +00: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
nharold
f9220d768d [automerger skipped] Merge changes from topic "telephony-debug-pi-tweaks" am: 5ff91e4fbe
am: 768e0a2f37  -s ours

Change-Id: I79f4451f4e534fdaaa7e18c28221c6fc35cdba11
2018-05-17 20:40:32 -07:00