Commit Graph

47118 Commits

Author SHA1 Message Date
Fan Zhang
9445d15f9d Remove priority from intent-filters for IA items
And use ORDER metadata instead.

Bug: 77600770
Test: robotests
Change-Id: I9862c89ff5b601fbb9fb53eaa91f03d95d501284
2018-08-08 09:09:27 -07:00
Xin Li
23c549b996 Merge "Merge Android Pie into master" am: eae6f13389 am: b745578205 am: ffc0419e4f
am: ecad848947

Change-Id: I2475353f2b7ff64ccd05c85b35d2eb0170f16fe6
2018-08-08 03:45:20 -07:00
Xin Li
ecad848947 Merge "Merge Android Pie into master" am: eae6f13389 am: b745578205
am: ffc0419e4f

Change-Id: If8a871860b5af69788ffecd79a3a4f38c4b764ef
2018-08-07 22:54:42 -07:00
TreeHugger Robot
0d9f3abc55 Merge "Convert ProfileSelectDialog to androidx verison" 2018-08-08 04:53:54 +00:00
TreeHugger Robot
f177af7f9d Merge "Fix failed test cases" 2018-08-08 04:31:40 +00:00
TreeHugger Robot
05bec1d1d3 Merge "Remove the function that not used in BluetoothCallback" 2018-08-08 04:17:53 +00:00
Raff Tsai
72cfe1a17a Fix failed test cases
It looks like robolectric need some change to fit current
support library or framework. We add shadow to replace
some crashed function.

Fixes: 111941314
Test: make RunSettingsRoboTests
Change-Id: If5afadf3c602fc2aa961a04f7022079c43e99c63
2018-08-08 11:17:44 +08:00
tmfang
800f713021 Convert ProfileSelectDialog to androidx verison
Change-Id: Ib3baf04860aee07e5f28d7b537a99a3543d2a978
Fixes: 112155563
Test: robo, manual test
2018-08-08 10:33:11 +08:00
TreeHugger Robot
fbc325a9aa Merge "Get Tile#intent through getter" 2018-08-08 02:08:06 +00:00
Xin Li
ffc0419e4f Merge "Merge Android Pie into master" am: eae6f13389
am: b745578205

Change-Id: I6da67456fef37ea0df3b003c0190692e9aeaf571
2018-08-07 18:37:11 -07:00
TreeHugger Robot
06c9bd2cdb Merge "Fix profile photo chooser" 2018-08-07 23:10:12 +00:00
Xin Li
b745578205 Merge "Merge Android Pie into master"
am: eae6f13389

Change-Id: I8da592027bd7658b9d900aa8fae529c4bf7a6a7d
2018-08-07 15:06:54 -07:00
Antony Sargent
dbe907b2cf Fix profile photo chooser
The underlying Dialog API changed when it returns true for isShowing()
in a way that broke our profile photo chooser, but it turns out it was
an intended change and we were depending on it in a way we shouldn't
have been. Instead we'll just keep track of whether we were showing the
dialog by using an already existing boolean flag that gets set before we
start the photo collection activity.

Fixes: 110101157
Test: make -j RunSettingsRoboTests
Change-Id: I166230e85142c348b6760e436324261f2a41f1e0
2018-08-07 14:51:24 -07:00
Fan Zhang
3506b74659 Get Tile#intent through getter
Bug: 77600770
Test: robotests
Change-Id: I17d3556f833e6a9610fe34f382534bd90bb0499f
2018-08-07 14:50:18 -07:00
TreeHugger Robot
4453a60c17 Merge "Add a reason field to vibrator service" 2018-08-07 19:42:58 +00:00
TreeHugger Robot
b9b4a68862 Merge "Treat icon color metadata as raw value instead of reference" 2018-08-07 17:37:26 +00:00
Xin Li
eae6f13389 Merge "Merge Android Pie into master" 2018-08-07 16:51:28 +00:00
Fan Zhang
58543721f8 Treat icon color metadata as raw value instead of reference
Bug: 79841665
Test: robotests
Change-Id: I1216718e45e80a428e8a0edb7b9accf5325be769
2018-08-07 09:15:23 -07:00
TreeHugger Robot
2774768536 Merge "Use CustomDialogPreferenceCompat for ZenDuration" 2018-08-07 14:12:59 +00:00
timhypeng
8833bb61d2 remove unnecessary mock in BluetoothDeviceUpdaterTest
Bug: 111848213
Test: make -j50 RunSettingsRoboTests
Change-Id: If1c46614ec6e40c66eb121cc48caa1fbc9c39871
2018-08-07 08:21:51 +00:00
Xin Li
40a1c33e24 Merge Android Pie into master
Bug: 112104996
Change-Id: I4930d57cc584503a8e16e2b69549efb5780faad8
2018-08-06 16:51:22 -07:00
TreeHugger Robot
fa44a94aa9 Merge "Add a boolean flag to show or hide Private DNS in Network & internet." 2018-08-06 19:07:14 +00:00
TreeHugger Robot
ac94606cdf Merge "Clean up task affinity" 2018-08-06 18:32:37 +00:00
Fan Zhang
6c6239bc96 Clean up task affinity
Bug: 112254258
Test: manual
Change-Id: Ifd9321f5d0532f01db2f6c0b97c914418e3a15e7
2018-08-06 10:17:13 -07:00
Beverly
c4d473c613 Use CustomDialogPreferenceCompat for ZenDuration
Test: ZenModeDurationPreferenceControllerTest
Bug: 112041657
Change-Id: I0158a703d26f73512c560889d6549d68230bf98e
2018-08-06 11:41:03 -04:00
hughchen
de6d3202e1 Remove the function that not used in BluetoothCallback
Bug: 111811266
Test: Build pass
Change-Id: Ib33ec31607931f5e67d5119cf9b0cb6b894794a0
2018-08-06 17:53:08 +08:00
timhypeng
3cd093efe8 remove unnecessary mock in ConnectedBluetoothDeviceUpdaterTest
Bug: 111848213
Test: make -j50 RunSettingsRoboTests
Change-Id: I6a2a25ff80d7d3cd9bcf2b4223afb6a80de7eb7c
2018-08-06 06:44:27 +00:00
TreeHugger Robot
1e23931f3e Merge "Remove obsolete parameter from addDevice" 2018-08-06 06:40:46 +00:00
TreeHugger Robot
67e7ee3c1b Merge "Icon color of spinner updated" 2018-08-06 04:07:19 +00:00
Bill Yi
6b4c667ebd [automerger skipped] Import translations. DO NOT MERGE am: 000f97dcf9 -s ours am: 16191b3408 -s ours
am: 4dd2c1fa3d  -s ours

Change-Id: Ia93756b2c4e84be0828826ee390d0365d804fbe4
2018-08-04 18:30:05 -07:00
Bill Yi
4dd2c1fa3d [automerger skipped] Import translations. DO NOT MERGE am: 000f97dcf9 -s ours
am: 16191b3408  -s ours

Change-Id: I25c2d0e11f48a0cfa54bd1790ab858bbec109bc3
2018-08-04 18:25:30 -07:00
Bill Yi
16191b3408 [automerger skipped] Import translations. DO NOT MERGE
am: 000f97dcf9  -s ours

Change-Id: Ia6cce5c5529998a45fa52d353f63a8edc8e2c0ef
2018-08-04 18:21:26 -07:00
Bill Yi
000f97dcf9 Import translations. DO NOT MERGE
Change-Id: I89c83219dfbf228054284db00548647b94fc398b
Auto-generated-cl: translation import
2018-08-04 07:43:29 -07:00
Fan Zhang
60243e6873 Remove custom tintable check.
Make a bunch keys private in tile and DashboardCategory
Bug: 77600770
Test: robotests
Change-Id: I4693e6bb71bd50cc664f578c7f8e25e67da20b67
2018-08-03 16:38:36 -07:00
TreeHugger Robot
eda8a01c23 Merge "Move profile selector dialog to Settings" 2018-08-03 02:05:32 +00:00
Fan Zhang
19d3597bf2 Fix robo tests
We are pointing to intermediate built files for resource. We should
instead just remove the ResourcePath list and let Robolectric extract
res files from built apk (supported in a newer version or robolectric)

Change-Id: Iaed2160518b90a8a678c8526295dcfa74c8e3c42
Fixes: 112160027
Test: robotests
2018-08-02 17:01:40 -07:00
Fan Zhang
9a1928ea36 Move profile selector dialog to Settings
Bug: 77600770
Test: robotest
Change-Id: I601dabfd925a1990b7bd9115ef579bff9039a7c0
2018-08-02 13:35:08 -07:00
Stanley Wang
6fe0330bf7 Icon color of spinner updated
Change-Id: Iea7f5d5ec43360cf6114caf368fa8c93ce4cf95c
Fixes: 109843982
Test: manual
2018-08-02 15:20:51 +08:00
TreeHugger Robot
e4aa129375 Merge "5/n: Add face settings" 2018-08-02 04:20:08 +00:00
TreeHugger Robot
ff0a2d8267 Merge "Replaced 'partition' by 'requests'" 2018-08-01 23:19:13 +00:00
Felipe Leme
2bd563b11d Replaced 'partition' by 'requests'
Fixes: 111987840
Test: echo "In TreeHugger we trust!"

Change-Id: I450d23677063b98d994559a64fff2a4832afe6ef
2018-08-01 15:13:00 -07:00
TreeHugger Robot
5ec759f970 Merge "Fixes Settings app crashing when NfcAdapter is null" 2018-08-01 21:52:40 +00:00
Ruchi Kandoi
37efa64d63 Fixes Settings app crashing when NfcAdapter is null
If a device doesn't support NFC then
android.settings.NFCSHARING_SETTINGS and
android.nfc.cardemulation.action.ACTION_CHANGE_DEFAULT intents shouldn't
do anything and gracefully exit.

Test: Manual; Emulate a non-NFC device and test with apks sending intents
Bug: 80094104
Bug: 80092438
Change-Id: I5b3c3fdd582679e2cb16f474ef3331bc246b0d42
2018-08-01 13:35:18 -07:00
TreeHugger Robot
8c8049e2f8 Merge "Remove unused SuggestionFeatureProvider APIs." 2018-08-01 19:32:41 +00:00
TreeHugger Robot
52ec53bb2c Merge "Disable changing lock when device is not provisioned." 2018-08-01 19:29:44 +00:00
Doris Ling
882bef3962 Disable changing lock when device is not provisioned.
When the device is not yet provisioned and settings is launched:
- disable the entry point for changing device lock
- remove the search panel from settings home page
- remove the search menu

Bug: 110034419
Test: make RunSettingsRoboTests
Change-Id: Ieb7eb0e8699229ec0824ccc19d7b958ac44965a2
2018-08-01 10:18:01 -07:00
Fan Zhang
b4c610b93c Remove unused SuggestionFeatureProvider APIs.
Bug: 111941143
Test: robotests
Change-Id: Ic4e607b3601fd43ad57dad13474e2d0ee78bf29c
2018-08-01 09:53:54 -07:00
TreeHugger Robot
bf506bf01a Merge "Check the device is connected when receive onProfileConnectionStateChanged()" 2018-08-01 07:39:01 +00:00
TreeHugger Robot
467a6559c1 Merge "Use Settings.Secure values, not Global values" 2018-07-31 17:13:27 +00:00
TreeHugger Robot
919334c04f Merge "Fix windows leaked in ZenModeScheduleRuleSettings" 2018-07-31 16:35:10 +00:00