Commit Graph

27127 Commits

Author SHA1 Message Date
Lei Yu
f3365e911d Merge "Add mms preference and controller" into qt-dev 2019-04-22 17:55:34 +00:00
Lei Yu
fe393599a0 Merge "Remove feature flag for slice injection" into qt-dev 2019-04-22 17:49:52 +00:00
Tim Peng
8f130628fa Remove "Play media to" when no connected device am: 99ed023ca4
am: 568520bdf5

Change-Id: If5de94fba3f751e29155df223372ce6a165120df
2019-04-22 10:23:26 -07:00
Tim Peng
568520bdf5 Remove "Play media to" when no connected device
am: 99ed023ca4

Change-Id: I462ce390a7addc95ceacb0f0a4e48382ac34aed5
2019-04-22 10:03:39 -07:00
Tim Peng
99ed023ca4 Remove "Play media to" when no connected device
Bug: 130251782
Test: make -j42 RunSettingsRoboTests
Change-Id: Id40199a67aef48b99f59cf6e04f93be2abe5e8fc
2019-04-22 06:09:36 +00:00
Yi-Ling Chuang
8b2e0a5768 Expand advanced button by default in Notifications.
When users search for a certain preference hidden in advanced group
in Notifications page, we should expand the advanced button so
users can see the highlighted preference.

Fixes: 130655529
Test: visual
Change-Id: I6a166ddd1e741651d3a3a76ccfc37c58eafdf7e1
2019-04-22 12:26:21 +08:00
clownshen
60013de198 Correct detail page UI once user change MAC randomized setting
Changing MAC randomized setting will disconnect and reconnect Wi-Fi in
the background automatically. UI display as disconnect even AP
reconnected. Fix this problem and also remove some obsolete code.
Another problem is connect button display as disabled with
"Connecting..." wording after user click connect then change the MAC
randomized setting.

Bug: 130370187
Test: Manual test with test case in go/wifi_connnection_btn_design
Test: make RunSettingsRoboTests -j32 ROBOTEST_FILTER=com.android.settings.wifi.details.WifiDetailPreferenceControllerTest
Change-Id: Id87c3db0cc785a9ceb3a71c7cbb78ffd87ffb0a1
2019-04-22 11:44:37 +08:00
cosmohsieh
a79783ca2a Improve some comments of strings and codes
1) Correct improper function comment about forget menu
2) Extends char limit of wifi_scan_always_turn_on_message_unknown for
translation.
3) Correct string comment on Saved networks summary

Bug: 130628569
Test: make RunSettingsRoboTests -j32 ROBOTEST_FILTER=com.android.settings.wifi.WifiSettingsTest
Change-Id: I0e60e4f205c794367dfffc032cb4334dac4d1cdd
2019-04-21 15:35:58 +08:00
TreeHugger Robot
fbaae11bd7 Merge "Remove deprecated AccessPoint#getConfigName() in SavedNetworkComparator" 2019-04-20 22:09:41 +00:00
Mark Chien
57659716d0 Merge "Ignore the outdated entitlement check" am: d7885ca73a am: 7b30503dc4
am: f886be6999

Change-Id: Ic2cd5ed57ec675d0ad13521cc354a1eb4cc38d69
2019-04-19 23:45:35 -07:00
Mark Chien
77b7618138 Merge "Ignore the outdated entitlement check" into qt-dev 2019-04-20 04:41:52 +00:00
Mark Chien
f886be6999 Merge "Ignore the outdated entitlement check" am: d7885ca73a
am: 7b30503dc4

Change-Id: I294f9f2e9ca239cb8f1c689580ce266ddead8f5b
2019-04-19 21:07:49 -07:00
Mark Chien
7b30503dc4 Merge "Ignore the outdated entitlement check"
am: d7885ca73a

Change-Id: If610c3233137562571eeff0b2d73b2bdd946ebd9
2019-04-19 20:26:15 -07:00
Beverly
91d48e2c31 Merge "Allow up two lines of text on dnd restrict notif" into qt-dev am: f09245150d
am: 08de5537ef

Change-Id: Ibe64d01921a30d9538af0641c01a68112d12657d
2019-04-19 19:06:04 -07:00
Mark Chien
d7885ca73a Merge "Ignore the outdated entitlement check" 2019-04-20 02:05:33 +00:00
Lei Yu
88ba448b3a Merge "Fix battery robo test" into qt-dev am: fc48118694
am: 87bdcd3ce2

Change-Id: I06ff2450d1757a4ae45a28866084f7bb377c8a30
2019-04-19 18:56:31 -07:00
Salvador Martinez
f0ecd2bf7d Merge "Update battery stuff to use SettingsLib Estimate class" into qt-dev am: 022af8ca10
am: 72d99dd38c

Change-Id: I2b9279b3f11abef1719c6d23fa998774aa983af8
2019-04-19 18:07:31 -07:00
Fan Zhang
812db12067 Merge "Add a way to suppress injected tiles for OEMs" into qt-dev am: ac76a480bd
am: 4a4b2a5b00

Change-Id: I9873cb57e2bc2fd7584527d39215b80a2381161b
2019-04-19 18:05:50 -07:00
Beverly
08de5537ef Merge "Allow up two lines of text on dnd restrict notif" into qt-dev
am: f09245150d

Change-Id: I159f4c670c2a103fe5c3fdb87e62e0e21a42bc5b
2019-04-19 17:28:45 -07:00
Lei Yu
87bdcd3ce2 Merge "Fix battery robo test" into qt-dev
am: fc48118694

Change-Id: Id0bcad14d216bb2718435dffdb802e105af440d4
2019-04-19 17:20:53 -07:00
TreeHugger Robot
f09245150d Merge "Allow up two lines of text on dnd restrict notif" into qt-dev 2019-04-19 23:20:10 +00:00
TreeHugger Robot
fc48118694 Merge "Fix battery robo test" into qt-dev 2019-04-19 23:13:51 +00:00
Salvador Martinez
72d99dd38c Merge "Update battery stuff to use SettingsLib Estimate class" into qt-dev
am: 022af8ca10

Change-Id: Ie0e16d985ef878e9989ad4037947ff57e34749fc
2019-04-19 15:56:21 -07:00
Lei Yu
5fbde81391 Merge "Add SettingsPolicy to control BT feature" into qt-dev am: 125ab50a55
am: 142ca23949

Change-Id: I7f9b2c921651ba9e6163fb7ecc22db370a52196d
2019-04-19 15:55:15 -07:00
Fan Zhang
4a4b2a5b00 Merge "Add a way to suppress injected tiles for OEMs" into qt-dev
am: ac76a480bd

Change-Id: I5d72983c4c9cda2a6cfb36fb5931dfdff00ac45f
2019-04-19 15:53:26 -07:00
Salvador Martinez
022af8ca10 Merge "Update battery stuff to use SettingsLib Estimate class" into qt-dev 2019-04-19 22:00:27 +00:00
Fan Zhang
5c9db0cb5e Fix CodeInspectionTest
Fixes: 130897640
Test: robo
Change-Id: Ic2d952e4d76bb0a2be6eab7ddc999b56656132a6
2019-04-19 14:14:51 -07:00
Lei Yu
2632f45010 Fix battery robo test
Fixes: 130896701
Test: RunSettingsRoboTests
Change-Id: Iffb7874250335db81181b23f96fe7b50a2dd0062
2019-04-19 13:41:22 -07:00
Fan Zhang
ac76a480bd Merge "Add a way to suppress injected tiles for OEMs" into qt-dev 2019-04-19 20:30:24 +00:00
Lei Yu
142ca23949 Merge "Add SettingsPolicy to control BT feature" into qt-dev
am: 125ab50a55

Change-Id: I46f37c9a1ac92bd3e77e2a2f8ff185a72436851e
2019-04-19 13:18:15 -07:00
Lei Yu
acb617855a Remove feature flag for slice injection
Since we already use SettingsUIDeviceConfig in this case, we can remove
feature flag safely.

Fixes: 121154979
Test: Manual
Change-Id: Ibf71f1109fd506feba5a02bf6ecd804c6b7ee8d4
2019-04-19 13:13:03 -07:00
Lei Yu
125ab50a55 Merge "Add SettingsPolicy to control BT feature" into qt-dev 2019-04-19 19:44:53 +00:00
Lei Yu
5d85dfb123 Add mms preference and controller
Only visible when it is metered and mobile data off.
Also refactor one mobile data observer so we can reuse it.

Bug: 130222866
Test: RunSettingsRoboTests
Change-Id: Id218f51da3c373fad98c1a39cfadd6b0e8c46a88
2019-04-19 11:25:14 -07:00
Linda Tseng
7e8d682188 Merge "Set max num of slices allowed in panel view" into qt-dev am: ae344faf4a
am: 67928018b3

Change-Id: Idbab620c65b8dbd65b721caca3e669f89baeed36
2019-04-19 11:07:16 -07:00
Linda Tseng
67928018b3 Merge "Set max num of slices allowed in panel view" into qt-dev
am: ae344faf4a

Change-Id: Id9ffef1fd7a7007a143661b221dd9d82dc9858b5
2019-04-19 10:36:41 -07:00
Salvador Martinez
6a81e41c7c Update battery stuff to use SettingsLib Estimate class
This will make the upcoming consistency Cl easier to implement.

Test: Robotests still pass
Bug: 124030091
Change-Id: Ief4989e2b5f9b83b5c3b93d17f9f9fa12136f3ee
2019-04-19 17:35:23 +00:00
Yanting Yang
4e56cb2917 Add a way to suppress injected tiles for OEMs
Create a config resource for OEMs to add suppressed tile's key, then
DashboardFragment will filter related tiles out from Settings.

OEMs can use this way to suppress security patch injected tile if they
don't use Google OTA.

Fixes: 130734771
Test: visual, robotests
Change-Id: I4cab79c8672048fa543d39b2a8f38ffe338189c8
2019-04-20 01:31:07 +08:00
Beverly
34bc05ccee Allow up two lines of text on dnd restrict notif
Test: manual
Bug: 130848971
Change-Id: I1d32963f0e291d42c8b98ba8ca39eba749a26989
2019-04-19 13:26:03 -04:00
Linda Tseng
ae344faf4a Merge "Set max num of slices allowed in panel view" into qt-dev 2019-04-19 17:19:59 +00:00
hughchen
6e148d336d Merge "Remove all device from preference when BT is disabled" into qt-dev am: e69a25caad
am: 8fcce3e5ca

Change-Id: I26ce994197c1b85e23f00f81227f359e4bd4ed29
2019-04-19 10:01:12 -07:00
hughchen
8fcce3e5ca Merge "Remove all device from preference when BT is disabled" into qt-dev
am: e69a25caad

Change-Id: I84cb23ab372c897121ea239aa8f1f4c337f5d59d
2019-04-19 09:46:50 -07:00
TreeHugger Robot
e69a25caad Merge "Remove all device from preference when BT is disabled" into qt-dev 2019-04-19 16:25:26 +00:00
Beverly Tai
46b00f6b58 Merge "Show correct text for old zen modes" into qt-dev am: 60eb96cd29
am: ece7d9b88d

Change-Id: I06422941e7087f347b3ce917e004fc2c4063fc10
2019-04-19 06:37:06 -07:00
Beverly Tai
ece7d9b88d Merge "Show correct text for old zen modes" into qt-dev
am: 60eb96cd29

Change-Id: I0bec770e82f3ee0aa0a9110f9a42c8fa63ec0da0
2019-04-19 06:27:31 -07:00
Beverly Tai
60eb96cd29 Merge "Show correct text for old zen modes" into qt-dev 2019-04-19 13:17:20 +00:00
hughchen
926cb581c1 Make UI smoothly when switch device in MediaOuput slice
Put connect device method to background thread to
avoid blocking UI.

Bug: 130856371
Test: RunSettingsRoboTests
Change-Id: I7638c8cbfdfcc2225ca7a1d9214a28672b1cd7db
2019-04-19 16:17:42 +08:00
Stanley Wang
11e6eb756b Merge "Hardware version should should support copy action" into qt-dev am: 7f46c8714e
am: cb525e5fad

Change-Id: I10bcce4a113cc1ba759e9da33606f24073491302
2019-04-19 00:45:47 -07:00
Stanley Wang
cb525e5fad Merge "Hardware version should should support copy action" into qt-dev
am: 7f46c8714e

Change-Id: I1b397e2c12fc0b3a07d5382b70b8e4dd08ede20a
2019-04-19 00:40:46 -07:00
Stanley Wang
7f46c8714e Merge "Hardware version should should support copy action" into qt-dev 2019-04-19 07:35:46 +00:00
Arc Wang
3940c331df Add action metrics for Wi-Fi provision features
// ACTION: Share a Wi-Fi network by generating a QR code
  ACTION_SETTINGS_SHARE_WIFI_QR_CODE

  // ACTION: Connect to a Wi-Fi network by scanning a QR code
  ACTION_SETTINGS_ENROLL_WIFI_QR_CODE

  // ACTION: Share Wi-Fi hotspot by generating a QR code
  ACTION_SETTINGS_SHARE_WIFI_HOTSPOT_QR_CODE

Bug: 130521826
Test: manual
Change-Id: I4204307dd5318eb7c47e4136dc7d8700d43e4da1
2019-04-19 15:28:29 +08:00