Commit Graph

16899 Commits

Author SHA1 Message Date
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
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
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
c4eec885ee Merge "Fix alignment of wifi dialog" 2019-02-22 19:21:24 +00: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
Kevin Chyn
cb93eb69f0 Merge "Add placeholder animation for face enrolling" 2019-02-22 09:21:53 +00:00
Mill Chen
23452861e5 Add fancy animation for IA fragment
The animation of IA fragment is very choppy on expanding or collapsing
conditionals. So adding LayoutTransition for IA fragment makes the
animation more smoothly.

Bug: 123536786
Bug: 123537499
Test: visual, robotests
Change-Id: I731db8556ac392c9ab98bd292498ccf6c87295fb
2019-02-22 16:56:14 +08:00
TreeHugger Robot
1a7de076ca Merge "Add progress bar for Wi-Fi DPP handshaking" 2019-02-22 05:31:33 +00:00
TreeHugger Robot
179b8b48d3 Merge "Update name of app permissions." 2019-02-22 04:17:52 +00:00
Kevin Chyn
823feff4df Add placeholder animation for face enrolling
Bug: 111548033

Test: Builds
Change-Id: I0c8af1c24cc7c11f9d2c2a98b23d11b21b63547e
2019-02-21 20:07:45 -08:00
Arc Wang
8826721803 Add progress bar for Wi-Fi DPP handshaking
Bug: 124127483
Test: manual test
Change-Id: I1c3da5bab98da57ca8cf10509f339e99b01ebdbf
2019-02-22 11:42:08 +08:00
TreeHugger Robot
a1dce5d6d5 Merge "Remove all reference to settings_side_margin." 2019-02-22 03:28:20 +00:00
TreeHugger Robot
193af336bc Merge "Import translations. DO NOT MERGE" 2019-02-22 02:32:31 +00:00
cosmohsieh
9fcfae6367 [Passpointv2] Implement confirm dialog for passpoint forget button
Add a confirm dialog when clicking forget button and this is a passpoint
network.

Bug: 122671580
Test: atest WifiDetailPreferenceControllerTest
Change-Id: Ib3410ab0e8fb771a82ab928022c49977bc759962
2019-02-22 09:59:15 +08:00
Wenting Xiong
82aa55bcda Fix issue that the wifi calling text cannot be customized based on sim
Some carriers have requirements that the wifi calling text should be
customizable. However, the resources for the wifi calling text are
not obtained based on sim. So it cannot be customized per sim for multi
sim device. To solve this issue, obtain the resources with specified
sim.

Test: manual - Checked that the wifi calling text could be customized
based on sim.
Bug: 117257109

Change-Id: I6b3f6b06c9cc984ee6a68a19ae317b5d1d4e48e2
Merged-In: I6b3f6b06c9cc984ee6a68a19ae317b5d1d4e48e2
2019-02-22 01:57:44 +00:00
Youming Ye
da9e92c4f7 Merge "Fix issue that the wifi calling text cannot be customized based on sim" 2019-02-22 01:55:59 +00:00
Bill Yi
826f753a86 Import translations. DO NOT MERGE
Change-Id: Ibd2044c3c61557678d3c1dad06570f8df1e5f1b6
Auto-generated-cl: translation import
2019-02-21 15:23:35 -08:00
jackqdyulei
7db8faf714 Fix alignment of wifi dialog
Use Start/End instead of Left/Right

Fixes: 124672866
Test: Manual
Change-Id: Ib75634b751f41e4999e4f8e3ffb014c191c517f0
2019-02-21 13:25:21 -08:00
Joel Galenson
fd71d8bcfc Update name of app permissions.
Bug: 125018087
Test: See new name.
Change-Id: I036fec254bca3c0ce15843375e632fcb359898db
2019-02-21 12:44:15 -08:00
Xin Li
1994397e6a DO NOT MERGE - Merge pi-dev@5234907 into stage-aosp-master
Bug: 120848293
Change-Id: I6eeee632ff6ee7f2d7395344a7887c44c7acd440
2019-02-21 11:03:43 -08:00
Doris Ling
c5a1b4f666 Remove all reference to settings_side_margin.
- since the overlay of the value for bigger screen has been removed,
the side margin is now always 0dp. Remove this dimen value and all
reference to it.

Fixes: 124526984
Test: rebuild and visual
Change-Id: I68ff42513a379111042cab9b34594822544e246e
2019-02-21 10:18:00 -08:00
TreeHugger Robot
fcd91ccbe6 Merge "Enlarge the touch area of the avatar" 2019-02-21 17:38:15 +00:00
Yanting Yang
e7f2ec1360 Update subTitle of NotificationChannelSlice
If there are <=3 channels, should not have the "Tap to manage all".

Fixes: 124461104
Test: visual, robotests
Change-Id: Iebb957c65b8ca53f4c5d482041837338b7b3bbf2
2019-02-21 23:57:55 +08:00
Sunny Shao
c8786408e5 Enlarge the touch area of the avatar
Use the padding to enlarge touch area.

Fixes: 124797089
Test: manual
Change-Id: Ief2296f015f021ca4d7e4cba0ca14ac0eada972b
2019-02-21 16:45:39 +08:00
tmfang
7de5314676 Add app entities widget for recently opened apps
If there is no recently opened app should be shown,
just show up an "All apps" preference.

If there are some recently opened apps, we show up
result with app entites controller.

- Clean up some useless ui. (category)
- User BasePreferenceController
- Modify test cases.

Test: robotest, visual
Change-Id: I411f61ed32eaaed97921941fd5026f1d65308d00
Fixes: 123538183
2019-02-21 16:23:18 +08:00
TreeHugger Robot
cd1718c9e4 Merge "String change for Permissions Dashboard" 2019-02-21 05:35:44 +00:00
tmfang
0b51ad3139 String change for Permissions Dashboard
Test: visual
Bug: 125018087
Change-Id: I02bd34347eb78531e754295262a1a08b47c6402e
2019-02-21 10:23:05 +08:00
Fan Zhang
b8c3127c49 Update char limit
Fixes: 124535061
Test: manual
Change-Id: I17a3c7b93b09f6f6d02ab36df3dd9a16bebd7294
2019-02-20 15:07:28 -08:00
TreeHugger Robot
8febd82f34 Merge "Add pref for notification swipe direction" 2019-02-20 19:06:42 +00:00
Julia Reynolds
14289bd356 Add pref for notification swipe direction
And move that and other settings under an 'advanced' category

Test: robotests
Fixes: 124099692
Change-Id: I89df276a8bc1cd56ce8530239ca02b2c4b43fa65
2019-02-20 10:36:50 -05:00
TreeHugger Robot
763f7450f2 Merge changes from topic "Wi-Fi DPP error code handling"
* changes:
  Fix camera stop forever after error occurs while sharing or adding network
  Handle different error codes in DPP
2019-02-20 12:45:26 +00:00
TreeHugger Robot
812855c83e Merge "Update char limit for DND conditional" 2019-02-20 10:48:35 +00:00
Mill Chen
594767634f Update char limit for DND conditional
Increasing the character limit for the "Phone muted" to 38 in the DND
condition.

Bug: 124784648
Test: rebuild
Change-Id: I46496ee60f6757f477b0d0bbd021c43234f83222
2019-02-20 16:16:35 +08:00
Arc Wang
7bdcadbe72 Handle different error codes in DPP
Show error message for corresponding Wi-Fi DPP error code. And

1. To update error message only from each fragment,
   remove some callbacks which calls from fragment to activity.
2. After clicking 'Share Wi-Fi' button, hide it before Wi-Fi DPP handshake completes.
3. Show 'Done' button for some error codes.
4. Use ViewModel to call startEasyConnectAsConfiguratorInitiator and
   startEasyConnectAsEnrolleeInitiator because a lifecycle object
   does not receive an Executor callback after configurator change.
5. In WifiDppQrCodeScannerFragment, show an error message for 10s instead of 2s
   since new added error messages may carry more information.
6. Show a different error message for enrollee handshake success but Wi-Fi
   connection fail case.
7. stop camera when scanned a Wi-Fi DPP QR code for enrollee.
8. In QR code scanner fragment, support to show error message after
    configuration change.

Bug: 124247872
Bug: 124491247
Test: manual test
      atest WifiQrCodeTest
      atest WifiDppConfiguratorActivityTest
      atest WifiDppEnrolleeActivityTest
      atest WifiDppQrCodeGeneratorFragmentTest
      atest WifiDppQrCodeScannerFragmentTest
      atest WifiNetworkListFragmentTest
      atest WifiDppChooseSavedWifiNetworkFragmentTest

Change-Id: Id130215e9ddafac8bc4c68238deda48ce99b4255
2019-02-20 14:28:52 +08:00
TreeHugger Robot
0acd013f03 Merge "Add developer menu to enable/disable ART verifier." 2019-02-20 03:55:40 +00:00
Ryan Mitchell
03fc6bbedd Fix invalid style reference in xml
AAPT2 does not recognize @android:style/@Widget.Material.Button.Colored.
This change removes the unnecessary '@' symbol.

Bug: 123251200
Test: build success
Change-Id: Ie5ae2a8898602d5776f5b6bf32058b1bf7c668ca
2019-02-19 18:32:43 +00:00
TreeHugger Robot
72c33375ff Merge "Visual update: update the icons for suggestions" 2019-02-19 05:53:44 +00:00