Commit Graph

41257 Commits

Author SHA1 Message Date
TreeHugger Robot
c7652b9933 Merge "Remove a second unwanted search result" 2017-11-07 20:43:52 +00:00
TreeHugger Robot
7036377d72 Merge "Prevent monkey from changing usb settings" 2017-11-07 19:37:03 +00:00
Jeff Sharkey
00824b2714 Merge "Abort long-running benchmarks, report progress." 2017-11-07 19:23:21 +00:00
jeffreyhuang
8c5bc0abf0 Remove a second unwanted search result
- Remove Security and location from the search query for lock screen message

Change-Id: Ifa8985c78b403867377cca351e11b3f58d5c60f2
Fixes: 65492727
Test: Manual using settings app
2017-11-07 11:00:49 -08:00
jeffreyhuang
7b17780134 Prevent monkey from changing usb settings
- Prevent monkey from revoking usb debugging authorizations
 - Prevent monkey from changing usb configurations

Bug: 68707778
Test: make RunSettingsRoboTests -j40
Change-Id: Idce99d60f0fbce5a9d93aceb0c2a07d27482de10
2017-11-07 09:58:42 -08:00
Jeffrey Huang
a414573d62 Merge "Move iccid number to sim status dialog" 2017-11-07 17:58:01 +00:00
Jeff Sharkey
287d31f180 Abort long-running benchmarks, report progress.
A typical storage device finishes the benchmark in under 10 seconds,
but some extremely slow devices can take minutes, resulting in a
confusing UX that looks like we've frozen.  Even worse, we keep
churning through all that I/O even though we know the device will
blow past our user-warning threshold.

So periodically check if we've timed out, and also use that to report
progress up into the Settings UI.

Test: manual
Bug: 62201209, 65639764, 67055204
Exempt-From-Owner-Approval: I wrote the original code.
Change-Id: Idd9d8c181651202d1434af879cff9355478a25c1
2017-11-07 09:52:03 -07:00
Bill Yi
ba4c4575ab Merge "Import translations. DO NOT MERGE" into oc-mr1-dev am: 7b75c5a338 -s ours
am: c8de736ea2  -s ours

Change-Id: I07ed77f89000af9d409cb74b5183c4c564b464ae
2017-11-07 09:50:32 +00:00
Bill Yi
c8de736ea2 Merge "Import translations. DO NOT MERGE" into oc-mr1-dev
am: 7b75c5a338  -s ours

Change-Id: I129fdafc703d9cb714a49c00c9367b520fc86519
2017-11-07 09:48:01 +00:00
TreeHugger Robot
7b75c5a338 Merge "Import translations. DO NOT MERGE" into oc-mr1-dev 2017-11-07 09:41:30 +00:00
Bill Yi
9f5ee21464 Import translations. DO NOT MERGE am: 73120a4cdb -s ours am: f74efef4fb -s ours
am: f2b1de1435  -s ours

Change-Id: I98bb3bafb87997c2dc334e912991aabbc6bf178c
2017-11-07 09:37:58 +00:00
Bill Yi
f2b1de1435 Import translations. DO NOT MERGE am: 73120a4cdb -s ours
am: f74efef4fb  -s ours

Change-Id: I1841bd7c3fe428749e74e3bda23f3765effb6735
2017-11-07 09:35:56 +00:00
Bill Yi
f74efef4fb Import translations. DO NOT MERGE
am: 73120a4cdb  -s ours

Change-Id: Ida543e80dd13e3b5653c8676fe3032d5693a224d
2017-11-07 09:33:26 +00:00
Bill Yi
73120a4cdb Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: I16dfb5a1bbcd9d062c9f24914c0715c5f0cfe95e
2017-11-06 23:21:01 -08:00
Bill Yi
80f3654189 Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: I5e47736d365f0c8e75ec8e9ac0c84d599fbf7180
2017-11-06 23:20:38 -08:00
Erik Kline
b573ea7a05 Merge "Replace dns_tls with private_dns_mode setting" am: ca92fb5e2b am: 768f467089
am: 3194e6cbb8

Change-Id: Iee5ceb25248a7611b84fc06f93f52e287062cecd
2017-11-07 06:18:39 +00:00
Erik Kline
3194e6cbb8 Merge "Replace dns_tls with private_dns_mode setting" am: ca92fb5e2b
am: 768f467089

Change-Id: I70b86f3e2ebf823fea8a1516031f9137b2813bb3
2017-11-07 06:08:59 +00:00
Erik Kline
768f467089 Merge "Replace dns_tls with private_dns_mode setting"
am: ca92fb5e2b

Change-Id: I58c44a04ef75d025f63e9470ed9624a437a7956c
2017-11-07 06:00:15 +00:00
Treehugger Robot
ca92fb5e2b Merge "Replace dns_tls with private_dns_mode setting" 2017-11-07 05:54:28 +00:00
Erik Kline
1ea5dd05c3 Replace dns_tls with private_dns_mode setting
Also includes:
    - new layout fragment for private DNS configuration
    - PrivateDnsModeDialogPreference handler class

Test: as follows
    - built
    - flashed
    - booted
    - runtest frameworks-net passes
    - manual interaction with private dns developer option works
Bug: 34953048
Bug: 6413396
Change-Id: I3a5490c21f7f3b3e523a247c287f213d19b75a8b
2017-11-07 12:28:48 +09:00
TreeHugger Robot
c41646606d Merge "Fix robolectric test failure" 2017-11-07 02:40:18 +00:00
Fan Zhang
d9f5d1ca06 Merge "Convert SecuritySubSetting into DashboardFragment" 2017-11-07 01:58:42 +00:00
Fan Zhang
a681094e8a Convert SecuritySubSetting into DashboardFragment
Bug: 32953042
Test: robotests
Change-Id: Iecdb0a42695644ff8aa095bcd49b5ccb16aa46d4
2017-11-06 17:26:25 -08:00
TreeHugger Robot
4b6d4211e3 Merge "Update Wi-Fi Calling "Emergency address" text" 2017-11-07 00:38:44 +00:00
Fan Zhang
491e475dfb Fix robolectric test failure
Bug: 36971201
Test: robotests
Change-Id: I5adc98b8bc42b98b39d38bf08e2ac1bfa5139819
2017-11-06 15:12:14 -08:00
TreeHugger Robot
fd1b6f408c Merge "Revert the change that remove the video layout listener." 2017-11-06 22:57:12 +00:00
Jeffrey Huang
67d9347bd4 Merge "Add connectivity controllers to about phone v2" 2017-11-06 22:32:46 +00:00
Lei Yu
d854eec1a8 Merge "Fix crash in settings robo test." 2017-11-06 21:16:37 +00:00
jeffreyhuang
5b8202a296 Move iccid number to sim status dialog
- Remove iccid number logic from imei dialog
 - Add iccid number log to sim status dialog

Bug: 36458278
Test: make RunSettingsRoboTests -j40
Change-Id: I087688645169b387b9d65264e2c8b70ca565a44e
2017-11-06 12:38:45 -08:00
TreeHugger Robot
5f6c80a288 Merge "Guard against a NPE when disconnecting suggestion service." 2017-11-06 20:29:56 +00:00
jeffreyhuang
e72cd30868 Add connectivity controllers to about phone v2
- Add IpAddressPreferenceController
 - Add WifiMacAddressPreferenceController
 - Add BluetoothAddressPreferenceController

Bug: 36458278
Test: make RunSettingsRoboTests -j40
Change-Id: Idf55784721d28ac27b1b8186e26268e21c40688e
2017-11-06 11:46:17 -08:00
jackqdyulei
65370d21fd Fix crash in settings robo test.
This is a regression from ag/3120176. In AnomalyDialogFragment when
creating the real dialog, it creates the RuntimePermissionPresenter
which causes the stub error.

In this cl we shadow the RuntimePermissionPresenter since in this
test we only focus on that created dialog has the correct message
(dialog title, dialog message)

Bug: 68941201
Test: RunSettingsRoboTests
Change-Id: I9c09922453f7797f375d0f61b9d8eba660bfbfef
2017-11-06 11:16:36 -08:00
Fan Zhang
f6073fb978 Guard against a NPE when disconnecting suggestion service.
Change-Id: Ib10502b9467365f6e348737655806ef2369a747b
Fixes: 68885411
Test: robotests
2017-11-06 10:30:05 -08:00
Jeffrey Huang
146997a6c9 Merge "Rtl layout support for about phone v2" 2017-11-06 17:54:24 +00:00
TreeHugger Robot
c90b0196eb Merge "Enforce null check for mAccessPoint" 2017-11-06 17:42:39 +00:00
Meng Wang
73e390f368 Update Wi-Fi Calling "Emergency address" text
Bug:64226955
Test: manual
Change-Id: I6e7603caaca1070e7c1c195360bb034b6122e8d9
2017-11-03 22:40:52 -07:00
TreeHugger Robot
c8b6833e13 Merge "Create a dialog for firmware version" 2017-11-04 01:19:31 +00:00
Ningyuan Wang
0117b995f4 Enforce null check for mAccessPoint
mAccessPoint == null implies this is a new network.
In this case, we don't need to check if it's a carrier AP.

Bug: 68846574
Test: compile, manually test that crash does not happen again.
Test: make RunSettingsRoboTests -j40 aROBOTEST_FILTER=WifiConfigControllerTest

Change-Id: I03b1da5e8f0b8e4270c0c52c67bbc90c999be078
2017-11-03 17:31:03 -07:00
Doris Ling
d8f208e2ff Revert the change that remove the video layout listener.
The change causes regression on the video animation when the video view
scrolls out and back into view where it becomes blank in the
magnification settings page.

Change-Id: I6cb15ced8ddc193a01822fd5dcc50194a46a4939
Fixes: 68839840
Test: manual
2017-11-04 00:25:43 +00:00
TreeHugger Robot
9bc65719f3 Merge "Move trust agent helper methods into TrustAgentManager" 2017-11-03 23:03:02 +00:00
jeffreyhuang
3dec170661 Create a dialog for firmware version
- create xml layout files for dialog
 - create some new strings
 - create new FirmwareVersionPreferenceControllerV2
 - create a new dialog fragment for firmware version

Bug: 36458278
Test: make RunSettingsRoboTests -j40
Change-Id: Icc567ff6aa1eedc1ab02c20e0d22529457c33466
2017-11-03 15:17:37 -07:00
TreeHugger Robot
d723394569 Merge "Popup a dialog to display sim status information" 2017-11-03 22:12:43 +00:00
jeffreyhuang
0c77fad0d0 Rtl layout support for about phone v2
- Add textAlignment attribute so that text has correct alignment in rtl
 layouts

Bug: 36458278
Test: manual with settings app
Change-Id: I9360ae517290d0b115289e739441684588d4c216
2017-11-03 14:46:23 -07:00
TreeHugger Robot
b0f65ac832 Merge "Move security settings to security package" 2017-11-03 21:24:41 +00:00
TreeHugger Robot
d1a405e053 Merge "Remove duplicate preferences in Accessibility settings." 2017-11-03 19:48:19 +00:00
Fan Zhang
8e3f139cbb Move trust agent helper methods into TrustAgentManager
Bug: 32953042
Test: robotests
Change-Id: Ia8dae2e583f0faf7bded150dac65ed076f4ea576
2017-11-03 11:05:21 -07:00
Fan Zhang
b916456984 Move security settings to security package
Bug: 32953042
Test: robotests
Change-Id: Ibd5a12bdd22825dde723e107050826cce9839926
2017-11-03 11:05:21 -07:00
Fan Zhang
187ff21a7c Merge "Move trustagent to security package." 2017-11-03 17:39:21 +00:00
Fan Zhang
32d4467367 Merge "Convert the rest of encryption page into pref controller" 2017-11-03 16:45:38 +00:00
Fan Zhang
933188d6f9 Move trustagent to security package.
Bug: 32953042
Fixes: 34461256
Test: robotests
Change-Id: I341076ff320ad60081542a96eb588614230cb13e
2017-11-03 08:50:23 -07:00