Commit Graph

50617 Commits

Author SHA1 Message Date
Fan Zhang
0047944c2e Clean up instrumentation tests
- Fixed some important tests
- Deleted some useless tests
- Some tests are still broken, filed bugs for these

Fixes: 124572765
Test: atest
Change-Id: Iac4e6a1fb1dbf9383d91945525df69a651ae77fd
2019-02-25 16:24:35 -08:00
Xin Li
d453b1c2ce [automerger skipped] DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master
am: 1994397e6a -s ours
am skip reason: subject contains skip directive

Change-Id: I5c40623742c23696457c1fedb742322c634ed1f6
2019-02-25 16:18:26 -08:00
Youming Ye
a83bb0889b [automerger skipped] Merge "Fix issue that the wifi calling text cannot be customized based on sim" am: 5b3ee7afaa am: e3844769e6
am: ecd1998ea0 -s ours
am skip reason: change_id I6b3f6b06c9cc984ee6a68a19ae317b5d1d4e48e2 with SHA1 af5c05392b is in history

Change-Id: I166d407d0d26e4bb3b270308986076a9ab5fecc3
2019-02-25 15:17:28 -08:00
jackqdyulei
344d761e60 Add Bluetooth metadata listenr
If it is updated, we need to refresh UI to display latest information

Fixes: 124455912
Test: RunSettingsRoboTests
Change-Id: I73b03f4931e3c2b0d367bbd2d3b2057b26c84b59
2019-02-25 15:02:10 -08:00
Beverly
986f2ecc55 Make PreventRingingSwitch preference clickable
- Talk back says the preference is clickable

Test: make ROBOTEST_FILTER=PreventRingingSwitchPreferenceControllerTest RunSettingsRoboTests -j40
Bug: 124827588
Change-Id: Ia409bbc6516f6aa11975726691131f1fad1518fd
2019-02-25 16:36:45 -05:00
Youming Ye
ecd1998ea0 Merge "Fix issue that the wifi calling text cannot be customized based on sim" am: 5b3ee7afaa
am: e3844769e6

Change-Id: Id1d2e5e9a061d844ecc69eed35b2c36d61a0a416
2019-02-25 13:08:32 -08:00
TreeHugger Robot
ba9af60132 Merge "Fix invalid style reference in xml" 2019-02-25 21:06:16 +00:00
Fabian Kozynski
d565d7a505 Add summary to Notification Assistant picker
Test: manual
Test: atest
Fixes: 126200103
Change-Id: I9569ca7dd58184242fe740e3db63bd7958042cfb
2019-02-25 15:52:40 -05:00
Fan Zhang
aef472d0ca Merge "Convert android version dialog into a full screen UI" 2019-02-25 20:33:36 +00:00
Treehugger Robot
64bf0a791e Merge "Add additional anomaly types." 2019-02-25 19:53:26 +00:00
Joe Onorato
f51826853b Add additional anomaly types.
Test: Treehugger
Bug: 115540658
Change-Id: I369f5bfadfe10810aa33d4127fb9ce69c9c57e7e
2019-02-25 14:51:10 +00:00
TreeHugger Robot
c4383213cc Merge "Settings UI fix for missing secure lock screen feature." 2019-02-25 11:41:03 +00:00
Lenka Trochtova
bb8e81770b Settings UI fix for missing secure lock screen feature.
Bug: 123737250
Bug: 111072170
Bug: 111071972
Test: manual both with and without the feature flag
Test: make RunSettingsRoboTests

Change-Id: Iacefa95dce85d860633315e074cbf2772691cfdd
2019-02-25 10:18:35 +00:00
Jason Chiu
dcedd4e2e2 WiFi Slice Polish - Searching for WiFi state
1. Change the font color to be secondary
2. Align the left to the AP list title
3. Update the font for Wi-Fi list to be body font - Roboto regular 14dp

Fixes: 124468947
Test: robotest
Change-Id: I9f41925f7e3938bdf3f444b09eab33d6bf479f57
2019-02-25 17:35:16 +08:00
Arc Wang
957ce7f7aa Update strings for Wi-Fi DPP handshake running state
Bug: 125987679
Test: manual test
Change-Id: I55eddee5f3c0c28d1be23b5b9d8c0b56280be797
2019-02-25 15:06:16 +08:00
Arc Wang
12d431e683 Add "Share" button for saved Wi-Fi network
Bug: 124700405
Test: manual test
Change-Id: I58140dbc7bef1214c2323c1c37f9c87e94b94088
2019-02-25 13:51:24 +08:00
Arc Wang
3e5a1e63f8 Fix [a11y][Qt]Small touch targets in Add network page after
running Accessibility scanner

Set ImageButton minWidth/minHeight 48dp (min_tap_target_size)

Bug: 125078917
Test: accessbility scanner
Change-Id: I5b96cc476134d48eb503b5a6150406655331c673
2019-02-25 11:07:00 +08:00
TreeHugger Robot
0d8d233a3d Merge "Remove hardcoded Uri to get slice settings" 2019-02-25 02:22:39 +00:00
Lei Yu
d5e653e4f2 Merge "Fix issues in BT detail header" 2019-02-25 01:15:26 +00:00
TreeHugger Robot
85ead953f3 Merge "Do not trigger card loader reloading upon screen rotation." 2019-02-24 18:31:16 +00:00
TreeHugger Robot
74d549fc19 Merge "Fix no result for "Privacy" keyword" 2019-02-23 08:47:15 +00:00
TreeHugger Robot
b87ff78c30 Merge "Replace Banner with App Title Text" 2019-02-23 08:44:18 +00:00
TreeHugger Robot
4e67ad1be4 Merge "Fix crash on AppBarLayout" 2019-02-23 08:31:36 +00:00
tmfang
aa984d58d5 Fix no result for "Privacy" keyword
We can't have same title string at the same time.

Test: search again, and see result.
Fixes: 123775284
Change-Id: I53afa64e723a0b1d6b8fefe0dbded64b7cd8f0de
2019-02-23 13:41:28 +08:00
tmfang
d0fb3ff285 Fix crash on AppBarLayout
We removed some theme attribute in ag/6501484,
so we need to add it back to avoid crash on App info page.

Fixes: 125987673
Test: Build again, and go to "App info" page.
Change-Id: I2fda899ecd2db48c7ace5069ef59a49883200dff
2019-02-23 13:28:00 +08:00
TreeHugger Robot
3921f97467 Merge "Create settings screen for Notification Assistant" 2019-02-23 04:30:23 +00:00
Arc Wang
13f37337ed Improve UX of Wi-Fi QR code scanner enrollee flow
1. Do not start WifiSettings after enrollee success
2. Return WifiConfiguration to the calling object after enrollee success
3. In WifiDialog, do not show scan button if Save button is not visible to users
4. Fix scanner button may not respond problem by setting listener for scanner
   button of ssid field and password field
5. If SSID is assigned, only allow to enrollee for the network of assigned SSID

Bug: 124416152
Test: manual test
Change-Id: Ic5241c4767eaa8ea01782817d8302d8b0572ab36
2019-02-23 11:59:53 +08:00
Yi-Ling Chuang
175a22c882 Do not trigger card loader reloading upon screen rotation.
Use the cached loaded results when it is not the first launch.

Fixes: 123941365
Test: robotests
Change-Id: Ib6de1142b12196e997a8c19122617e9215d23655
2019-02-23 11:35:28 +08:00
TreeHugger Robot
6b12d79925 Merge "Remove feature flag for contextual home." 2019-02-23 03:07:19 +00:00
TreeHugger Robot
343b0211fe Merge "Add app entities widget for recently opened apps" 2019-02-23 02:15:26 +00:00
TreeHugger Robot
962cbf424c Merge "Update BT pairing dialog" 2019-02-23 01:38:21 +00:00
Fan Zhang
89cea6b5f2 Convert android version dialog into a full screen UI
Bug: 112427717
Test: robotests
Change-Id: I09c4130c4284670278fa7cab8a21641c663bb365
2019-02-22 16:46:17 -08:00
Xin Li
fc53be7b56 Merge "DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master" into stage-aosp-master 2019-02-23 00:39:23 +00:00
Fan Zhang
4df9bfaa3e Remove feature flag for contextual home.
Fixes: 118444000
Test: rebuild
Change-Id: I4b42e22bd93c2d79bacbd40b28912b4e6808325a
2019-02-22 15:40:49 -08:00
jackqdyulei
27f62fda12 Update BT pairing dialog
1. Remove hardcoded color
2. Add taskAffinity for activity

Fixes: 124953564
Fixes: 124958778
Test: Manual
Change-Id: Id57fadc02e3c4fa3683632c0ad6a451117b732f1
2019-02-22 15:40:04 -08:00
Fan Zhang
261d4f521b Merge "Add fancy animation for IA fragment" 2019-02-22 22:51:18 +00:00
jackqdyulei
c51e5aae59 Remove hardcoded Uri to get slice settings
Now we get it from BluetoothDevice.getMetaData()

Bug: 124121451
Test: RunSettingsRoboTests
Change-Id: Id96480f257b93dd03bb290c954e01cde9dcf30ad
2019-02-22 14:49:30 -08:00
jackqdyulei
5e5dd25b8f Fix issues in BT detail header
1. Update isAvailable() in controller
2. Update method to get fast pair icon

Bug: 124455912
Test: RunSettingsRoboTests
Change-Id: I24a04c8c91d74e9b8b7e8746ad6279fafa37f0a9
2019-02-22 14:46:10 -08:00
Doris Ling
52f2b4fb27 Merge "Disable App data usage preference if there's no usage data." 2019-02-22 22:17:38 +00:00
Youming Ye
e3844769e6 Merge "Fix issue that the wifi calling text cannot be customized based on sim"
am: 5b3ee7afaa

Change-Id: Iffac84438bf43372a1ddeb4df1ef9d85c9af2a2d
2019-02-22 14:14:11 -08:00
Youming Ye
5b3ee7afaa Merge "Fix issue that the wifi calling text cannot be customized based on sim" 2019-02-22 21:53:12 +00:00
Lei Yu
2fd46b7079 Merge "Update advanced bt header" 2019-02-22 21:50:04 +00:00
Pavel Grafov
01bfdcc597 Merge "Don't hide "Add user" when disallowed by admin" 2019-02-22 20:11:43 +00:00
Lei Yu
c4eec885ee Merge "Fix alignment of wifi dialog" 2019-02-22 19:21:24 +00:00
Doris Ling
55a189a640 Disable App data usage preference if there's no usage data.
- when there is no usage data at all, launching the app data usage page
will show something blank, as there's no cycle with available usage
data. Check the overall historic usage to make sure that there's
usage data to be shown, otherwise, disable the preference.

Fixes: 123518021
Test: make RunSettingsRoboTests
Change-Id: I2d19f85e8618c41e2c31b9e4259cdc522f69e371
2019-02-22 11:18:29 -08:00
Fabian Kozynski
01b2a635e9 Create settings screen for Notification Assistant
Test: this atest
Test: manual: change assistant and "adb shell dumpsys notification"
Test: manual: verify persistance through reboot (including none)

Fixes:120852765
Change-Id: Ie4516c3339246d66d7b6719ac5dd1d65c4d03b57
2019-02-22 14:05:18 -05:00
Fan Zhang
22e403f01e Merge "Update subTitle of NotificationChannelSlice" 2019-02-22 17:49:00 +00:00
TreeHugger Robot
bbd57dfb10 Merge "Set the timeout limit of contextual card loading back to 1 second." 2019-02-22 17:30:39 +00:00
Fan Zhang
44815d1a52 Merge "Fix some test cases fail" 2019-02-22 17:22:51 +00:00
TreeHugger Robot
68e32cbd04 Merge "Add onPreferenceClickListener to dnd schedule" 2019-02-22 16:30:34 +00:00