Commit Graph

46794 Commits

Author SHA1 Message Date
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
Fan Zhang
95c8c89fee Fix color lint baseline. am: 76a0ef6adb
am: 11c9f97a2f

Change-Id: I541566eda1a225d096c8a1210cfff114cef08a05
2018-05-18 14:39:57 -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
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
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
Ching-Sung Li
7c0c7a0626 Update color whitelist for color repohook (caused by auto-merge)
It's blocking CLs to be uploaded to git server becuase inconsistent code
by auto-merge

Test: Can build and upload CLs
Bug: 79954469
Change-Id: I8dfc2cb8d660c6ddc97b3e1c8f06db7db2e15cfb
2018-05-18 12:54:39 -07:00
Android Build Merger (Role)
51741602d1 Merge "[automerger skipped] Merge "Add Intentfilter BasePreferenceController" into pi-dev am: e7906cb910 am: f7fcdbda29 -s ours" 2018-05-18 19:35:01 +00:00
Matthew Fritze
2cc510974b [automerger skipped] Merge "Add Intentfilter BasePreferenceController" into pi-dev am: e7906cb910
am: f7fcdbda29  -s ours

Change-Id: Ie1456f331f0547576ca3e540733e7b0982755700
2018-05-18 12:34:54 -07:00
TreeHugger Robot
42ef3471e4 Merge "Add controller to show the summary" 2018-05-18 19:34:48 +00:00
hughchen
a2a26442eb Merge "Update UI when BT device is rename" into pi-dev am: 77d218ab72
am: 3053922340

Change-Id: I86bd3be4f017f5bd80a2308a5b1e99366027a476
2018-05-18 12:27:08 -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
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
TreeHugger Robot
cf0e76b4cf Merge "Add Intentfilter BasePreferenceController" 2018-05-18 18:16:17 +00:00
TreeHugger Robot
77d218ab72 Merge "Update UI when BT device is rename" into pi-dev 2018-05-18 18:06:17 +00:00
TreeHugger Robot
1acaac079c Merge "Micro-cleanup in password settings" 2018-05-18 17:47:53 +00:00
Lei Yu
f94e2cca07 Merge "Don't drop log about excessive O anomaly." into pi-dev am: a866d6bd56
am: 7ca87fe51b

Change-Id: I1aeebb2b1c8a162390adc3667d850077eed3cc56
2018-05-18 10:46:18 -07: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
TreeHugger Robot
09b8210d3f Merge "Rename the Utils class in settingslib.bluetooth" 2018-05-18 17:29:58 +00:00
Lei Yu
a866d6bd56 Merge "Don't drop log about excessive O anomaly." into pi-dev 2018-05-18 17:09:44 +00:00
Pavel Grafov
5c9bbc1777 Micro-cleanup in password settings
Removed unused constant and member that was set and retained across instances
but never actually used.

Test: manual, set password
Bug: 30558331
Change-Id: I575bf1f0508b9441b220641715e9ca7372d9b32c
2018-05-18 17:03:20 +01: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
097dc80fc1 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
Bug: 78138654
Change-Id: Ifa05b651aaa3458c54866f71469964b1a070e458
2018-05-18 08:04:18 -07:00
Matthew Fritze
00c74a9d9c [automerger skipped] Merge "Add DnD as a special case Slice" into pi-dev am: 6dc6462a54
am: 6393e4bcfe  -s ours

Change-Id: I0181444b0286def4faf8dc33454da542c7cc026d
2018-05-18 08:00:45 -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
9dd27e3125 [automerger skipped] Merge "Grey the previously connected device preference" into pi-dev am: d24c9e4a80
am: 25ed11a1a7  -s ours

Change-Id: Ibb585afdcbd1e036b59219987c3e135675205387
2018-05-17 21:20:22 -07:00
nharold
4b04bb768e Merge "[automerger skipped] Merge changes from topic "telephony-debug-pi-tweaks" am: 5ff91e4fbe am: 768e0a2f37 -s ours" into pi-dev-plus-aosp
am: 187e0a117c

Change-Id: Ia1300269e3f8b06826d119934c2b80349aed3f39
2018-05-17 21:12:42 -07: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
TreeHugger Robot
45c29f15b9 Merge "Add DnD as a special case Slice" 2018-05-18 04:06:29 +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
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