Commit Graph

31947 Commits

Author SHA1 Message Date
TreeHugger Robot
9a54e843a7 Merge "Add test for new DashboardFragment and PreferenceController" 2016-10-06 19:22:21 +00:00
TreeHugger Robot
ced3676723 Merge "Import translations. DO NOT MERGE" 2016-10-06 18:02:34 +00:00
Fan Zhang
e6c60c24a8 Add test for new DashboardFragment and PreferenceController
Also added a FakeFeatureFactory to make it easier to mock different
FeatureProviders.

Bug: 31781480
Test: make RunSettingsRoboTests
Change-Id: Ie45db601e0bec951d7ef983ec2e3ca747ec1c3af
2016-10-06 10:33:01 -07:00
Qi Ding
c4772636db Fix searched item isn't highlighted
The searched item isn't highlighted.
To fix this issue, the highlight process should be posted
as Runnable object.

Bug: 31983855
Test: manual - search a item in Settings app

Change-Id: I0dcc5bb52b2faa0a23991459885d8dfcaed0f226
2016-10-06 09:22:00 +00:00
Stephen Chen
94d0b1674c Fix icon loading in EditUserInfo dialog on orientation change.
UserSettings loads icons asynchronously, so an incorrect icon is loaded
on orientation change.

Bug: 30088727
Change-Id: I29b15ede4f7c3ca7e67b035a086271eccd075426
Fixes: 30088727
Test: Visual inspection
2016-10-05 18:06:03 -07:00
Bill Yi
a6b32526d7 Import translations. DO NOT MERGE
Change-Id: Id06ae993d6e5f0bb1249f5b94e96c73d1c1a183d
Auto-generated-cl: translation import
2016-10-05 17:36:53 -07:00
Bill Yi
dd98e45e6e Import translations. DO NOT MERGE
Change-Id: Ie36226fd9be0469ed8263fd156f9a7e28d4fe6cc
Auto-generated-cl: translation import
2016-10-05 17:29:27 -07:00
TreeHugger Robot
0cff709a0d Merge "Add search provider for storage dashboard." 2016-10-05 23:59:24 +00:00
Salvador Martinez
26e5760033 Added onClick logic for domain url list screen
This class was created from a code refactoring
in ManageApplications but the functionality
associated with clicking on a preference was
accidently left out. This CL restores that
functionality.

Test: run ManageDomainUrlsEspressoTest class
Bug: 31958776
Change-Id: I1a7f5ee92daeebdb9fd7d9c83a564f0d104aa562
2016-10-05 14:46:34 -07:00
Matthew Fritze
2d07290453 The center column of the support tab is back to white
Regression came in here:
ag/1492761

Change-Id: I7ea5015abbe78d06b6df17d3caa3177642539023
Fixes:31958339
Test: Manual
2016-10-05 13:55:01 -07:00
TreeHugger Robot
6cea122bfc Merge "Fix a NPE in confirm lock screen." into nyc-mr1-dev 2016-10-05 19:52:03 +00:00
TreeHugger Robot
7b1060022c Merge "Switch to static warning threshold when adopting." 2016-10-05 19:24:33 +00:00
Jeff Sharkey
bd7adb9313 Switch to static warning threshold when adopting.
See rationale and details in inline comment block.

Test: adopt slow and fast SD cards
Bug: 29990216
Change-Id: I927d683db5e43216ee0837290ee4ca23a55a5dbb
2016-10-05 17:58:54 +00:00
Jeff Sharkey
9157360179 Switch to static warning threshold when adopting.
See rationale and details in inline comment block.

Test: adopt slow and fast SD cards
Bug: 29990216
Change-Id: I927d683db5e43216ee0837290ee4ca23a55a5dbb
2016-10-05 11:47:36 -06:00
Fan Zhang
8b2baed2be Fix a NPE in confirm lock screen.
The NPE happens is when using pin later. It's too late to recover if we
just catch the NPE where it happens, so we should early terminate the
call by adding TextUtil.isEmpty(pin) check.

Change-Id: Id280cd1b8781678540c9ea281b3186edd04d61f9
Fixes: 31895774
Test: make RunSettingsRoboTests
Test: manually enter correct/wrong/empty password/pin in confirm lock UI
(cherry picked from commit 774e1d8443)
2016-10-05 16:51:23 +00:00
Dan Sandler
acf763e996 Suppress notif block/silence settings for essential packages.
Companion to change I6b8fa374.

Bug: 31360343
Test: Manual. With config_nonBlockableNotificationPackages
      set to include com.android.dialer, examine Dialer's
      notification settings. Be sure to test with advanced
      notification controls enabled in System UI Tuner.
Change-Id: Ifbe13acf4cb02d6642f5c80e000f5b558f289920
2016-10-05 14:18:40 +00:00
Jonathan Nieder
6cab381bc2 Merge "Add condition check for double tap gesture settings." into nyc-mr1-dev 2016-10-05 01:08:04 +00:00
Fan Zhang
31a285387d Add search provider for storage dashboard.
Bug: 31800690
Test: manual
Change-Id: Icb906bf3b3698c1379e10cf6e346d489675ad940
2016-10-04 17:52:05 -07:00
Fan Zhang
1d4495f985 Merge "Update signature when calling CategoryManager.get." 2016-10-05 00:14:54 +00:00
Fan Zhang
6ede9fbd83 Merge "Add storage dashborad page." 2016-10-05 00:10:27 +00:00
Matthew Fritze
fb42828381 Merge "Fix bug preventing users from clicking settings suggestions twice" into nyc-mr1-dev 2016-10-04 22:51:52 +00:00
Doris Ling
c8b7555fc9 Add condition check for double tap gesture settings.
Only shows the double tap gesture preference if the config is enabled.

Test: manual - launch gesture settings on different devices and check
for double tap preference. Auto test pending.
Bug: 31930457

Change-Id: Id972f60035d0c74f0832395f0229691cd3296d60
2016-10-04 15:31:58 -07:00
Jeff Sharkey
d89ef643ab Merge "Give CTS the handle it expects to remove PIN." 2016-10-04 22:19:36 +00:00
Fan Zhang
1fb1526af7 Update signature when calling CategoryManager.get.
Bug: 31781480
Test: compiles
Change-Id: Iee715aca3767a67728527ba9390787d3f8a7e5fe
2016-10-04 15:18:02 -07:00
Fan Zhang
bb6d2608e9 Add storage dashborad page.
Refactor shared dashboard page display logic between storage and
system page.

Bug: 31800690
Test: RunSettingsRoboTests

Change-Id: I7eb86f590b79ab871bdb383fb2f5326790beb193
2016-10-04 14:06:57 -07:00
Matthew Fritze
f265dbc447 Fix bug preventing users from clicking settings suggestions twice
In an attempt to fix a monkey test crash which would open a
suggestion, click back and tap the same one again. The change
unfortunately prevented this for all users, but was not caught
because of a debug flag set on my device. A unit test will be added
to master to catch such cases, as tracked by this bug:
b/31937112

Change-Id: Ib1cff07e54903df687454bdbf2ed1416485ab34f
Fixes: 31926102
Test: Manual
2016-10-04 13:39:27 -07:00
Jeff Sharkey
7be1b5923f Give CTS the handle it expects to remove PIN.
When the Direct Boot tests go to remove the PIN set in previous
tests, it needs to find the option that will remove the PIN.  Recent
changes for fingerprint caused this "none" option to be hidden, so
assign the "none" ID to the "skip" option.

Test: cts-tradefed run cts-dev --module CtsAppSecurityHostTestCases --test android.appsecurity.cts.DirectBootHostTest
Bug: 31160946
Change-Id: I0b34cbfae45d1db8ee58a5ef66738414f5e2fc27
2016-10-04 20:33:39 +00:00
Bill Yi
e87f2bbaa0 Import translations. DO NOT MERGE
am: 972c78b4ee  -s ours

Change-Id: I526a783783c7ecda889b918ecfbafca399371895
2016-10-04 20:05:52 +00:00
Fan Zhang
27991718e5 Merge "Add search provider for system dashboard fragment." 2016-10-04 19:52:15 +00:00
Lei Yu
9c54a67d66 Merge "Add "FILTER_NOT_HIDE" for all app filters." into nyc-mr1-dev 2016-10-04 19:51:26 +00:00
Jeff Sharkey
159dff63a5 Give CTS the handle it expects to remove PIN.
When the Direct Boot tests go to remove the PIN set in previous
tests, it needs to find the option that will remove the PIN.  Recent
changes for fingerprint caused this "none" option to be hidden, so
assign the "none" ID to the "skip" option.

Test: cts-tradefed run cts-dev --module CtsAppSecurityHostTestCases --test android.appsecurity.cts.DirectBootHostTest
Bug: 31160946
Change-Id: I0b34cbfae45d1db8ee58a5ef66738414f5e2fc27
2016-10-04 13:45:38 -06:00
Bill Yi
f91ca6bcd9 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-10-04 18:51:05 +00:00
Bill Yi
ac5b6b0f15 Merge "Import translations. DO NOT MERGE" 2016-10-04 18:50:51 +00:00
Bill Yi
972c78b4ee Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 31827713
Change-Id: Ib9bed5a9d8a9237935842d496c8f1630dad64c27
2016-10-04 11:18:12 -07:00
Fan Zhang
c6540cfb57 Add search provider for system dashboard fragment.
Bug: 31801428
Test: manual
Test:make RunSettingsRoboTests
Change-Id: I6a80d64ed9755f4ddcfde33a82be04cfcbf0495b
2016-10-04 11:10:36 -07:00
Bill Yi
8aee525418 Import translations. DO NOT MERGE
Change-Id: Iab5c7c6153bc12f50cc443225c0e562a795a7731
Auto-generated-cl: translation import
2016-10-03 22:27:10 -07:00
Bill Yi
319b2ede7c Import translations. DO NOT MERGE
Change-Id: Ib21fca883ce256f13a62fef1e4958f961ba534c8
Auto-generated-cl: translation import
2016-10-03 22:19:39 -07:00
Fan Zhang
9574fb805a Merge "Listen to category changes in preference fragment." 2016-10-04 01:41:05 +00:00
Fan Zhang
a3e77342d9 Merge "Move system update preference from device_info to system." 2016-10-03 23:44:58 +00:00
Fan Zhang
81adfcfcca Listen to category changes in preference fragment.
Bug: 31781480
Test: make RunSettingsRoboTests
Change-Id: I702e524eb3a9e40b653e112dba80d620be3bc9bb
2016-10-03 16:38:02 -07:00
Lorenzo Colitti
365d95b69a Merge "resolve merge conflicts of f2801e4 to nyc-mr1-dev" into nyc-mr1-dev 2016-10-03 23:37:10 +00:00
Fan Zhang
1a5de69405 Merge "Fix a NPE when rotating dialog created by DialogCreatable." 2016-10-03 22:46:38 +00:00
jackqdyulei
d785a8db78 Add "FILTER_NOT_HIDE" for all app filters.
The "FILTER_NOT_HIDE" is used to filter out apps that "blacklisted"
by the carrier. So when user insert a specific sim card, these apps
are hiden in settings > apps unless user enable them.

Bug: 31823872
Test: Manual
Change-Id: I28a38b5780cb63fe22af12d80cc24e965b2b83cf
2016-10-03 15:14:12 -07:00
Matthew Fritze
7ac78f2daf Prevent monkey tests from crashing with race conditions
Change-Id: I3eb7d5549aba2f9684f97e8ee7c56c469f9daae0
Fixes: 31856366
Test: None, monkey test race conditions.
2016-10-03 13:53:51 -07:00
Fan Zhang
9c1fcf9916 Move system update preference from device_info to system.
In order to move the preference and its logic cleanly, created a
controller object that encapsulates the preference/click handler.

Bug: 31801428
Test: RunSettingsRoboTests
Change-Id: I332384e20fbf0e21d2f3becb531d97b20f7f7ef1
2016-10-03 13:53:45 -07:00
Fan Zhang
4fe7c0859f Fix a NPE when rotating dialog created by DialogCreatable.
Bug: 30088727
Test: make RunSettingsRoboTests
Change-Id: I775899809dfe920daa294f70d646b141da7c0706
2016-10-03 13:50:59 -07:00
Salvador Martinez
32fd735a1c Merge "BluetoothDialog view fixed for no pair code case" 2016-10-03 19:52:12 +00:00
Stephen Chen
8fdb96e32e Merge "Wrap layout content so that "Open by default" view does not scroll." 2016-10-03 18:06:46 +00:00
TreeHugger Robot
bd2322afe4 Merge "Fix a NPE in confirm lock screen." 2016-10-03 17:43:19 +00:00
Lorenzo Colitti
b01c080b08 resolve merge conflicts of f2801e4 to nyc-mr1-dev
Change-Id: I8a9723e8c070cd7f99c39fe5918335847f0b6248
2016-10-04 02:28:58 +09:00