OSDN Git Service

android-x86/packages-apps-Settings.git
6 years agoRevert "Expand all preferences when launch from search."
Fan Zhang [Mon, 13 Nov 2017 18:30:11 +0000 (18:30 +0000)]
Revert "Expand all preferences when launch from search."

This reverts commit 6589a07d5915d8bcc911ddf36054549a7cc1a219.
Bug: 68988454
Fixes: 69242304

Change-Id: Iec29dbe302064a6209fbb0a8e7901c9a0f8744c0

6 years agoExpand all preferences when launch from search.
Doris Ling [Thu, 9 Nov 2017 22:36:51 +0000 (14:36 -0800)]
Expand all preferences when launch from search.

- when the fragment is created, checks the argument to see if the extra
fragment arg key is set. If so, do not hide the preferences in the
advanced button.

Change-Id: Id662ae1cec77edad7fcd5d6daa71929a8cb1402c
Fixes: 68988454
Test: make RunSettingsRoboTests

6 years agoMerge "Prevent crash in Search from Stack overflow"
TreeHugger Robot [Thu, 9 Nov 2017 20:18:58 +0000 (20:18 +0000)]
Merge "Prevent crash in Search from Stack overflow"

6 years agoPrevent crash in Search from Stack overflow
Matthew Fritze [Thu, 9 Nov 2017 17:40:09 +0000 (09:40 -0800)]
Prevent crash in Search from Stack overflow

NotificationSettingBase's getPreferenceController call
is recursive with no base case which crashes search.

Root cause here is that NotificationSettingsBase should
not be indexed for seacrh but was probably failing the
code inspection test. Added NotificationSettingsBase
child classes to grandfather list of classes that
should be ignored for search.

Change-Id: I04ed242db3a394b88e0d0ac420aaaff6f9301cb5
Fixes: 69096424
Test: robotests

6 years agoMerge "NightDisplayController -> ColorDisplayController"
Christine Franks [Thu, 9 Nov 2017 17:50:06 +0000 (17:50 +0000)]
Merge "NightDisplayController -> ColorDisplayController"

6 years agoMerge "Change the 'Internet' to 'internet'"
TreeHugger Robot [Thu, 9 Nov 2017 01:05:02 +0000 (01:05 +0000)]
Merge "Change the 'Internet' to 'internet'"

6 years agoChange the 'Internet' to 'internet'
jackqdyulei [Wed, 8 Nov 2017 21:40:20 +0000 (13:40 -0800)]
Change the 'Internet' to 'internet'

In Android P, we need to global change 'Internet' to 'internet'.
This cl updates all the strings.

What's more, for some strings, we change the whole sentences to make
them clearer:
1. wifi_cellular_data_fallback_summary
2. vpn_first_always_on_vpn_message

Bug: 68934232
Test: Manual
Change-Id: I6b6249e78df69d125a7ceec2b46f020c2892a105

6 years agoEnforce null check for mAccessPoint am: 6c12f06bf8
Ningyuan Wang [Wed, 8 Nov 2017 21:41:15 +0000 (21:41 +0000)]
Enforce null check for mAccessPoint am: 6c12f06bf8
am: 1df7ba1cb6

Change-Id: I6b05dd3ee39ae242de89f2fbad1e271958219817

6 years agoEnforce null check for mAccessPoint
Ningyuan Wang [Wed, 8 Nov 2017 21:37:34 +0000 (21:37 +0000)]
Enforce null check for mAccessPoint
am: 6c12f06bf8

Change-Id: I0fbf4a19a6e28bc66bc6f320dae90bbe438c3341

6 years agoMerge "Forward wallpaper activity results to the caller."
TreeHugger Robot [Wed, 8 Nov 2017 21:18:57 +0000 (21:18 +0000)]
Merge "Forward wallpaper activity results to the caller."

6 years agoMerge "Change network detail page title."
TreeHugger Robot [Wed, 8 Nov 2017 20:27:30 +0000 (20:27 +0000)]
Merge "Change network detail page title."

6 years agoForward wallpaper activity results to the caller.
Ajay Nadathur [Tue, 7 Nov 2017 21:38:50 +0000 (13:38 -0800)]
Forward wallpaper activity results to the caller.

- Added Activity.FLAG_ACTIVITY_FORWARD_RESULT to the intent that
launches the wallpaper activities.
- WallpaperSuggestionActivity also finishes itself after launching
intent.

Bug: 65691577
Test: Added robolectric test. Also verified manually that result code is
being forwarded
Change-Id: I2f8b0fac7a35c38e14c4a733b7552fd2e58dd0db

6 years agoEnforce null check for mAccessPoint
Ningyuan Wang [Fri, 3 Nov 2017 18:16:56 +0000 (11:16 -0700)]
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
(cherry picked from commit 0117b995f44758a64b7af6d2d11e17d10ef125ce)

6 years agoMerge "PreferenceControllers are the way of the future."
Julia Reynolds [Wed, 8 Nov 2017 13:33:40 +0000 (13:33 +0000)]
Merge "PreferenceControllers are the way of the future."

6 years agoMerge "Remove DynamicAvailabilityPreferenceController."
TreeHugger Robot [Wed, 8 Nov 2017 02:26:16 +0000 (02:26 +0000)]
Merge "Remove DynamicAvailabilityPreferenceController."

6 years agoMerge "Add ConnectedAccessPointPreference"
TreeHugger Robot [Tue, 7 Nov 2017 22:48:52 +0000 (22:48 +0000)]
Merge "Add ConnectedAccessPointPreference"

6 years agoMerge "Update hardware info dialog styles to support rtl"
Jeffrey Huang [Tue, 7 Nov 2017 21:07:54 +0000 (21:07 +0000)]
Merge "Update hardware info dialog styles to support rtl"

6 years agoRemove DynamicAvailabilityPreferenceController.
Fan Zhang [Tue, 7 Nov 2017 18:57:47 +0000 (10:57 -0800)]
Remove DynamicAvailabilityPreferenceController.

- This class is over complex to use, and get in the way of show/hide
  pref when availability change.
- The function from DynamicAvailabilityPreferenceController can be done
  with PreferenceCategoryController.

Bug: 68956750
Bug: 32953042
Test: robotests
Change-Id: Ia7b7e214c072b8c77f5de3d959fdb1dc79217f76

6 years agoMerge "Move Index provider conversion into Settings provider"
TreeHugger Robot [Tue, 7 Nov 2017 20:52:51 +0000 (20:52 +0000)]
Merge "Move Index provider conversion into Settings provider"

6 years agoMerge "Remove a second unwanted search result"
TreeHugger Robot [Tue, 7 Nov 2017 20:43:52 +0000 (20:43 +0000)]
Merge "Remove a second unwanted search result"

6 years agoMerge "Prevent monkey from changing usb settings"
TreeHugger Robot [Tue, 7 Nov 2017 19:37:03 +0000 (19:37 +0000)]
Merge "Prevent monkey from changing usb settings"

6 years agoMerge "Abort long-running benchmarks, report progress."
Jeff Sharkey [Tue, 7 Nov 2017 19:23:21 +0000 (19:23 +0000)]
Merge "Abort long-running benchmarks, report progress."

6 years agoMove Index provider conversion into Settings provider
Matthew Fritze [Fri, 3 Nov 2017 19:03:59 +0000 (12:03 -0700)]
Move Index provider conversion into Settings provider

Pre-patch, settings search provider would push all of its
fragments into to search via SearchIndexableResources with
an implicit contract of if the resource's xml == 0, then
it was a settings fragment with an Index provider.

One, implicit contract is bad. Two, it was messy at indexing time.

So this patch moves htat conversion into the search index provider.
Such that all of the indexables are either real Resources or Raw.

Change-Id: I39f4351c03d123bb9b45edb4df7f924cfaff2b38
Fixes: 65376542
Fixes: 37741509
Test: robotests

6 years agoRemove a second unwanted search result
jeffreyhuang [Tue, 7 Nov 2017 18:52:44 +0000 (10:52 -0800)]
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

6 years agoUpdate hardware info dialog styles to support rtl
jeffreyhuang [Tue, 7 Nov 2017 18:59:32 +0000 (10:59 -0800)]
Update hardware info dialog styles to support rtl

Bug: 36458278
Test: Manual using settings app
Change-Id: I60f4fdfc3b8f3282e14591a5842e8a9e95070fa5

6 years agoPrevent monkey from changing usb settings
jeffreyhuang [Tue, 7 Nov 2017 00:51:27 +0000 (16:51 -0800)]
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

6 years agoMerge "Move iccid number to sim status dialog"
Jeffrey Huang [Tue, 7 Nov 2017 17:58:01 +0000 (17:58 +0000)]
Merge "Move iccid number to sim status dialog"

6 years agoAbort long-running benchmarks, report progress.
Jeff Sharkey [Mon, 6 Nov 2017 20:54:18 +0000 (13:54 -0700)]
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: 622012096563976467055204
Exempt-From-Owner-Approval: I wrote the original code.
Change-Id: Idd9d8c181651202d1434af879cff9355478a25c1

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev am: 7b75c5a338 -s ours
Bill Yi [Tue, 7 Nov 2017 09:50:32 +0000 (09:50 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev am: 7b75c5a338  -s ours
am: c8de736ea2  -s ours

Change-Id: I07ed77f89000af9d409cb74b5183c4c564b464ae

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
Bill Yi [Tue, 7 Nov 2017 09:48:01 +0000 (09:48 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev
am: 7b75c5a338  -s ours

Change-Id: I129fdafc703d9cb714a49c00c9367b520fc86519

6 years agoMerge "Import translations. DO NOT MERGE" into oc-mr1-dev
TreeHugger Robot [Tue, 7 Nov 2017 09:41:30 +0000 (09:41 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-mr1-dev

6 years agoImport translations. DO NOT MERGE am: 73120a4cdb -s ours am: f74efef4fb -s ours
Bill Yi [Tue, 7 Nov 2017 09:37:58 +0000 (09:37 +0000)]
Import translations. DO NOT MERGE am: 73120a4cdb  -s ours am: f74efef4fb  -s ours
am: f2b1de1435  -s ours

Change-Id: I98bb3bafb87997c2dc334e912991aabbc6bf178c

6 years agoImport translations. DO NOT MERGE am: 73120a4cdb -s ours
Bill Yi [Tue, 7 Nov 2017 09:35:56 +0000 (09:35 +0000)]
Import translations. DO NOT MERGE am: 73120a4cdb  -s ours
am: f74efef4fb  -s ours

Change-Id: I1841bd7c3fe428749e74e3bda23f3765effb6735

6 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 7 Nov 2017 09:33:26 +0000 (09:33 +0000)]
Import translations. DO NOT MERGE
am: 73120a4cdb  -s ours

Change-Id: Ida543e80dd13e3b5653c8676fe3032d5693a224d

6 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 7 Nov 2017 07:21:01 +0000 (23:21 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: I16dfb5a1bbcd9d062c9f24914c0715c5f0cfe95e

6 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 7 Nov 2017 07:20:38 +0000 (23:20 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import
Exempt-From-Owner-Approval: translation import

Bug: 64712476
Change-Id: I5e47736d365f0c8e75ec8e9ac0c84d599fbf7180

6 years agoMerge "Replace dns_tls with private_dns_mode setting" am: ca92fb5e2b am: 768f467089
Erik Kline [Tue, 7 Nov 2017 06:18:39 +0000 (06:18 +0000)]
Merge "Replace dns_tls with private_dns_mode setting" am: ca92fb5e2b am: 768f467089
am: 3194e6cbb8

Change-Id: Iee5ceb25248a7611b84fc06f93f52e287062cecd

6 years agoMerge "Replace dns_tls with private_dns_mode setting" am: ca92fb5e2b
Erik Kline [Tue, 7 Nov 2017 06:08:59 +0000 (06:08 +0000)]
Merge "Replace dns_tls with private_dns_mode setting" am: ca92fb5e2b
am: 768f467089

Change-Id: I70b86f3e2ebf823fea8a1516031f9137b2813bb3

6 years agoMerge "Replace dns_tls with private_dns_mode setting"
Erik Kline [Tue, 7 Nov 2017 06:00:15 +0000 (06:00 +0000)]
Merge "Replace dns_tls with private_dns_mode setting"
am: ca92fb5e2b

Change-Id: I58c44a04ef75d025f63e9470ed9624a437a7956c

6 years agoMerge "Replace dns_tls with private_dns_mode setting"
Treehugger Robot [Tue, 7 Nov 2017 05:54:28 +0000 (05:54 +0000)]
Merge "Replace dns_tls with private_dns_mode setting"

6 years agoReplace dns_tls with private_dns_mode setting
Erik Kline [Mon, 30 Oct 2017 06:30:18 +0000 (15:30 +0900)]
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

6 years agoMerge "Fix robolectric test failure"
TreeHugger Robot [Tue, 7 Nov 2017 02:40:18 +0000 (02:40 +0000)]
Merge "Fix robolectric test failure"

6 years agoMerge "Convert SecuritySubSetting into DashboardFragment"
Fan Zhang [Tue, 7 Nov 2017 01:58:42 +0000 (01:58 +0000)]
Merge "Convert SecuritySubSetting into DashboardFragment"

6 years agoConvert SecuritySubSetting into DashboardFragment
Fan Zhang [Fri, 3 Nov 2017 22:43:53 +0000 (15:43 -0700)]
Convert SecuritySubSetting into DashboardFragment

Bug: 32953042
Test: robotests
Change-Id: Iecdb0a42695644ff8aa095bcd49b5ccb16aa46d4

6 years agoMerge "Update Wi-Fi Calling "Emergency address" text"
TreeHugger Robot [Tue, 7 Nov 2017 00:38:44 +0000 (00:38 +0000)]
Merge "Update Wi-Fi Calling "Emergency address" text"

6 years agoFix robolectric test failure
Fan Zhang [Mon, 6 Nov 2017 23:12:14 +0000 (15:12 -0800)]
Fix robolectric test failure

Bug: 36971201
Test: robotests
Change-Id: I5adc98b8bc42b98b39d38bf08e2ac1bfa5139819

6 years agoMerge "Revert the change that remove the video layout listener."
TreeHugger Robot [Mon, 6 Nov 2017 22:57:12 +0000 (22:57 +0000)]
Merge "Revert the change that remove the video layout listener."

6 years agoMerge "Add connectivity controllers to about phone v2"
Jeffrey Huang [Mon, 6 Nov 2017 22:32:46 +0000 (22:32 +0000)]
Merge "Add connectivity controllers to about phone v2"

6 years agoMerge "Fix crash in settings robo test."
Lei Yu [Mon, 6 Nov 2017 21:16:37 +0000 (21:16 +0000)]
Merge "Fix crash in settings robo test."

6 years agoMove iccid number to sim status dialog
jeffreyhuang [Mon, 6 Nov 2017 20:38:45 +0000 (12:38 -0800)]
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

6 years agoMerge "Guard against a NPE when disconnecting suggestion service."
TreeHugger Robot [Mon, 6 Nov 2017 20:29:56 +0000 (20:29 +0000)]
Merge "Guard against a NPE when disconnecting suggestion service."

6 years agoAdd ConnectedAccessPointPreference
jackqdyulei [Thu, 2 Nov 2017 18:24:35 +0000 (11:24 -0700)]
Add ConnectedAccessPointPreference

This preference contains:
1. All the logic from AccessPointPreference
2. Gear icon on the right

Bug: 68807544
Test: RunSettingsRoboTests & Screenshot
Change-Id: I128401d81b075c4e9c5ca711562de26e73147745

6 years agoAdd connectivity controllers to about phone v2
jeffreyhuang [Mon, 6 Nov 2017 19:46:17 +0000 (11:46 -0800)]
Add connectivity controllers to about phone v2

 - Add IpAddressPreferenceController
 - Add WifiMacAddressPreferenceController
 - Add BluetoothAddressPreferenceController

Bug: 36458278
Test: make RunSettingsRoboTests -j40
Change-Id: Idf55784721d28ac27b1b8186e26268e21c40688e

6 years agoFix crash in settings robo test.
jackqdyulei [Mon, 6 Nov 2017 18:59:21 +0000 (10:59 -0800)]
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

6 years agoPreferenceControllers are the way of the future.
Julia Reynolds [Fri, 13 Oct 2017 19:12:07 +0000 (15:12 -0400)]
PreferenceControllers are the way of the future.

Migrates Notification settings (app level, group level, and channel
level) into PreferenceControllers (and most importantly:
PreferenceControllerTest)

Note: this removes the 'Advanced' preference group, but does
not yet use the standard system 'Advanced' grouping as it does
not currently support our use case (where we don't know how many
fields to show outside of 'Advanced' until onResume() and also
where we need fields to show below the 'Advanced' group).

Test: make RunSettingsRoboTests
Change-Id: Iddd1b4771922db322e5f73562e9d63ed077c5396

6 years agoGuard against a NPE when disconnecting suggestion service.
Fan Zhang [Mon, 6 Nov 2017 18:30:05 +0000 (10:30 -0800)]
Guard against a NPE when disconnecting suggestion service.

Change-Id: Ib10502b9467365f6e348737655806ef2369a747b
Fixes: 68885411
Test: robotests

6 years agoMerge "Rtl layout support for about phone v2"
Jeffrey Huang [Mon, 6 Nov 2017 17:54:24 +0000 (17:54 +0000)]
Merge "Rtl layout support for about phone v2"

6 years agoMerge "Enforce null check for mAccessPoint"
TreeHugger Robot [Mon, 6 Nov 2017 17:42:39 +0000 (17:42 +0000)]
Merge "Enforce null check for mAccessPoint"

6 years agoUpdate Wi-Fi Calling "Emergency address" text
Meng Wang [Sat, 4 Nov 2017 05:40:52 +0000 (22:40 -0700)]
Update Wi-Fi Calling "Emergency address" text

Bug:64226955
Test: manual
Change-Id: I6e7603caaca1070e7c1c195360bb034b6122e8d9

6 years agoMerge "Create a dialog for firmware version"
TreeHugger Robot [Sat, 4 Nov 2017 01:19:31 +0000 (01:19 +0000)]
Merge "Create a dialog for firmware version"

6 years agoEnforce null check for mAccessPoint
Ningyuan Wang [Fri, 3 Nov 2017 18:16:56 +0000 (11:16 -0700)]
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

6 years agoRevert the change that remove the video layout listener.
Doris Ling [Sat, 4 Nov 2017 00:19:39 +0000 (17:19 -0700)]
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

6 years agoMerge "Move trust agent helper methods into TrustAgentManager"
TreeHugger Robot [Fri, 3 Nov 2017 23:03:02 +0000 (23:03 +0000)]
Merge "Move trust agent helper methods into TrustAgentManager"

6 years agoCreate a dialog for firmware version
jeffreyhuang [Thu, 2 Nov 2017 18:01:18 +0000 (11:01 -0700)]
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

6 years agoMerge "Popup a dialog to display sim status information"
TreeHugger Robot [Fri, 3 Nov 2017 22:12:43 +0000 (22:12 +0000)]
Merge "Popup a dialog to display sim status information"

6 years agoRtl layout support for about phone v2
jeffreyhuang [Fri, 3 Nov 2017 21:46:23 +0000 (14:46 -0700)]
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

6 years agoMerge "Move security settings to security package"
TreeHugger Robot [Fri, 3 Nov 2017 21:24:41 +0000 (21:24 +0000)]
Merge "Move security settings to security package"

6 years agoMerge "Remove duplicate preferences in Accessibility settings."
TreeHugger Robot [Fri, 3 Nov 2017 19:48:19 +0000 (19:48 +0000)]
Merge "Remove duplicate preferences in Accessibility settings."

6 years agoNightDisplayController -> ColorDisplayController
Christine Franks [Thu, 2 Nov 2017 01:23:43 +0000 (18:23 -0700)]
NightDisplayController -> ColorDisplayController

Now that it controls both night display and color mode,
the NightDisplayController should reflect its expanded
purpose.

Bug: 68258004
Test: make RunSettingsRoboTests -j100
Change-Id: If0ad2539b44daf821fdba83b81de1199ad1ecc21

6 years agoMove trust agent helper methods into TrustAgentManager
Fan Zhang [Fri, 3 Nov 2017 17:06:21 +0000 (10:06 -0700)]
Move trust agent helper methods into TrustAgentManager

Bug: 32953042
Test: robotests
Change-Id: Ia8dae2e583f0faf7bded150dac65ed076f4ea576

6 years agoMove security settings to security package
Fan Zhang [Fri, 3 Nov 2017 16:35:12 +0000 (09:35 -0700)]
Move security settings to security package

Bug: 32953042
Test: robotests
Change-Id: Ibd5a12bdd22825dde723e107050826cce9839926

6 years agoMerge "Move trustagent to security package."
Fan Zhang [Fri, 3 Nov 2017 17:39:21 +0000 (17:39 +0000)]
Merge "Move trustagent to security package."

6 years agoMerge "Convert the rest of encryption page into pref controller"
Fan Zhang [Fri, 3 Nov 2017 16:45:38 +0000 (16:45 +0000)]
Merge "Convert the rest of encryption page into pref controller"

6 years agoMove trustagent to security package.
Fan Zhang [Fri, 3 Nov 2017 00:48:56 +0000 (17:48 -0700)]
Move trustagent to security package.

Bug: 32953042
Fixes: 34461256
Test: robotests
Change-Id: I341076ff320ad60081542a96eb588614230cb13e

6 years agoMerge "Convert encryption status to preference controller"
TreeHugger Robot [Fri, 3 Nov 2017 01:52:03 +0000 (01:52 +0000)]
Merge "Convert encryption status to preference controller"

6 years agoRemove duplicate preferences in Accessibility settings.
Doris Ling [Thu, 2 Nov 2017 23:44:50 +0000 (16:44 -0700)]
Remove duplicate preferences in Accessibility settings.

- addPreferencesFromResource() call has been added to
InstrumentedPreferenceFragment, and hence sub-class should not call it
again.

Change-Id: Ia016d9d407ac3f838c962d1ced585647382a051a
Fixes: 68820835
Test: make RunSettingsRoboTests

6 years agoMerge "Set device credential's Window flag to be SECURE." into lmp-mr1-dev am: 1c040c...
Fan Zhang [Fri, 3 Nov 2017 00:50:40 +0000 (00:50 +0000)]
Merge "Set device credential's Window flag to be SECURE." into lmp-mr1-dev am: 1c040c7414  -s ours am: b17703e871  -s ours am: 1de093b1a1  -s ours am: 5f02135c42  -s ours am: 7690482014  -s ours am: dbbcf65c96  -s ours am: e6a8f354fc  -s ours am: 3c19043e9c  -s ours am: d15a81f882  -s ours am: e981e0b855  -s ours am: ef61a45cf6  -s ours am: 5af580a419  -s ours am: fbc2fd065c  -s ours
am: eb7e3e0385  -s ours

Change-Id: Ib18d78964eb40d8a9bfa73d8cc62ca549f9e7212

6 years agoMerge "Set device credential's Window flag to be SECURE." into lmp-mr1-dev am: 1c040c...
Fan Zhang [Fri, 3 Nov 2017 00:47:06 +0000 (00:47 +0000)]
Merge "Set device credential's Window flag to be SECURE." into lmp-mr1-dev am: 1c040c7414  -s ours am: b17703e871  -s ours am: 1de093b1a1  -s ours am: 5f02135c42  -s ours am: 7690482014  -s ours am: dbbcf65c96  -s ours am: e6a8f354fc  -s ours am: 3c19043e9c  -s ours am: d15a81f882  -s ours am: e981e0b855  -s ours am: ef61a45cf6  -s ours am: 5af580a419  -s ours
am: fbc2fd065c  -s ours

Change-Id: I37ea4fa3cc14ee73b5bb2bc34612b6f1501c8c20

6 years agoMerge "Set device credential's Window flag to be SECURE." into lmp-mr1-dev am: 1c040c...
Fan Zhang [Fri, 3 Nov 2017 00:42:12 +0000 (00:42 +0000)]
Merge "Set device credential's Window flag to be SECURE." into lmp-mr1-dev am: 1c040c7414  -s ours am: b17703e871  -s ours am: 1de093b1a1  -s ours am: 5f02135c42  -s ours am: 7690482014  -s ours am: dbbcf65c96  -s ours am: e6a8f354fc  -s ours am: 3c19043e9c  -s ours am: d15a81f882  -s ours am: e981e0b855  -s ours am: ef61a45cf6  -s ours
am: 5af580a419  -s ours

Change-Id: I83bbad093fdcf90649ce39efbd9783a584d2b7c1

6 years agoMerge "Set device credential's Window flag to be SECURE." into lmp-mr1-dev am: 1c040c...
Fan Zhang [Fri, 3 Nov 2017 00:40:07 +0000 (00:40 +0000)]
Merge "Set device credential's Window flag to be SECURE." into lmp-mr1-dev am: 1c040c7414  -s ours am: b17703e871  -s ours am: 1de093b1a1  -s ours am: 5f02135c42  -s ours am: 7690482014  -s ours am: dbbcf65c96  -s ours am: e6a8f354fc  -s ours am: 3c19043e9c  -s ours am: d15a81f882  -s ours am: e981e0b855  -s ours
am: ef61a45cf6  -s ours

Change-Id: If9d124cc6a362a152345a04e0748cd71c6fac42a

6 years agoMerge "Set device credential's Window flag to be SECURE." into lmp-mr1-dev am: 1c040c...
Fan Zhang [Fri, 3 Nov 2017 00:38:04 +0000 (00:38 +0000)]
Merge "Set device credential's Window flag to be SECURE." into lmp-mr1-dev am: 1c040c7414  -s ours am: b17703e871  -s ours am: 1de093b1a1  -s ours am: 5f02135c42  -s ours am: 7690482014  -s ours am: dbbcf65c96  -s ours am: e6a8f354fc  -s ours am: 3c19043e9c  -s ours am: d15a81f882  -s ours
am: e981e0b855  -s ours

Change-Id: I32df0f311eca598b6b6969f288b258f65e43ae49

6 years agoMerge "Set device credential's Window flag to be SECURE." into lmp-mr1-dev am: 1c040c...
Fan Zhang [Fri, 3 Nov 2017 00:34:29 +0000 (00:34 +0000)]
Merge "Set device credential's Window flag to be SECURE." into lmp-mr1-dev am: 1c040c7414  -s ours am: b17703e871  -s ours am: 1de093b1a1  -s ours am: 5f02135c42  -s ours am: 7690482014  -s ours am: dbbcf65c96  -s ours am: e6a8f354fc  -s ours am: 3c19043e9c  -s ours
am: d15a81f882  -s ours

Change-Id: I937296351e0da23f441dab7c0403b1d59d78a016

6 years agoMerge "Set device credential's Window flag to be SECURE." into lmp-mr1-dev am: 1c040c...
Fan Zhang [Fri, 3 Nov 2017 00:31:01 +0000 (00:31 +0000)]
Merge "Set device credential's Window flag to be SECURE." into lmp-mr1-dev am: 1c040c7414  -s ours am: b17703e871  -s ours am: 1de093b1a1  -s ours am: 5f02135c42  -s ours am: 7690482014  -s ours am: dbbcf65c96  -s ours am: e6a8f354fc  -s ours
am: 3c19043e9c  -s ours

Change-Id: I6e25fc7111d4ec534d0588100e1dd6ce2ced5ee1

6 years agoMerge "Set device credential's Window flag to be SECURE." into lmp-mr1-dev am: 1c040c...
Fan Zhang [Fri, 3 Nov 2017 00:28:34 +0000 (00:28 +0000)]
Merge "Set device credential's Window flag to be SECURE." into lmp-mr1-dev am: 1c040c7414  -s ours am: b17703e871  -s ours am: 1de093b1a1  -s ours am: 5f02135c42  -s ours am: 7690482014  -s ours am: dbbcf65c96  -s ours
am: e6a8f354fc  -s ours

Change-Id: I4ea4b1a122429accdaede04201d88f16286fa4da

6 years agoMerge "Set device credential's Window flag to be SECURE." into lmp-mr1-dev am: 1c040c...
Fan Zhang [Fri, 3 Nov 2017 00:26:03 +0000 (00:26 +0000)]
Merge "Set device credential's Window flag to be SECURE." into lmp-mr1-dev am: 1c040c7414  -s ours am: b17703e871  -s ours am: 1de093b1a1  -s ours am: 5f02135c42  -s ours am: 7690482014  -s ours
am: dbbcf65c96  -s ours

Change-Id: Ia7d6e53337a1b0225e8917542fa5ae9d092b1ebf

6 years agoMerge "Set device credential's Window flag to be SECURE." into lmp-mr1-dev am: 1c040c...
Fan Zhang [Fri, 3 Nov 2017 00:22:09 +0000 (00:22 +0000)]
Merge "Set device credential's Window flag to be SECURE." into lmp-mr1-dev am: 1c040c7414  -s ours am: b17703e871  -s ours am: 1de093b1a1  -s ours am: 5f02135c42  -s ours
am: 7690482014  -s ours

Change-Id: Ia8925895580e9e010bee69ae638272ec7a9bad1a

6 years agoMerge "Set device credential's Window flag to be SECURE." into lmp-mr1-dev am: 1c040c...
Fan Zhang [Fri, 3 Nov 2017 00:19:51 +0000 (00:19 +0000)]
Merge "Set device credential's Window flag to be SECURE." into lmp-mr1-dev am: 1c040c7414  -s ours am: b17703e871  -s ours am: 1de093b1a1  -s ours
am: 5f02135c42  -s ours

Change-Id: I97a7ff922ca6aed7f99bce5f15f104b6b7ce8411

6 years agoMerge "Set device credential's Window flag to be SECURE." into lmp-mr1-dev am: 1c040c...
Fan Zhang [Fri, 3 Nov 2017 00:17:43 +0000 (00:17 +0000)]
Merge "Set device credential's Window flag to be SECURE." into lmp-mr1-dev am: 1c040c7414  -s ours am: b17703e871  -s ours
am: 1de093b1a1  -s ours

Change-Id: Ia56b40b2d0de2d993a46970d5cf1e63c8e47cd81

6 years agoMerge "Set device credential's Window flag to be SECURE." into lmp-mr1-dev am: 1c040c...
Fan Zhang [Fri, 3 Nov 2017 00:15:15 +0000 (00:15 +0000)]
Merge "Set device credential's Window flag to be SECURE." into lmp-mr1-dev am: 1c040c7414  -s ours
am: b17703e871  -s ours

Change-Id: I17c1cacc0a068c4d79e4cf568152607c3e13c4c4

6 years agoMerge "Set device credential's Window flag to be SECURE." into lmp-mr1-dev
Fan Zhang [Fri, 3 Nov 2017 00:13:11 +0000 (00:13 +0000)]
Merge "Set device credential's Window flag to be SECURE." into lmp-mr1-dev
am: 1c040c7414  -s ours

Change-Id: Ibcf00afea271d12b533042711317bb2e2356c0e9

6 years agoMerge "Set device credential's Window flag to be SECURE." into lmp-mr1-dev
Fan Zhang [Fri, 3 Nov 2017 00:07:32 +0000 (00:07 +0000)]
Merge "Set device credential's Window flag to be SECURE." into lmp-mr1-dev

6 years agoConvert the rest of encryption page into pref controller
Fan Zhang [Thu, 2 Nov 2017 21:09:34 +0000 (14:09 -0700)]
Convert the rest of encryption page into pref controller

Bug: 32953042
Test: robotests
Change-Id: I6c1b28314a988e6499065ddaee2aeae0ac28c537

6 years agoConvert encryption status to preference controller
Fan Zhang [Thu, 2 Nov 2017 00:59:53 +0000 (17:59 -0700)]
Convert encryption status to preference controller

- Move Crypt/Encryption setting into security package.
- Reformat crypt_keeper_settings.xml
- Add controller and test for encryption status

Bug: 32953042
Test: robotests
Change-Id: I1f4b2f97133435c70a49522a59886ac4da6759af

6 years agoSet device credential's Window flag to be SECURE.
Fan Zhang [Tue, 10 Oct 2017 21:06:04 +0000 (14:06 -0700)]
Set device credential's Window flag to be SECURE.

This prevents showing any pattern/pin in recent list.

Change-Id: I445cbad99344a2fcc335a5aad4a4de026ae97441
Merged-In: Ie56f725bf245961d61a66eae8a82b728600cb650
Fixes: 64339515
Bug: 38258991
Test: manual

6 years agoMerge "Add flag to not connect in WifiDialogActivity"
TreeHugger Robot [Thu, 2 Nov 2017 23:01:52 +0000 (23:01 +0000)]
Merge "Add flag to not connect in WifiDialogActivity"

6 years agoMerge "Popup a dialog to display user IMEI information"
Jeffrey Huang [Thu, 2 Nov 2017 20:30:36 +0000 (20:30 +0000)]
Merge "Popup a dialog to display user IMEI information"

6 years agoMerge "Add screen resource for Colors setting."
TreeHugger Robot [Thu, 2 Nov 2017 18:52:25 +0000 (18:52 +0000)]
Merge "Add screen resource for Colors setting."

6 years agoPopup a dialog to display sim status information
jeffreyhuang [Fri, 27 Oct 2017 21:41:56 +0000 (14:41 -0700)]
Popup a dialog to display sim status information

 - Create layout files for the dialog
 - Create a new controller to launch the dialog activity
 - Create a new controller to update the contents of the dialog
 - Deprecate old files that are no longer used in about phone v2

Bug: 36458278
Test: make RunSettingsRoboTests -j40
Change-Id: Iaf4f5e53c83b27f148acb076f38bfeabff41087e

6 years agoAdd flag to not connect in WifiDialogActivity
Maurice Lam [Wed, 1 Nov 2017 04:46:38 +0000 (21:46 -0700)]
Add flag to not connect in WifiDialogActivity

Add flag connect_for_caller, which if false will not connect to the
Wi-Fi network on behalf of the caller.

Test: cd tests/robotests && mma
Bug: 34951731
Change-Id: Ie24a8ed1891aea1caec75a2de9a3d2bdb3dad8a7

6 years agoMerge "Improve settings cold start latency."
TreeHugger Robot [Thu, 2 Nov 2017 06:24:41 +0000 (06:24 +0000)]
Merge "Improve settings cold start latency."