Commit Graph

50734 Commits

Author SHA1 Message Date
jackqdyulei
36948cefe9 Remove unnecessary notify in BT preference
notifyHierarchyChanged() is used before when we have
connected/disconnect deivce in same list. So only use it in
DevicePickerFragment.java, not other normal fragments.

Also that call will rebuild whole preference list, which is heavy.

Bug: 119479725
Test: Manual
Change-Id: I06cf221588001b38634fec9f02dee8bc1e561ea8
2019-04-01 12:39:24 -07:00
Tarandeep Singh
d94d72a16c Merge "Fix dupicate preference in personal dict" 2019-03-27 18:15:04 +00:00
Maurice Lam
db24af6325 Merge "Fix fingerprint icon on pattern screen" 2019-03-27 18:00:27 +00:00
Lei Yu
1d4362f9f0 Merge "Update CodeInspectionTest" 2019-03-27 17:55:51 +00:00
TreeHugger Robot
533d8b6b9d Merge "Change the permission bar chart to use the new design" 2019-03-27 17:07:49 +00:00
Fan Zhang
6f3ed8dbd7 Merge "Skip lifecycle if controller is not available" 2019-03-27 16:54:28 +00:00
Clown SHEN
dd295676c6 Merge "Fix broken test in WifiDetailPreferenceControllerTest" 2019-03-27 14:04:10 +00:00
TreeHugger Robot
ade1e095e7 Merge "List reachable access points on top of the list in WifiNetworkListFragment" 2019-03-27 12:17:23 +00:00
Pasty Chang
a71dfa5ac2 Merge "Set attribute sucUsePartnerResource" 2019-03-27 12:07:40 +00:00
TreeHugger Robot
6fae9e1a32 Merge "Add heap dump options to Developer options." 2019-03-27 12:05:16 +00:00
Pasty Chang
d606815585 Merge "Apply a11y screen to glif layout" 2019-03-27 10:03:16 +00:00
Clown SHEN
bf5c7c362f Merge "Provide connect button in Wi-Fi detail page" 2019-03-27 08:44:51 +00:00
TreeHugger Robot
f11c4c242a Merge "Change icons for disable and enable button" 2019-03-27 08:06:33 +00:00
Arc Wang
b661549b81 List reachable access points on top of the list in WifiNetworkListFragment
Bug: 128942314
Test: manual
Change-Id: I036bf09c066da3a68d6e2fc4685313ccf16bff03
2019-03-27 15:24:51 +08:00
clownshen
c085f18cf1 Fix broken test in WifiDetailPreferenceControllerTest
Bug: 129292549
Test: atest WifiDetailPreferenceControllerTest
Change-Id: Idd8764425816b6851efd5cb716bc968e19b06ea0
2019-03-27 15:03:07 +08:00
Mill Chen
9ec418f4db Merge "Normalize the icons in Accessibility" 2019-03-27 06:34:50 +00:00
TreeHugger Robot
dd1a99eb62 Merge "Add interface for homepapge swipe to dismiss." 2019-03-27 06:21:26 +00:00
TreeHugger Robot
e7132a219e Merge "Tweak summary for privacy entry" 2019-03-27 05:51:15 +00:00
clownshen
936f1f215e 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
2019-03-27 13:08:02 +08:00
Yi-Ling Chuang
5bf939e934 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
2019-03-27 11:20:49 +08:00
tmfang
ebf7b888d6 Change icons for disable and enable button
Test: visual
Fixes: 124116610
Change-Id: Ia300eeba36d853117699d3bec724373df2e354d3
2019-03-27 10:53:24 +08:00
TreeHugger Robot
dedeb2bd18 Merge "Update icons to use tint and vectors" 2019-03-27 02:45:40 +00:00
tmfang
3c17660feb Tweak summary for privacy entry
Test: visual
Fixes: 129345927
Change-Id: I9ce4481565c417d375b24c37ed91d507f2ca57cf
2019-03-27 10:15:45 +08:00
Maurice Lam
9c2fae83a3 Fix fingerprint icon on pattern screen
Test: atest [...]/ChooseLockPatternTest.java
Bug: 129342100
Change-Id: I4e670b6265fe4a77ecbd8ede9a703fa0762f7504
2019-03-26 18:50:21 -07:00
TreeHugger Robot
e22c2c1658 Merge "Add SettingsIntelligenceLogwriter" 2019-03-27 01:45:38 +00:00
TreeHugger Robot
b3b4fcd84b Merge "Fix Slices in Panel no-op bug" 2019-03-27 00:54:04 +00:00
TreeHugger Robot
13197e38c2 Merge "Fix inconsistent border width in QR code scanning camera" 2019-03-27 00:47:02 +00:00
Salvador Martinez
bd677df009 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
2019-03-26 17:41:24 -07:00
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
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