OSDN Git Service

android-x86/packages-apps-Settings.git
5 years agoAdd implementation of homepage swipe to dismiss.
Yi-Ling Chuang [Tue, 26 Mar 2019 13:16:55 +0000 (21:16 +0800)]
Add implementation of homepage swipe to dismiss.

- Only enable swipe for slice full/half card.
- Add isPendingDismiss in ContextualCard to determine if we should show
dismissal view.
- Take out long press feature.

Bug: 126214056
Test: robotests
Change-Id: Ib03e605347b2f50d3c62fcd4f95875a21cc9ef1c

5 years agoMerge "Update "Time spent in app" to "Screen time""
TreeHugger Robot [Thu, 28 Mar 2019 02:16:23 +0000 (02:16 +0000)]
Merge "Update "Time spent in app" to "Screen time""

5 years agoMerge "[Fix] Unable to show output device indicator after reboot"
Hugh Chen [Thu, 28 Mar 2019 01:39:52 +0000 (01:39 +0000)]
Merge "[Fix] Unable to show output device indicator after reboot"

5 years ago[automerger skipped] Merge "[DO NOT MERGE] Fix the typo of the error message of eSIM...
Qingxi Li [Thu, 28 Mar 2019 01:10:10 +0000 (18:10 -0700)]
[automerger skipped] Merge "[DO NOT MERGE] Fix the typo of the error message of eSIM reset" am: bdef91f964 -s ours am: bd5f4328f5 -s ours
am: d3527bf14b -s ours
am skip reason: subject contains skip directive

Change-Id: Id75f561075c68e4c59c3526768e016bafc265065

5 years ago[automerger skipped] Merge "[DO NOT MERGE] Fix the typo of the error message of eSIM...
Qingxi Li [Thu, 28 Mar 2019 00:56:15 +0000 (17:56 -0700)]
[automerger skipped] Merge "[DO NOT MERGE] Fix the typo of the error message of eSIM reset" am: bdef91f964 -s ours
am: bd5f4328f5 -s ours
am skip reason: subject contains skip directive

Change-Id: I23f3800d8bd6432c7aa9a59ae7cee29e73c7c834

5 years agoMerge "Log RecyclerView click position"
TreeHugger Robot [Thu, 28 Mar 2019 00:55:18 +0000 (00:55 +0000)]
Merge "Log RecyclerView click position"

5 years ago[automerger skipped] Merge "[DO NOT MERGE] Fix the typo of the error message of eSIM...
Qingxi Li [Thu, 28 Mar 2019 00:46:52 +0000 (17:46 -0700)]
[automerger skipped] Merge "[DO NOT MERGE] Fix the typo of the error message of eSIM reset"
am: bdef91f964 -s ours
am skip reason: subject contains skip directive

Change-Id: I362517c36ff77b36336fcc52a684dd29b50bab94

5 years agoMerge "Revert "Remove advanced button from location settings""
TreeHugger Robot [Thu, 28 Mar 2019 00:38:18 +0000 (00:38 +0000)]
Merge "Revert "Remove advanced button from location settings""

5 years agoMerge "[DO NOT MERGE] Fix the typo of the error message of eSIM reset"
Treehugger Robot [Thu, 28 Mar 2019 00:27:30 +0000 (00:27 +0000)]
Merge "[DO NOT MERGE] Fix the typo of the error message of eSIM reset"

5 years agoMerge "Add a string for prompting which SIM to use for SMS"
TreeHugger Robot [Thu, 28 Mar 2019 00:16:17 +0000 (00:16 +0000)]
Merge "Add a string for prompting which SIM to use for SMS"

5 years ago[DO NOT MERGE] Fix the typo of the error message of eSIM reset
Qingxi Li [Wed, 27 Mar 2019 21:40:30 +0000 (14:40 -0700)]
[DO NOT MERGE] Fix the typo of the error message of eSIM reset

Bug: 129085179
Test: N/A
Change-Id: Iad8fdc7368a4d91aff9eb3035bfe91592d6bce1b

5 years agoRevert "Remove advanced button from location settings"
Fan Zhang [Wed, 27 Mar 2019 23:15:32 +0000 (23:15 +0000)]
Revert "Remove advanced button from location settings"

This reverts commit c7cef5ee43f0678998216bb2bc77c1cd9382cc2b.

Reason for revert: b/124059127

Change-Id: I34e788f6959b94f27b4e25f1ca925777acb9a1d0

5 years agoLog RecyclerView click position
Raff Tsai [Wed, 27 Mar 2019 08:50:55 +0000 (16:50 +0800)]
Log RecyclerView click position

Test: rebuild, robolectric
Fixes: 127881281
Change-Id: Idddbbf9c1159e0e5b280178e98f9258cbd7864f9

5 years agoMerge "Check wfc roaming config when read"
TreeHugger Robot [Wed, 27 Mar 2019 22:55:43 +0000 (22:55 +0000)]
Merge "Check wfc roaming config when read"

5 years agoMerge "Add an intent for launching mobile network list"
TreeHugger Robot [Wed, 27 Mar 2019 22:49:54 +0000 (22:49 +0000)]
Merge "Add an intent for launching mobile network list"

5 years agoMerge "Optimize latency of NotificationChannelSlice"
TreeHugger Robot [Wed, 27 Mar 2019 22:37:40 +0000 (22:37 +0000)]
Merge "Optimize latency of NotificationChannelSlice"

5 years agoUpdate "Time spent in app" to "Screen time"
Fan Zhang [Wed, 27 Mar 2019 22:24:40 +0000 (15:24 -0700)]
Update "Time spent in app" to "Screen time"

Bug: 129266977
Test: manual
Change-Id: I2a26dfb8c36ba00a73c69b5e7a7333bf20a83224

5 years agoAdd a string for prompting which SIM to use for SMS
Antony Sargent [Wed, 27 Mar 2019 22:17:07 +0000 (15:17 -0700)]
Add a string for prompting which SIM to use for SMS

In some multi-SIM cases the telephony stack will fire an intent that
Settings listens for, specifying that Settings should present a dialog
to the user asking them which SIM card they want to use for various
services such as Data, Calls, and SMS. The string we were using for SMS
was a general "Select SIM card". This CL adds a more specific one that
should make more sense to the user.

Bug: 129021763
Test: make Settings
Change-Id: I8c422a7e6de3ffd1255bc7b4124d9a1be6adf633

5 years agoMerge "[Passpointv2] Fix Network detail page title"
TreeHugger Robot [Wed, 27 Mar 2019 21:00:17 +0000 (21:00 +0000)]
Merge "[Passpointv2] Fix Network detail page title"

5 years agoMerge "exit app info page if app is a hidden system module."
Fan Zhang [Wed, 27 Mar 2019 19:50:41 +0000 (19:50 +0000)]
Merge "exit app info page if app is a hidden system module."

5 years agoMerge "Address API council comments."
TreeHugger Robot [Wed, 27 Mar 2019 19:43:36 +0000 (19:43 +0000)]
Merge "Address API council comments."

5 years agoexit app info page if app is a hidden system module.
Fan Zhang [Tue, 26 Mar 2019 23:20:33 +0000 (16:20 -0700)]
exit app info page if app is a hidden system module.

Fixes: 120546598
Test: robotest
Change-Id: I763ce9d65904e2b0c2a6144776c42881a1269c52

5 years agoMerge "Fix dupicate preference in personal dict"
Tarandeep Singh [Wed, 27 Mar 2019 18:15:04 +0000 (18:15 +0000)]
Merge "Fix dupicate preference in personal dict"

5 years agoMerge "Fix fingerprint icon on pattern screen"
Maurice Lam [Wed, 27 Mar 2019 18:00:27 +0000 (18:00 +0000)]
Merge "Fix fingerprint icon on pattern screen"

5 years agoMerge "Update CodeInspectionTest"
Lei Yu [Wed, 27 Mar 2019 17:55:51 +0000 (17:55 +0000)]
Merge "Update CodeInspectionTest"

5 years agoCheck wfc roaming config when read
Youming Ye [Tue, 26 Mar 2019 20:55:44 +0000 (13:55 -0700)]
Check wfc roaming config when read

Bug: 127913488
Test: Build
Change-Id: I0a3e8d3f4bc0590f12085f5963892a1d8278efdc

5 years agoMerge "Change the permission bar chart to use the new design"
TreeHugger Robot [Wed, 27 Mar 2019 17:07:49 +0000 (17:07 +0000)]
Merge "Change the permission bar chart to use the new design"

5 years agoAdd an intent for launching mobile network list
Antony Sargent [Tue, 26 Mar 2019 16:50:22 +0000 (09:50 -0700)]
Add an intent for launching mobile network list

In various cases when a user has rebooted their device to enable DSDS
mode, the eSIM manager app needs to be able to post a notification that
on tapping will lead the user to the list of configured SIMs (mobile
networks) so that they can they manage things like which one is the
default for calls, SMS, and data.

Bug: 129281152
Test: 'adb shell am start -a android.settings.MOBILE_NETWORK_LIST'
should launch the list of mobile networks available on the device

Change-Id: Ie94d937c803fb5ade09084f2c994cfff888d8aa7

5 years agoMerge "Skip lifecycle if controller is not available"
Fan Zhang [Wed, 27 Mar 2019 16:54:28 +0000 (16:54 +0000)]
Merge "Skip lifecycle if controller is not available"

5 years agoMerge "Fix broken test in WifiDetailPreferenceControllerTest"
Clown SHEN [Wed, 27 Mar 2019 14:04:10 +0000 (14:04 +0000)]
Merge "Fix broken test in WifiDetailPreferenceControllerTest"

5 years agoMerge "List reachable access points on top of the list in WifiNetworkListFragment"
TreeHugger Robot [Wed, 27 Mar 2019 12:17:23 +0000 (12:17 +0000)]
Merge "List reachable access points on top of the list in WifiNetworkListFragment"

5 years agoMerge "Set attribute sucUsePartnerResource"
Pasty Chang [Wed, 27 Mar 2019 12:07:40 +0000 (12:07 +0000)]
Merge "Set attribute sucUsePartnerResource"

5 years agoMerge "Add heap dump options to Developer options."
TreeHugger Robot [Wed, 27 Mar 2019 12:05:16 +0000 (12:05 +0000)]
Merge "Add heap dump options to Developer options."

5 years agoMerge "Apply a11y screen to glif layout"
Pasty Chang [Wed, 27 Mar 2019 10:03:16 +0000 (10:03 +0000)]
Merge "Apply a11y screen to glif layout"

5 years ago[Passpointv2] Fix Network detail page title
cosmohsieh [Wed, 27 Mar 2019 09:32:46 +0000 (17:32 +0800)]
[Passpointv2] Fix Network detail page title

Sets original detail title if the chart header feautre on detail page don't
enable.

Bug: 128569047
Test: manual
Change-Id: I43a7b1bd11294b34b39b46e0d8f63a844af1585e

5 years agoMerge "Provide connect button in Wi-Fi detail page"
Clown SHEN [Wed, 27 Mar 2019 08:44:51 +0000 (08:44 +0000)]
Merge "Provide connect button in Wi-Fi detail page"

5 years agoMerge "Change icons for disable and enable button"
TreeHugger Robot [Wed, 27 Mar 2019 08:06:33 +0000 (08:06 +0000)]
Merge "Change icons for disable and enable button"

5 years agoList reachable access points on top of the list in WifiNetworkListFragment
Arc Wang [Tue, 26 Mar 2019 10:13:49 +0000 (18:13 +0800)]
List reachable access points on top of the list in WifiNetworkListFragment

Bug: 128942314
Test: manual
Change-Id: I036bf09c066da3a68d6e2fc4685313ccf16bff03

5 years agoFix broken test in WifiDetailPreferenceControllerTest
clownshen [Wed, 27 Mar 2019 07:03:07 +0000 (15:03 +0800)]
Fix broken test in WifiDetailPreferenceControllerTest

Bug: 129292549
Test: atest WifiDetailPreferenceControllerTest
Change-Id: Idd8764425816b6851efd5cb716bc968e19b06ea0

5 years agoMerge "Normalize the icons in Accessibility"
Mill Chen [Wed, 27 Mar 2019 06:34:50 +0000 (06:34 +0000)]
Merge "Normalize the icons in Accessibility"

5 years agoMerge "Add interface for homepapge swipe to dismiss."
TreeHugger Robot [Wed, 27 Mar 2019 06:21:26 +0000 (06:21 +0000)]
Merge "Add interface for homepapge swipe to dismiss."

5 years agoMerge "Tweak summary for privacy entry"
TreeHugger Robot [Wed, 27 Mar 2019 05:51:15 +0000 (05:51 +0000)]
Merge "Tweak summary for privacy entry"

5 years ago[Fix] Unable to show output device indicator after reboot
timhypeng [Mon, 25 Mar 2019 07:50:09 +0000 (15:50 +0800)]
[Fix] Unable to show output device indicator after reboot

- To fix the NPE in MediaOutputIndicatorWorker
- To get Bluetooth device status in Slice, not in Worker
- To purify Worker to be an event receiver

Bug: 128945026
Test: make -j42 RunSettingsRoboTests
Change-Id: I9360202870c7a43a79641c5b84210c1bfad4b9a6

5 years agoProvide connect button in Wi-Fi detail page
clownshen [Fri, 22 Mar 2019 15:59:25 +0000 (23:59 +0800)]
Provide connect button in Wi-Fi detail page

User can click connect button to connect this AP at the detail page even
the Wi-Fi disabled. Would turn on Wi-Fi if disabled and then connect to
this saved network.

Bug: 126503889
Test: atest and manual test
Change-Id: I313e290474d6623a6c3e84027e81d0d1ebf16919

5 years agoAdd interface for homepapge swipe to dismiss.
Yi-Ling Chuang [Tue, 26 Mar 2019 09:16:27 +0000 (17:16 +0800)]
Add interface for homepapge swipe to dismiss.

- Create an ItemTouchHelper.
- Attach the helper to the recycler view.
- Pass change to the adapter to handle the swipe.

Bug: 126214056
Test: rebuild
Change-Id: I312ee1357158db84f9ee328be4722fe067984604

5 years agoChange icons for disable and enable button
tmfang [Wed, 27 Mar 2019 02:53:24 +0000 (10:53 +0800)]
Change icons for disable and enable button

Test: visual
Fixes: 124116610
Change-Id: Ia300eeba36d853117699d3bec724373df2e354d3

5 years agoMerge "Update icons to use tint and vectors"
TreeHugger Robot [Wed, 27 Mar 2019 02:45:40 +0000 (02:45 +0000)]
Merge "Update icons to use tint and vectors"

5 years agoTweak summary for privacy entry
tmfang [Wed, 27 Mar 2019 02:15:45 +0000 (10:15 +0800)]
Tweak summary for privacy entry

Test: visual
Fixes: 129345927
Change-Id: I9ce4481565c417d375b24c37ed91d507f2ca57cf

5 years agoFix fingerprint icon on pattern screen
Maurice Lam [Wed, 27 Mar 2019 01:50:21 +0000 (18:50 -0700)]
Fix fingerprint icon on pattern screen

Test: atest [...]/ChooseLockPatternTest.java
Bug: 129342100
Change-Id: I4e670b6265fe4a77ecbd8ede9a703fa0762f7504

5 years agoMerge "Add SettingsIntelligenceLogwriter"
TreeHugger Robot [Wed, 27 Mar 2019 01:45:38 +0000 (01:45 +0000)]
Merge "Add SettingsIntelligenceLogwriter"

5 years agoMerge "Fix Slices in Panel no-op bug"
TreeHugger Robot [Wed, 27 Mar 2019 00:54:04 +0000 (00:54 +0000)]
Merge "Fix Slices in Panel no-op bug"

5 years agoMerge "Fix inconsistent border width in QR code scanning camera"
TreeHugger Robot [Wed, 27 Mar 2019 00:47:02 +0000 (00:47 +0000)]
Merge "Fix inconsistent border width in QR code scanning camera"

5 years agoUpdate icons to use tint and vectors
Salvador Martinez [Tue, 26 Mar 2019 22:15:49 +0000 (15:15 -0700)]
Update icons to use tint and vectors

A bunch of icons were using PNGs which didn't allow their color
to change when in dark mode. This CL simply adds vector drawables
for all the PNGs and sets the tint to the correct color where needed.

Test: visual inspection, robotests pass
Bug: 126199274
Change-Id: I372d94e374173ab0572dacb03674a40fa14cffb9

5 years agoAdd heap dump options to Developer options.
Kweku Adams [Thu, 21 Mar 2019 19:49:38 +0000 (12:49 -0700)]
Add heap dump options to Developer options.

1. Add a button to capture a system heap dump on demand.
2. Add a toggle to enable/disable automatic system heap dump captures.

Bug: 77490269
Test: manual
Change-Id: I12b41de82f641ae239ea8e48f0180392aca5dbe8

5 years agoSkip lifecycle if controller is not available
jackqdyulei [Fri, 22 Mar 2019 21:43:19 +0000 (14:43 -0700)]
Skip lifecycle if controller is not available

Fixes: 129076378
Test: RunSettingsRoboTests
Change-Id: If1e49785c2378ec2cf0f7d2837bc7d4c0ff915a0

5 years agoUpdate CodeInspectionTest
jackqdyulei [Tue, 26 Mar 2019 23:28:36 +0000 (16:28 -0700)]
Update CodeInspectionTest

Update the method to check it contains valid constructor, otherwise
report error.

Fixes: 129346285
Test: RunSettingsRoboTests
Change-Id: I4c5a62b1046e791f3988cd5215879435a831d19d

5 years agoMerge "Deep link to detail UI when mainline module version is clicked."
TreeHugger Robot [Tue, 26 Mar 2019 23:17:35 +0000 (23:17 +0000)]
Merge "Deep link to detail UI when mainline module version is clicked."

5 years agoNormalize the icons in Accessibility
Mill Chen [Sat, 23 Mar 2019 01:10:00 +0000 (18:10 -0700)]
Normalize the icons in Accessibility

The icons displayed in Accessibility are larger than others, they should
be the same size as app icons. Change the drawable's icon size to fix
it.

Fixes: 123411506
Test: visual, rebuild
Change-Id: Ib693dd2ac8e2e191e5ecb2d0d8d4fdac5a32a2de

5 years agoAdd SettingsIntelligenceLogwriter
Raff Tsai [Wed, 30 Jan 2019 03:14:20 +0000 (11:14 +0800)]
Add SettingsIntelligenceLogwriter

Bug: 124701288
Test: robolectric, manual
Change-Id: Iea446ae600d22ed62c5ee45afd1cd27a89b5de34

5 years agoMerge "Broadcast an intent after turning off Grayscale"
Mill Chen [Tue, 26 Mar 2019 23:10:38 +0000 (23:10 +0000)]
Merge "Broadcast an intent after turning off Grayscale"

5 years agoMerge "Update dark theme to have new screen"
Salvador Martinez [Tue, 26 Mar 2019 22:32:15 +0000 (22:32 +0000)]
Merge "Update dark theme to have new screen"

5 years agoMerge "Update DND duration setting string"
TreeHugger Robot [Tue, 26 Mar 2019 21:16:33 +0000 (21:16 +0000)]
Merge "Update DND duration setting string"

5 years agoMerge "Enable/disable a few things in debuggable builds"
TreeHugger Robot [Tue, 26 Mar 2019 21:16:27 +0000 (21:16 +0000)]
Merge "Enable/disable a few things in debuggable builds"

5 years agoAddress API council comments.
Wei Wang [Fri, 1 Feb 2019 01:33:48 +0000 (17:33 -0800)]
Address API council comments.

Bug: 123587501
Test: Manual
Change-Id: I72582ca6d8da8b1fe7bc4fc1b4b4db1fad6ca7a7

5 years agoMerge "Add a help URI for each ManageApplications subclass"
TreeHugger Robot [Tue, 26 Mar 2019 20:59:53 +0000 (20:59 +0000)]
Merge "Add a help URI for each ManageApplications subclass"

5 years agoDeep link to detail UI when mainline module version is clicked.
Fan Zhang [Tue, 26 Mar 2019 19:26:21 +0000 (12:26 -0700)]
Deep link to detail UI when mainline module version is clicked.

Fixes: 129287281
Test: robotests
Change-Id: I875cf39936dd8cc656aba9e30dc03c882ee13d4a

5 years agoMerge "Flip the preference for sticky battery saver"
TreeHugger Robot [Tue, 26 Mar 2019 20:41:27 +0000 (20:41 +0000)]
Merge "Flip the preference for sticky battery saver"

5 years agoMerge "Fix broken settings tests(Round 2)"
Lei Yu [Tue, 26 Mar 2019 20:38:22 +0000 (20:38 +0000)]
Merge "Fix broken settings tests(Round 2)"

5 years agoUpdate dark theme to have new screen
Salvador Martinez [Wed, 20 Mar 2019 17:52:52 +0000 (10:52 -0700)]
Update dark theme to have new screen

The dark theme preference should have it's own screen rather than
being a dialog. This adds some boilerplate code that will be
needed for the illustration as well as converting the current
list preference to open a new screen.

Test: robotests
Bug: 128686189
Change-Id: I5b62276353c0d39ad2ad00d21d2280e76cceb09b

5 years agoFix broken settings tests(Round 2)
jackqdyulei [Mon, 25 Mar 2019 22:40:05 +0000 (15:40 -0700)]
Fix broken settings tests(Round 2)

1. Mark a few as Ignore with bug number
2. Remove some tests since they are obsolete.

Bug: 129159331
Test: RunSettingsRoboTests
Change-Id: I801681609c31c1f824c44b49ec89d9d28c716539

5 years agoMerge "Add Live Caption preference to Accessibility page."
TreeHugger Robot [Tue, 26 Mar 2019 19:25:39 +0000 (19:25 +0000)]
Merge "Add Live Caption preference to Accessibility page."

5 years agoEnable/disable a few things in debuggable builds
Fan Zhang [Tue, 26 Mar 2019 18:39:47 +0000 (11:39 -0700)]
Enable/disable a few things in debuggable builds

- Feature flag dashboard is now only ON in debuggable builds
- Draw overlay is enabled in debuggable builds for a11y testing

Fixes: 129060539
Fixes: 129041251
Test: robotests
Change-Id: Ic799101c8ca6cbcd26fe02b6a567f223800805ab

5 years agoMerge "Update search keywords for some pages."
TreeHugger Robot [Tue, 26 Mar 2019 18:49:32 +0000 (18:49 +0000)]
Merge "Update search keywords for some pages."

5 years agoUpdate DND duration setting string
Beverly [Tue, 26 Mar 2019 18:48:17 +0000 (14:48 -0400)]
Update DND duration setting string

Fixes: 125537656
Test: manual
Change-Id: I545c00083c36e7e8f3ff0e6f33d2b000af12093c

5 years agoFix dupicate preference in personal dict
Tarandeep Singh [Tue, 26 Mar 2019 18:26:58 +0000 (11:26 -0700)]
Fix dupicate preference in personal dict

Duplicate preference is added on the
UserDictionaryListPreferenceController. With this change, we check
before adding.

Fix: 129079798
Test: Manually using steps mentioned in bug
Change-Id: If73880f3be460f377b8985a44fc9f9fbe6370c06

5 years agoBroadcast an intent after turning off Grayscale
Mill Chen [Mon, 25 Mar 2019 23:07:47 +0000 (16:07 -0700)]
Broadcast an intent after turning off Grayscale

Settings will send a broadcast when the user disable Grayscale in
Settings. Also, Settings registers a broadcast receiver to monitor the
status changed of Grayscale.

Bug: 118387886
Test: robotests
Change-Id: I92d1b9adf7a600b4abac943ebbd5a11d02d3d1b8

5 years agoFlip the preference for sticky battery saver
Salvador Martinez [Fri, 22 Mar 2019 20:42:39 +0000 (13:42 -0700)]
Flip the preference for sticky battery saver

Instead of toggled on being to keep battery saver on, the UX
writers would like to make toggled on be turn battery saver off
automatically. Also turns the controller into a
TogglePreferenceController, because those exist apparently.

Test: visual inspection, tests pass
Fixes: 126938839
Change-Id: Iffac536d0b1956d4534ca1b5fa5c6440c4d3a3ff

5 years agoAdd a help URI for each ManageApplications subclass
Salvador Martinez [Tue, 26 Mar 2019 17:42:51 +0000 (10:42 -0700)]
Add a help URI for each ManageApplications subclass

This just adds the ability to add help pages to each ManageApplications
subclass. We can remove any we don't end up needing later.

Test: robotests pass
Bug: 121442558
Change-Id: I7aac30aa081d93efaa473248cf259e45ae63870c

5 years agoMerge "Take out debugging log for blank suggestions"
Fan Zhang [Tue, 26 Mar 2019 17:38:15 +0000 (17:38 +0000)]
Merge "Take out debugging log for blank suggestions"

5 years agoAdd Live Caption preference to Accessibility page.
Anthony Tripaldi [Tue, 26 Mar 2019 14:55:17 +0000 (10:55 -0400)]
Add Live Caption preference to Accessibility page.

This reverts commit fa27a88292c974eed478fe6a09c3b8be235441d4.

The original was only a temporary revert in order to remove from initial beta release for dogfooding before the feature was ready.

Reason for revert: b/123652115

Bug:123652115
Test: manual
Change-Id: Id647c2992e30289d72a4f6144829a997677be3fa

5 years agoUpdate search keywords for some pages.
Fan Zhang [Mon, 25 Mar 2019 22:12:12 +0000 (15:12 -0700)]
Update search keywords for some pages.

Fixes: 129016511
Test: reindex
Change-Id: I73f7094168b00ecd92958c1760fde0dbd634bef9

5 years agoMerge "[WPA3] Initialize Suite-B ciphers correctly based on the CA cert type"
TreeHugger Robot [Tue, 26 Mar 2019 16:14:17 +0000 (16:14 +0000)]
Merge "[WPA3] Initialize Suite-B ciphers correctly based on the CA cert type"

5 years agoMerge "Add a different Wi-Fi Easy Connect entry point"
TreeHugger Robot [Tue, 26 Mar 2019 15:12:24 +0000 (15:12 +0000)]
Merge "Add a different Wi-Fi Easy Connect entry point"

5 years agoMerge "Update the background color of dismissal view to align with notification"
TreeHugger Robot [Tue, 26 Mar 2019 13:19:27 +0000 (13:19 +0000)]
Merge "Update the background color of dismissal view to align with notification"

5 years agoMerge "Fix VoLTE toggle names for all carriers."
Tony Zhu [Tue, 26 Mar 2019 11:41:58 +0000 (11:41 +0000)]
Merge "Fix VoLTE toggle names for all carriers."

5 years agoOptimize latency of NotificationChannelSlice
Yanting Yang [Tue, 26 Mar 2019 10:18:48 +0000 (18:18 +0800)]
Optimize latency of NotificationChannelSlice

- Use NotificationBackend.getChannel() in onNotifyChange().
- Record AppRow and use it in getEnabledChannels().

Bug: 123065955
Test: robotests
Change-Id: I92466d31544128f09d599d86fb265997207eb55c

5 years agoUpdate the background color of dismissal view to align with
Yi-Ling Chuang [Tue, 26 Mar 2019 07:39:50 +0000 (15:39 +0800)]
Update the background color of dismissal view to align with
notification

Bug: 126214056
Test: visual
Change-Id: Ib5c187d9259b64bcf2081ef911aa2d953248239d

5 years agoTake out debugging log for blank suggestions
Yi-Ling Chuang [Tue, 26 Mar 2019 07:02:35 +0000 (15:02 +0800)]
Take out debugging log for blank suggestions

Fixes: 120629936
Test: rebuild
Change-Id: Icabfea8e636bf20bed7b174fc3082949ac37721c

5 years agoFix broken tests in WifiSliceTest
Jason Chiu [Tue, 26 Mar 2019 04:21:53 +0000 (12:21 +0800)]
Fix broken tests in WifiSliceTest

Fixes: 129293669
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.wifi.slice
Change-Id: I70bbeb1fcf01ff0569c937c5dd5c9cfa2e8f9b3c

5 years agoChange the permission bar chart to use the new design
Joel Galenson [Thu, 21 Mar 2019 17:00:20 +0000 (10:00 -0700)]
Change the permission bar chart to use the new design

- Each bar is now labeled with the permission name and the subtitle is
slightly different.
- Change some string for new design

Test: View screen.
Test: atest PermissionBarChartPreferenceControllerTest
Change-Id: Ia82f9cbb6255d93c38a27b038ae5af3f066eec28

5 years agoMerge "Fix broken settings tests"
Raff Tsai [Tue, 26 Mar 2019 05:16:21 +0000 (05:16 +0000)]
Merge "Fix broken settings tests"

5 years agoFix VoLTE toggle names for all carriers.
tonyzhu [Fri, 22 Mar 2019 08:40:36 +0000 (16:40 +0800)]
Fix VoLTE toggle names for all carriers.

Change default from "Enhanced 4G LTE Mode" to "VoLTE".
Add 4g calling and its sub summary.
Show carreirs VoLTE toggle names by carrier config.

Bug: 129112234
Bug: 129153582
Test: Use commands to override carrier config to observe the
UI as expected.

Change-Id: I1d418873a661b3c20c5a6d0a056dcb2573742c65

5 years agoMerge "Clean up a few names of Telephony intent extra."
Xiangyu/Malcolm Chen [Tue, 26 Mar 2019 01:59:58 +0000 (01:59 +0000)]
Merge "Clean up a few names of Telephony intent extra."

5 years agoAdd a different Wi-Fi Easy Connect entry point
Arc Wang [Thu, 21 Mar 2019 08:52:20 +0000 (16:52 +0800)]
Add a different Wi-Fi Easy Connect entry point

To separate it further from Wi-Fi sharing as it was
causing some confusion.

Bug: 129031195
Test: manual test
Change-Id: Ia55e3ed91e92c3ec36ae6a9401897c5c960762da

5 years agoMerge "Add divider line in Preference for scan QR code button and share hotspot button"
Arc Wang [Tue, 26 Mar 2019 01:36:26 +0000 (01:36 +0000)]
Merge "Add divider line in Preference for scan QR code button and share hotspot button"

5 years agoSet attribute sucUsePartnerResource
pastychang [Thu, 21 Mar 2019 11:42:39 +0000 (19:42 +0800)]
Set attribute sucUsePartnerResource

Add the attribute for all pages apply gliflayout of setupdesign library.
In addition, set the value false to remove stencil theme customization for outside setupwizard flow.

Test: atest
Bug: 128961334
Bug: 128364683
Change-Id: If55e9bf97970a5cd08d8d426747c483d80565559

5 years agoFix broken settings tests
jackqdyulei [Mon, 25 Mar 2019 22:40:05 +0000 (15:40 -0700)]
Fix broken settings tests

1. Mark a few as Ignore with bug number
2. Remove some tests since it is covered in other places
3. Fix some tests

I think we should make tests at least green asap.

Bug: 129159331
Test: RunSettingsRoboTests
Change-Id: I90971b416806e4e9be249b06ad5abfb73d9d7c23

5 years agoMerge "Fix broken bluetooth robo tests"
Lei Yu [Mon, 25 Mar 2019 22:53:04 +0000 (22:53 +0000)]
Merge "Fix broken bluetooth robo tests"

5 years ago[WPA3] Initialize Suite-B ciphers correctly based on the CA cert type
Hai Shalom [Mon, 25 Mar 2019 21:40:59 +0000 (14:40 -0700)]
[WPA3] Initialize Suite-B ciphers correctly based on the CA cert type

Initialize Suite-B ciphers correctly based on the CA cert type. Read the
cert type from key store, parse it and get the signature algorithm.
Enforce SHA384, and initialize AllowedSuiteBCiphers based on the
certificate type: RSA or ECSDA.
Wi-Fi alliance requires the use of both ECDSA secp384r1 and RSA 3072
certificates in WPA3-Enterprise 192-bit security networks, which are
also known as Suite-B-192 netowkrs, even though NSA Suite-B-192 mandates
ECDSA only. The use of the term Suite-B was already coined in the
IEEE 802.11-2016 specification for AKM 00-0F-AC but the test plan for
WPA3-Enterprise 192-bit for APs mandates support for both RSA and ECDSA,
and for STAs it mandates ECDSA and optionally RSA. In order to be
compatible with all WPA3-Enterprise 192-bit deployments,

Bug: 128861164
Test: Verify Suite-B initialized correctly with RSA and ECDSA certs.
Test: Associate to SUITE_B_192 AP with RSA certificate
Test: Associate to SUITE_B_192 AP with ECDSA certificate
Change-Id: I5e8b6794e68ed3af5f8c8beac622fff8076a46a1

5 years agoMerge "Strings changes for opportunistic mobile networks"
TreeHugger Robot [Mon, 25 Mar 2019 20:56:14 +0000 (20:56 +0000)]
Merge "Strings changes for opportunistic mobile networks"