Commit Graph

50810 Commits

Author SHA1 Message Date
Kweku Adams
afd71d1689 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
2019-03-26 17:10:09 -07:00
jackqdyulei
281cf17d89 Skip lifecycle if controller is not available
Fixes: 129076378
Test: RunSettingsRoboTests
Change-Id: If1e49785c2378ec2cf0f7d2837bc7d4c0ff915a0
2019-03-26 17:00:36 -07:00
jackqdyulei
27c3fe65fd Update CodeInspectionTest
Update the method to check it contains valid constructor, otherwise
report error.

Fixes: 129346285
Test: RunSettingsRoboTests
Change-Id: I4c5a62b1046e791f3988cd5215879435a831d19d
2019-03-26 16:28:36 -07:00
TreeHugger Robot
b93e55f05e Merge "Deep link to detail UI when mainline module version is clicked." 2019-03-26 23:17:35 +00:00
Mill Chen
9703d79ce2 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
2019-03-26 16:14:34 -07:00
Raff Tsai
02e45574a3 Add SettingsIntelligenceLogwriter
Bug: 124701288
Test: robolectric, manual
Change-Id: Iea446ae600d22ed62c5ee45afd1cd27a89b5de34
2019-03-27 07:14:20 +08:00
Mill Chen
5eeb6ae67a Merge "Broadcast an intent after turning off Grayscale" 2019-03-26 23:10:38 +00:00
Salvador Martinez
ef1b5ceb10 Merge "Update dark theme to have new screen" 2019-03-26 22:32:15 +00:00
TreeHugger Robot
f245d907bd Merge "Update DND duration setting string" 2019-03-26 21:16:33 +00:00
TreeHugger Robot
f9a12b825e Merge "Enable/disable a few things in debuggable builds" 2019-03-26 21:16:27 +00:00
Wei Wang
1a90162afd Address API council comments.
Bug: 123587501
Test: Manual
Change-Id: I72582ca6d8da8b1fe7bc4fc1b4b4db1fad6ca7a7
2019-03-26 14:06:16 -07:00
TreeHugger Robot
d8925d2ef2 Merge "Add a help URI for each ManageApplications subclass" 2019-03-26 20:59:53 +00:00
Fan Zhang
5911fe6188 Deep link to detail UI when mainline module version is clicked.
Fixes: 129287281
Test: robotests
Change-Id: I875cf39936dd8cc656aba9e30dc03c882ee13d4a
2019-03-26 13:54:37 -07:00
TreeHugger Robot
507b7bf4f8 Merge "Flip the preference for sticky battery saver" 2019-03-26 20:41:27 +00:00
Lei Yu
5b39ec5d63 Merge "Fix broken settings tests(Round 2)" 2019-03-26 20:38:22 +00:00
Salvador Martinez
1053ec04b4 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
2019-03-26 13:17:11 -07:00
jackqdyulei
6aeed0eaa1 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
2019-03-26 12:46:01 -07:00
TreeHugger Robot
dec5aff009 Merge "Add Live Caption preference to Accessibility page." 2019-03-26 19:25:39 +00:00
Fan Zhang
d151c40eea 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
2019-03-26 12:11:35 -07:00
TreeHugger Robot
73f570febc Merge "Update search keywords for some pages." 2019-03-26 18:49:32 +00:00
Beverly
aa0ce85001 Update DND duration setting string
Fixes: 125537656
Test: manual
Change-Id: I545c00083c36e7e8f3ff0e6f33d2b000af12093c
2019-03-26 14:48:17 -04:00
Tarandeep Singh
69eb991092 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
2019-03-26 11:45:40 -07:00
Mill Chen
6d90cdfea7 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
2019-03-26 11:37:16 -07:00
Salvador Martinez
d12d722099 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
2019-03-26 11:29:18 -07:00
Salvador Martinez
66320c2c47 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
2019-03-26 11:27:03 -07:00
Fan Zhang
a95e2165a9 Merge "Take out debugging log for blank suggestions" 2019-03-26 17:38:15 +00:00
Anthony Tripaldi
308d833d16 Add Live Caption preference to Accessibility page.
This reverts commit fa27a88292.

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
2019-03-26 13:09:50 -04:00
Fan Zhang
bb679d4817 Update search keywords for some pages.
Fixes: 129016511
Test: reindex
Change-Id: I73f7094168b00ecd92958c1760fde0dbd634bef9
2019-03-26 09:57:37 -07:00
TreeHugger Robot
8edea74eda Merge "[WPA3] Initialize Suite-B ciphers correctly based on the CA cert type" 2019-03-26 16:14:17 +00:00
TreeHugger Robot
d9ab124d81 Merge "Add a different Wi-Fi Easy Connect entry point" 2019-03-26 15:12:24 +00:00
TreeHugger Robot
dad8b16fa9 Merge "Update the background color of dismissal view to align with notification" 2019-03-26 13:19:27 +00:00
Tony Zhu
14ce904fa3 Merge "Fix VoLTE toggle names for all carriers." 2019-03-26 11:41:58 +00:00
Yanting Yang
62608f6fe7 Optimize latency of NotificationChannelSlice
- Use NotificationBackend.getChannel() in onNotifyChange().
- Record AppRow and use it in getEnabledChannels().

Bug: 123065955
Test: robotests
Change-Id: I92466d31544128f09d599d86fb265997207eb55c
2019-03-26 18:18:48 +08:00
Arc Wang
8ae9717226 Fix Wi-Fi Easy Connect QR code scanner problems
1. When camera area overlaps display cutout, it's onLayout size is 0/0.
   To fix it, use ConstraintLayout to specify width and height in layout file.

2. When scanned a QR code and there is an error, set camera area frame line
   back to unfocused color.

Bug: 124399763
Test: manual test
Change-Id: I7575efd0ccfb58d114acc3dcca6978d68b801f91
2019-03-26 16:07:02 +08:00
Yi-Ling Chuang
1867933f67 Update the background color of dismissal view to align with
notification

Bug: 126214056
Test: visual
Change-Id: Ib5c187d9259b64bcf2081ef911aa2d953248239d
2019-03-26 16:03:01 +08:00
Yi-Ling Chuang
78fbb3cb98 Take out debugging log for blank suggestions
Fixes: 120629936
Test: rebuild
Change-Id: Icabfea8e636bf20bed7b174fc3082949ac37721c
2019-03-26 15:02:35 +08:00
Jason Chiu
5b15c6748e Fix broken tests in WifiSliceTest
Fixes: 129293669
Test: make RunSettingsRoboTests -j ROBOTEST_FILTER=com.android.settings.wifi.slice
Change-Id: I70bbeb1fcf01ff0569c937c5dd5c9cfa2e8f9b3c
2019-03-26 14:29:41 +08:00
Joel Galenson
22ab71c7c6 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
2019-03-26 13:50:35 +08:00
Raff Tsai
b0bb2f36a1 Merge "Fix broken settings tests" 2019-03-26 05:16:21 +00:00
tonyzhu
ef9c44461f 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
2019-03-26 11:43:51 +08:00
Xiangyu/Malcolm Chen
41562c66aa Merge "Clean up a few names of Telephony intent extra." 2019-03-26 01:59:58 +00:00
Arc Wang
8a9ccfd8d9 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
2019-03-26 09:55:38 +08:00
Arc Wang
200fe62814 Merge "Add divider line in Preference for scan QR code button and share hotspot button" 2019-03-26 01:36:26 +00:00
pastychang
fefc66853b 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
2019-03-26 09:00:49 +08:00
jackqdyulei
4dbcdd632f 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
2019-03-25 15:54:47 -07:00
Lei Yu
d8665574d5 Merge "Fix broken bluetooth robo tests" 2019-03-25 22:53:04 +00:00
Hai Shalom
566101d166 [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
2019-03-25 14:40:59 -07:00
TreeHugger Robot
cd0b74d730 Merge "Strings changes for opportunistic mobile networks" 2019-03-25 20:56:14 +00:00
jackqdyulei
a2208c008b Fix broken bluetooth robo tests
Bug: 129159331
Test: RunSettingsRoboTests
Change-Id: I3e64659e59fd9b2ac58bf697116e1ee34928a3cd
2019-03-25 13:15:30 -07:00
Matt Pape
a970f6051b Remove interface for Telephony.
Per API council feedback, we are making changes to include only the
namespace in the system API defined in DeviceConfig.java. Strings which
define property names should be defined in code local to the feature
instead.

Bug: 126411407
Test: atest FrameworksCoreTests:DeviceConfigTest
Change-Id: I4fc2dc6b4f6876962a9f41d887124016e547f4fa
2019-03-25 11:07:16 -07:00