OSDN Git Service

android-x86/packages-apps-Settings.git
5 years agoMerge "Change layout prefix of setupdesign from suw to sud"
Cn Chen [Mon, 24 Dec 2018 03:52:00 +0000 (03:52 +0000)]
Merge "Change layout prefix of setupdesign from suw to sud"

5 years agoChange layout prefix of setupdesign from suw to sud
pastychang [Fri, 21 Dec 2018 06:01:18 +0000 (14:01 +0800)]
Change layout prefix of setupdesign from suw to sud

Bug: 120805516
Test: RunSettingsRoboTests
Change-Id: Icd24f0336191c4575838cb1b9d131c885304b527

5 years agoMerge "Set default value for mobile listPreference"
Pengquan Meng [Sun, 23 Dec 2018 02:18:20 +0000 (02:18 +0000)]
Merge "Set default value for mobile listPreference"

5 years agoRemove ignore in Robolectric test
Raff Tsai [Sat, 22 Dec 2018 09:06:52 +0000 (17:06 +0800)]
Remove ignore in Robolectric test

This was broken due to framework changes. Now framework works with
this well.

Change-Id: I2d862d4851efaefcd9866e9fd4b6deb6450f296c
Fixes: 119592320
Test: make RunSettingsRoboTests

5 years agoMerge "Fix test cases for impending Robolectric merge"
James Lemieux [Sat, 22 Dec 2018 01:50:48 +0000 (01:50 +0000)]
Merge "Fix test cases for impending Robolectric merge"

5 years ago[automerger skipped] Import translations. DO NOT MERGE am: 05cf17a925 -s ours
Bill Yi [Sat, 22 Dec 2018 01:27:10 +0000 (17:27 -0800)]
[automerger skipped] Import translations. DO NOT MERGE am: 05cf17a925  -s ours
am: 9ad826208e  -s ours

Change-Id: I0615833b428b3a9ccb115073420402e9d07d2e94

5 years ago[automerger skipped] Import translations. DO NOT MERGE
Bill Yi [Sat, 22 Dec 2018 01:21:21 +0000 (17:21 -0800)]
[automerger skipped] Import translations. DO NOT MERGE
am: 05cf17a925  -s ours

Change-Id: I2c59a155b3d113099069840a08da8d90f8d1543c

5 years agoMerge "Add mechanism for vendor-specific enrollment"
TreeHugger Robot [Sat, 22 Dec 2018 01:01:53 +0000 (01:01 +0000)]
Merge "Add mechanism for vendor-specific enrollment"

5 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 22 Dec 2018 00:07:42 +0000 (16:07 -0800)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 118717573
Change-Id: Ifd74addec939651ce1aafca0d422f7fb65553a3a

5 years agoSet default value for mobile listPreference
jackqdyulei [Fri, 21 Dec 2018 23:32:58 +0000 (15:32 -0800)]
Set default value for mobile listPreference

In some cases we don't set value for listPreference, so we need to set
a default one. This is a bug from code migration.

Change-Id: I8072b2a288a6a1254dceabea963f19459b0a9011
Fixes: 119770064
Test: RunSettingsRoboTests

5 years agoMerge "Revert "Get enrollment animation from overlay""
Kevin Chyn [Fri, 21 Dec 2018 22:23:55 +0000 (22:23 +0000)]
Merge "Revert "Get enrollment animation from overlay""

5 years agoFix test cases for impending Robolectric merge
James Lemieux [Mon, 17 Dec 2018 21:34:20 +0000 (13:34 -0800)]
Fix test cases for impending Robolectric merge

Bug: 121048884
Test: make -j56 RunSettingsRoboTests
Change-Id: I13568f48b66c79ff6f7806d8bc2c54ba05e7f595

5 years agoMerge "Add custom dnd pages for each dnd auto rule"
TreeHugger Robot [Fri, 21 Dec 2018 21:16:38 +0000 (21:16 +0000)]
Merge "Add custom dnd pages for each dnd auto rule"

5 years agoAdd mechanism for vendor-specific enrollment
Kevin Chyn [Fri, 21 Dec 2018 20:42:57 +0000 (12:42 -0800)]
Add mechanism for vendor-specific enrollment

Bug: 111548033
Test: Builds
Change-Id: I1b87d40a584ea21c3de50651f880ce94ed7d40d7

5 years agoRevert "Get enrollment animation from overlay"
Kevin Chyn [Fri, 21 Dec 2018 18:20:19 +0000 (18:20 +0000)]
Revert "Get enrollment animation from overlay"

This reverts commit 9ed7cb40cb72d4f646e2d1ef7cd80ed5a80bfdde.

Bug: 111548033
Bug: 121222038
Change-Id: Ic9c85628c45ea5327d0d3b6969034c13789b920c

5 years agoMerge "Limit displayable rows in BluetoothDevicesSlice"
Yanting Yang [Fri, 21 Dec 2018 11:46:45 +0000 (11:46 +0000)]
Merge "Limit displayable rows in BluetoothDevicesSlice"

5 years agoMerge "Implement the Copyable interface to BuildNumberPreferenceController"
Stanley Wang [Fri, 21 Dec 2018 10:39:47 +0000 (10:39 +0000)]
Merge "Implement the Copyable interface to BuildNumberPreferenceController"

5 years agoLimit displayable rows in BluetoothDevicesSlice
Yanting Yang [Thu, 20 Dec 2018 14:23:00 +0000 (22:23 +0800)]
Limit displayable rows in BluetoothDevicesSlice

The maximum displayable row count in current design is 3.
i.e., There are 1 header and 3 rows in a Slice when the number of
Bluetooth device exceeds 3.

Change-Id: Ie585617da0665dde4cbe1ab60a2693e3e1199c27
Fixes: 121308955
Bug: 114807655
Test: visual, robotests

5 years agoMerge "Add GPS to location setting's search keyword"
TreeHugger Robot [Fri, 21 Dec 2018 07:27:37 +0000 (07:27 +0000)]
Merge "Add GPS to location setting's search keyword"

5 years agoMerge "Support Bluetooth activation in BluetoothDevicesSlice"
Yanting Yang [Fri, 21 Dec 2018 03:44:42 +0000 (03:44 +0000)]
Merge "Support Bluetooth activation in BluetoothDevicesSlice"

5 years agoMerge "Remove tests in WifiSettingsUiTest"
TreeHugger Robot [Fri, 21 Dec 2018 03:33:34 +0000 (03:33 +0000)]
Merge "Remove tests in WifiSettingsUiTest"

5 years agoMerge "[automerger skipped] Merge "Moved data settings to phone" am: bcd6a7db39 am...
Android Build Merger (Role) [Fri, 21 Dec 2018 03:29:41 +0000 (03:29 +0000)]
Merge "[automerger skipped] Merge "Moved data settings to phone" am: bcd6a7db39 am: 67475a5c66 am: a91d29f5f0  -s ours"

5 years ago[automerger skipped] Merge "Moved data settings to phone" am: bcd6a7db39 am: 67475a5c66
Jack Yu [Fri, 21 Dec 2018 03:28:54 +0000 (19:28 -0800)]
[automerger skipped] Merge "Moved data settings to phone" am: bcd6a7db39 am: 67475a5c66
am: a91d29f5f0  -s ours

Change-Id: Ib7852dc376747b05a6e7ce1fb3391418d7ab01ef

5 years agoMerge "Migrating to new footer button for storage migrated pages"
Pasty Chang [Fri, 21 Dec 2018 03:27:06 +0000 (03:27 +0000)]
Merge "Migrating to new footer button for storage migrated pages"

5 years agoMerge "Moved data settings to phone" am: bcd6a7db39
Jack Yu [Fri, 21 Dec 2018 03:13:21 +0000 (19:13 -0800)]
Merge "Moved data settings to phone" am: bcd6a7db39
am: 67475a5c66

Change-Id: I5ae8d51ffbdfa41c0cfacd49a2d10524f6abdd25

5 years agoMerge "Moved data settings to phone"
Jack Yu [Fri, 21 Dec 2018 03:01:06 +0000 (19:01 -0800)]
Merge "Moved data settings to phone"
am: bcd6a7db39

Change-Id: I8fde45278c4a5db14f986ea87ab2bfa15b7507ab

5 years agoImplement the Copyable interface to BuildNumberPreferenceController
Stanley Wang [Thu, 13 Dec 2018 10:12:44 +0000 (18:12 +0800)]
Implement the Copyable interface to BuildNumberPreferenceController

Fixes: 121233543
Test: manual and robotests
Change-Id: I4f424be6dfeb2c9fc9ac0bc11b38139f7d52b2b7

5 years agoMerge "Remove frictionIconColor attribute"
TreeHugger Robot [Fri, 21 Dec 2018 02:45:08 +0000 (02:45 +0000)]
Merge "Remove frictionIconColor attribute"

5 years agoMerge "Rename SIM_APN_LIST to SIM_APN_URI" am: d594716359 am: a49da46d96
Calvin Pan [Fri, 21 Dec 2018 02:34:36 +0000 (18:34 -0800)]
Merge "Rename SIM_APN_LIST to SIM_APN_URI" am: d594716359 am: a49da46d96
am: 8c758f5ce7

Change-Id: Idbefe3b3cd87e4702852defa7382c30ff8f98e50

5 years agoMerge "Moved data settings to phone"
Jack Yu [Fri, 21 Dec 2018 02:29:43 +0000 (02:29 +0000)]
Merge "Moved data settings to phone"

5 years agoMerge "Rename SIM_APN_LIST to SIM_APN_URI" am: d594716359
Calvin Pan [Fri, 21 Dec 2018 02:22:01 +0000 (18:22 -0800)]
Merge "Rename SIM_APN_LIST to SIM_APN_URI" am: d594716359
am: a49da46d96

Change-Id: Ifa3dd2166fadd7c4fce234adedd6db3df3fcf577

5 years agoMerge "Rename SIM_APN_LIST to SIM_APN_URI"
Calvin Pan [Fri, 21 Dec 2018 01:48:19 +0000 (17:48 -0800)]
Merge "Rename SIM_APN_LIST to SIM_APN_URI"
am: d594716359

Change-Id: If8708a4d84fd8dce4c7e66507320cd35369331b2

5 years agoMerge "Rename SIM_APN_LIST to SIM_APN_URI"
Calvin Pan [Fri, 21 Dec 2018 01:31:44 +0000 (01:31 +0000)]
Merge "Rename SIM_APN_LIST to SIM_APN_URI"

5 years agoMerge "Schematize Setup Wizard System Properties"
TreeHugger Robot [Fri, 21 Dec 2018 01:01:49 +0000 (01:01 +0000)]
Merge "Schematize Setup Wizard System Properties"

5 years agoAdd GPS to location setting's search keyword
Fan Zhang [Fri, 21 Dec 2018 00:21:46 +0000 (16:21 -0800)]
Add GPS to location setting's search keyword

Change-Id: I01d0acbc9f8f212ec899b89b368c3e00f3d177f5
Fixes: 119137548
Test: reindex search

5 years agoRemove tests in WifiSettingsUiTest
jackqdyulei [Thu, 20 Dec 2018 23:51:06 +0000 (15:51 -0800)]
Remove tests in WifiSettingsUiTest

One is obsolete and one is covered by robo test

Change-Id: I862882c5e1f2f4a7be15b042a8f778a158a9b89c
Fixes: 73796195
Test: atest

5 years agoMoved data settings to phone
Jack Yu [Thu, 13 Dec 2018 19:51:20 +0000 (11:51 -0800)]
Moved data settings to phone

Since there are multiple DcTrackers, but we only have
one set of data settings. So we need to move them from
DcTracker to Phone.

Test: Telephony sanity tests + unit tests
Bug: 73659459
Merged-In: If11a6eff057a18b4aa97addbb348537bd3194e1a
Change-Id: If11a6eff057a18b4aa97addbb348537bd3194e1a
(cherry picked from commit 50972ed89e9871d73ee8722bcde458170084ba08)

5 years agoRemove frictionIconColor attribute
Fan Zhang [Thu, 20 Dec 2018 22:34:42 +0000 (14:34 -0800)]
Remove frictionIconColor attribute

Only 2 drawables need this attr, and they can both point to
colorControlNormal.

Fixes: 121196838
Test: visual - checked display color for wifi badging icons are the same
      in light/dark mode

Change-Id: Ia9555e93ab613fede4fa424460721ec1c7882d2b

5 years agoAdd custom dnd pages for each dnd auto rule
Beverly [Tue, 11 Dec 2018 21:19:33 +0000 (16:19 -0500)]
Add custom dnd pages for each dnd auto rule

- Fix strings
- Add zen custom settings dialog when custom settings are being applied
Test: make RunSettingsRoboTests -j40
Bug: 111475013
Fixes: 120787133
Fixes: 120796642
Fixes: 120865472
Change-Id: I34d6b4b23d36277e3704416d65e2418418c124e1

5 years agoMerge "Make taps on subscriptions in multi-network header go to mobile page"
TreeHugger Robot [Thu, 20 Dec 2018 18:59:54 +0000 (18:59 +0000)]
Merge "Make taps on subscriptions in multi-network header go to mobile page"

5 years agoMerge "Update the name of the status bar theme for Theme.Settings.HomeBase."
Doris Ling [Thu, 20 Dec 2018 18:02:49 +0000 (18:02 +0000)]
Merge "Update the name of the status bar theme for Theme.Settings.HomeBase."

5 years agoMake taps on subscriptions in multi-network header go to mobile page
Antony Sargent [Mon, 17 Dec 2018 23:23:44 +0000 (15:23 -0800)]
Make taps on subscriptions in multi-network header go to mobile page

This CL does 2 things:

-Makes the MobileNetworkActivity class capable of showing details for
 "available" in addition to just "active" networks. This is useful for
 dual-standby devices where one subscription is active and another is
 registered but not currently active. It also changes the title of this
 screen to be the network display name (defaults to the carrier name
 but can be customized by the user) instead of the generic "Mobile
 network".

-Wires up the subscription entries in the multi-network header (which
 only appears when a device has multiple subscriptions) so that taps on
 a subscription preference bring you to the MobileNetworkActivity screen
 to show details for that network.

Bug: 116349402
Test: make RunSettingsRoboTests
Change-Id: I0e985652c1d8ec3c597b6b6e4426d222e2ad5352

5 years agoMigrating to new footer button for storage migrated pages
pastychang [Thu, 20 Dec 2018 08:54:38 +0000 (16:54 +0800)]
Migrating to new footer button for storage migrated pages

Remove unused files storage_wizard_ready.xml and storage_wizard_navigation.xml

Bug: 120805516
Test: RunSettingsRoboTests
Change-Id: Ie3f0023413244dfc2b3f8dddae42977c920e93ac

5 years agoMerge "Update owners"
TreeHugger Robot [Thu, 20 Dec 2018 10:54:23 +0000 (10:54 +0000)]
Merge "Update owners"

5 years agoMerge "Implement QR code parser WifiQrCodetest."
TreeHugger Robot [Thu, 20 Dec 2018 10:05:26 +0000 (10:05 +0000)]
Merge "Implement QR code parser WifiQrCodetest."

5 years ago[automerger skipped] Merge "Remove unused system properties" am: fd0426d438 am: c3eb0...
Inseob Kim [Thu, 20 Dec 2018 09:52:24 +0000 (01:52 -0800)]
[automerger skipped] Merge "Remove unused system properties" am: fd0426d438 am: c3eb0887b0
am: 9d78bf6557  -s ours

Change-Id: If0f0c9b5a3ad48272ff626d666b7a27c116bbeee

5 years agoMerge "Remove unused system properties" am: fd0426d438
Inseob Kim [Thu, 20 Dec 2018 09:42:16 +0000 (01:42 -0800)]
Merge "Remove unused system properties" am: fd0426d438
am: c3eb0887b0

Change-Id: If0837ac203b720b57868c1e6bbb64b05f7f8ffbf

5 years agoMerge "Remove unused system properties"
Inseob Kim [Thu, 20 Dec 2018 09:37:03 +0000 (01:37 -0800)]
Merge "Remove unused system properties"
am: fd0426d438

Change-Id: I6f33268a640fb14ec8e9cd2fc5acec94ac25697d

5 years agoMerge "Remove unused system properties"
Treehugger Robot [Thu, 20 Dec 2018 09:24:39 +0000 (09:24 +0000)]
Merge "Remove unused system properties"

5 years agoMerge "Remove unused system properties"
TreeHugger Robot [Thu, 20 Dec 2018 08:28:58 +0000 (08:28 +0000)]
Merge "Remove unused system properties"

5 years agoMerge "Add new layout for Slice half card"
TreeHugger Robot [Thu, 20 Dec 2018 08:00:33 +0000 (08:00 +0000)]
Merge "Add new layout for Slice half card"

5 years agoImplement QR code parser WifiQrCodetest.
Arc Wang [Tue, 18 Dec 2018 10:45:36 +0000 (18:45 +0800)]
Implement QR code parser WifiQrCodetest.

The parser supports standard WI-Fi DPP QR code & ZXing reader library's
Wi-Fi Network config format.

Bug: 118797380
Test: atest WifiQrCodetest
      atest RunSettingsRoboTests

Change-Id: Ia47b8f65a900099749a6aa24afa3abd21ede1582

5 years agoRename SIM_APN_LIST to SIM_APN_URI
calvinpan [Thu, 20 Dec 2018 03:35:17 +0000 (11:35 +0800)]
Rename SIM_APN_LIST to SIM_APN_URI

In Telephony SIM_APN_LIST had been rename to SIM_APN_URI.

Bug: 120031619
Test: Build pass.
Change-Id: I203c765c7ba6ee468f76dbfdb84b50c787ac8dbe

5 years agoMerge "Migrating to new footer button for fingerprint and face enrolling pages."
Pasty Chang [Thu, 20 Dec 2018 07:07:29 +0000 (07:07 +0000)]
Merge "Migrating to new footer button for fingerprint and face enrolling pages."

5 years agoAdd new layout for Slice half card
Mill Chen [Mon, 10 Dec 2018 13:33:58 +0000 (21:33 +0800)]
Add new layout for Slice half card

- Extract dismissal view as a layout xml and reuse it in half card
- fixed minor naming convention

This new layout is composed of custom views and the purpose is to
show slice in half width form in contextual homepage.

Bug: 119655434
Test: visual
Change-Id: I224d8bc1b7f95f969f6a134a316bd80b4cd013ee

5 years agoUpdate owners
Fan Zhang [Thu, 20 Dec 2018 04:23:57 +0000 (20:23 -0800)]
Update owners

Forgot 1 person last time.

Test: rebuild

Change-Id: I5953cc740c9c0683ec5b5622e9552f6ebdd3e6be

5 years agoMerge "Add Icon at the start of the first row for all contextualcards"
Jason Chiu [Thu, 20 Dec 2018 03:56:47 +0000 (03:56 +0000)]
Merge "Add Icon at the start of the first row for all contextualcards"

5 years agoMerge "Replace ArgumentCaptor with getReceiversForIntent()"
TreeHugger Robot [Thu, 20 Dec 2018 03:46:46 +0000 (03:46 +0000)]
Merge "Replace ArgumentCaptor with getReceiversForIntent()"

5 years agoMerge "Fix talkback speaks "double tap to activate" on preference"
TreeHugger Robot [Thu, 20 Dec 2018 03:39:22 +0000 (03:39 +0000)]
Merge "Fix talkback speaks "double tap to activate" on preference"

5 years agoAdd Icon at the start of the first row for all contextualcards
Jason Chiu [Wed, 19 Dec 2018 06:15:25 +0000 (14:15 +0800)]
Add Icon at the start of the first row for all contextualcards

- set Icon as a title item rather than an end item in slice builders
- call showTitleItems in renderer

Test: robotest
Bug: 119639527
Change-Id: I043173968ceb3d34e38c2e43ad824b923e647d47

5 years agoReplace ArgumentCaptor with getReceiversForIntent()
timhypeng [Wed, 19 Dec 2018 04:53:12 +0000 (12:53 +0800)]
Replace ArgumentCaptor with getReceiversForIntent()

Bug: 117989208
Test: make -j RunSettingsRoboTests
Change-Id: I0a790a6af4075fbb2228aa77c3a4e237d89e3b98

5 years agoMerge "Add translatable="false" for config string array"
Lei Yu [Thu, 20 Dec 2018 01:11:30 +0000 (01:11 +0000)]
Merge "Add translatable="false" for config string array"

5 years agoRemove unused system properties
Inseob Kim [Wed, 19 Dec 2018 03:05:22 +0000 (12:05 +0900)]
Remove unused system properties

Properties ro.config.license_path and ro.config.manual_path are not set
from anywhere but only from a test.

Bug: N/A
Test: mma -j
Change-Id: I651405f3a201f5129bf37059e96e7bcc5efa73bf
Merged-In: I651405f3a201f5129bf37059e96e7bcc5efa73bf

5 years agoUpdate the name of the status bar theme for Theme.Settings.HomeBase.
Doris Ling [Wed, 19 Dec 2018 01:07:31 +0000 (17:07 -0800)]
Update the name of the status bar theme for Theme.Settings.HomeBase.

- the name of the style has been changed, need to update its reference.

Bug: 117401043
Test: rebuild
Change-Id: If29845f3479a25c7c82d04192ab8897d58b93ec1

5 years agoFix talkback speaks "double tap to activate" on preference
Raff Tsai [Wed, 19 Dec 2018 09:13:32 +0000 (17:13 +0800)]
Fix talkback speaks "double tap to activate" on preference

Talkback will speak "double tap to activate" on clickable view.
But the SliderPreference is not clickable. Because it is default
clickable for Preference. We should set android:selectable in every
SliderPreference.

Change-Id: I7bf09c2a7e2d8688352e35c1882674b6e73e5db7
Fixes: 121111172
Test: Manual

5 years agoAdd translatable="false" for config string array
jackqdyulei [Wed, 19 Dec 2018 22:42:14 +0000 (14:42 -0800)]
Add translatable="false" for config string array

Change-Id: Ic6a5423afe8fdb5b877140c5aaf16f65026135a3
Fixes: 115712164
Test: Manual

5 years agoMerge "Revert "Revert "Fix test case fail"""
Aurimas Liutikas [Wed, 19 Dec 2018 22:41:46 +0000 (22:41 +0000)]
Merge "Revert "Revert "Fix test case fail"""

5 years agoMerge "Fix test"
TreeHugger Robot [Wed, 19 Dec 2018 22:24:22 +0000 (22:24 +0000)]
Merge "Fix test"

5 years agoSupport Bluetooth activation in BluetoothDevicesSlice
Yanting Yang [Wed, 12 Dec 2018 11:45:47 +0000 (19:45 +0800)]
Support Bluetooth activation in BluetoothDevicesSlice

- Show available media devices only.
- Support activation for available media devices.

Bug: 114807655
Test: visual, robotest
Change-Id: Ie3058598a103a0fedc451a0e4d7f91603dcee0fc

5 years agoMerge "Move Panel to public API"
Matthew Fritze [Wed, 19 Dec 2018 19:21:46 +0000 (19:21 +0000)]
Merge "Move Panel to public API"

5 years agoMerge "Use new UsbManager#getPorts API"
Philip P. Moltmann [Wed, 19 Dec 2018 19:10:06 +0000 (19:10 +0000)]
Merge "Use new UsbManager#getPorts API"

5 years agoRevert "Revert "Fix test case fail""
Fan Zhang [Wed, 19 Dec 2018 18:57:12 +0000 (18:57 +0000)]
Revert "Revert "Fix test case fail""

This reverts commit 75261d01dfe443238a118ba92853ec0d0519710b.

Reason for revert: roll forward

Change-Id: I0b66ba4ea918baf54ae084f6281c172a07b160b2

5 years agoMerge "Revert "Fix test case fail""
Fan Zhang [Wed, 19 Dec 2018 18:28:55 +0000 (18:28 +0000)]
Merge "Revert "Fix test case fail""

5 years agoRevert "Fix test case fail"
Fan Zhang [Wed, 19 Dec 2018 18:26:10 +0000 (18:26 +0000)]
Revert "Fix test case fail"

This reverts commit 6d387e4a5f7abadf49b787e456ea06532a24875d.

Reason for revert: collateral damage for b/121116425

Change-Id: I3ba716e283bf466ad8603c1d8c64861febec9a8c

5 years agoMerge "Hide wifi card sometimes."
TreeHugger Robot [Wed, 19 Dec 2018 17:42:58 +0000 (17:42 +0000)]
Merge "Hide wifi card sometimes."

5 years agoMerge "Fix test case fail"
TreeHugger Robot [Wed, 19 Dec 2018 17:31:12 +0000 (17:31 +0000)]
Merge "Fix test case fail"

5 years agoMigrating to new footer button for fingerprint and face enrolling pages.
pastychang [Tue, 18 Dec 2018 02:53:34 +0000 (10:53 +0800)]
Migrating to new footer button for fingerprint and face enrolling pages.

Bug: 120805516
Test: RunSettingsRoboTests
Change-Id: I89a5e3674b8ba9ec66945c03c9b783664eee214f

5 years agoSchematize Setup Wizard System Properties
Inseob Kim [Wed, 19 Dec 2018 12:41:53 +0000 (21:41 +0900)]
Schematize Setup Wizard System Properties

Properties accessed across partitions are now schematized and will
become APIs to make explicit interfaces among partitions.

Bug: 117924132
Test: mma -j
Change-Id: I53b16e6d784071a04fe3fe1a9aaac8d5be91077b
(cherry picked from commit d328f613cbe55ba935f23cef081a0f1e1cc40977)

5 years agoFix test case fail
tmfang [Wed, 19 Dec 2018 10:12:38 +0000 (18:12 +0800)]
Fix test case fail

The implementation in PreferenceGroup is changed,
contentEquals doesn't accept null value.

We filter null key case in InstrumentedPreferenceFragment.

Test: robotest
Change-Id: I575d96361edf9bf0b20f7ad4c61d8b3813bf31d9
Fixes: 121232342

5 years agoMerge "Add accessibility for Face"
Kevin Chyn [Wed, 19 Dec 2018 07:55:04 +0000 (07:55 +0000)]
Merge "Add accessibility for Face"

5 years agoRemove unused system properties
Inseob Kim [Wed, 19 Dec 2018 03:05:22 +0000 (12:05 +0900)]
Remove unused system properties

Properties ro.config.license_path and ro.config.manual_path are not set
from anywhere but only from a test.

Bug: N/A
Test: mma -j
Change-Id: I651405f3a201f5129bf37059e96e7bcc5efa73bf
(cherry picked from commit 31e37683f0e859d355d0bbb57500498cc0de3962)

5 years agoAdd accessibility for Face
Kevin Chyn [Mon, 17 Dec 2018 20:26:30 +0000 (12:26 -0800)]
Add accessibility for Face

Bug: 111548033

Test: manual
Change-Id: I6638d471f5c6de76934b90d131a221813a38d2b3

5 years agoMerge "Fix crash in BatteryUtils"
TreeHugger Robot [Wed, 19 Dec 2018 02:04:29 +0000 (02:04 +0000)]
Merge "Fix crash in BatteryUtils"

5 years agoMerge "Add sliceUri in broadcast intent"
TreeHugger Robot [Wed, 19 Dec 2018 01:47:11 +0000 (01:47 +0000)]
Merge "Add sliceUri in broadcast intent"

5 years agoMerge changes from topic "bluetooth_uri"
Lei Yu [Wed, 19 Dec 2018 01:39:43 +0000 (01:39 +0000)]
Merge changes from topic "bluetooth_uri"

* changes:
  Add feature provider for bluetooth settings
  Build infra to inject slice to PreferenceFragment

5 years agoMerge "Clean up AndroidManifest"
TreeHugger Robot [Wed, 19 Dec 2018 00:08:48 +0000 (00:08 +0000)]
Merge "Clean up AndroidManifest"

5 years agoMerge "Show Choose/ConfirmLock before showing BiometricEnrollIntroduction"
Kevin Chyn [Tue, 18 Dec 2018 23:53:43 +0000 (23:53 +0000)]
Merge "Show Choose/ConfirmLock before showing BiometricEnrollIntroduction"

5 years agoFix crash in BatteryUtils
jackqdyulei [Tue, 18 Dec 2018 23:20:22 +0000 (15:20 -0800)]
Fix crash in BatteryUtils

When enhanced estimation is enabled, it may still have malfunction
when getting data from it. This CL handles this case and fall back
to default estimation.

Change-Id: Id8d75b07316afa8a73a302b49dc7f8e8b77d4fa4
Fixes: 121213171
Test: RunSettingsRoboTests

5 years agoFix test
Fan Zhang [Tue, 18 Dec 2018 22:51:40 +0000 (14:51 -0800)]
Fix test

Change-Id: I47d2533295e4cbf8f11654d4d3ee2740f971ad67
Fixes: 119829673
Test: robotests

5 years agoAdd feature provider for bluetooth settings
jackqdyulei [Tue, 18 Dec 2018 21:03:46 +0000 (13:03 -0800)]
Add feature provider for bluetooth settings

Also add method to get settings uri for specific device. Use feature
provider here because it give us more flexibility.

Bug: 120803703
Test: RunSettingsRoboTests
Change-Id: I6f4840e76279c02a75b95fdecd822a72cb0b42e5

5 years agoBuild infra to inject slice to PreferenceFragment
jackqdyulei [Mon, 10 Dec 2018 21:27:25 +0000 (13:27 -0800)]
Build infra to inject slice to PreferenceFragment

Reuse the PreferenceController and LayoutPreference however create
specific one for slice:
1. SlicePreference: container to inject slice view
2. SlicePreferenceController: handle updates for slice

Also add styles for it with default layout.

Bug: 120803703
Test: RunSettingsRoboTests

Change-Id: I6ab083ad57117e6198dcba37702a25213da78719

5 years agoMerge "Add special apps access settings page for financial app."
Hongming Jin [Tue, 18 Dec 2018 22:20:40 +0000 (22:20 +0000)]
Merge "Add special apps access settings page for financial app."

5 years agoShow Choose/ConfirmLock before showing BiometricEnrollIntroduction
Kevin Chyn [Tue, 18 Dec 2018 02:42:52 +0000 (18:42 -0800)]
Show Choose/ConfirmLock before showing BiometricEnrollIntroduction

Skip button is now shown when ChooseLock is launched by
BiometricEnroll, otherwise users are forced to use passwords
(maybe good thing?)

Bug: 111548033

Test: Pin/pattern/pass must be set/confirmed before enrollment
Test: Able to enroll FP in SUW and Settings

Change-Id: Ic4bbeb539e4bf01c1c402dec308943292b43406d

5 years agoMerge "Fix bug of not showing locked icon in WifiSettings"
Lei Yu [Tue, 18 Dec 2018 21:07:08 +0000 (21:07 +0000)]
Merge "Fix bug of not showing locked icon in WifiSettings"

5 years agoClean up AndroidManifest
Fan Zhang [Tue, 18 Dec 2018 19:32:10 +0000 (11:32 -0800)]
Clean up AndroidManifest

- Remove unused intent-filter
- Remove parent activity on DND

Fixes: 121120881
Fixes: 121122216
Test: rebuild
Change-Id: I308b6de452bbcd5f293863d460ee22a72badfa1e

5 years agoAdd special apps access settings page for financial app.
Hongming Jin [Fri, 14 Dec 2018 23:32:39 +0000 (15:32 -0800)]
Add special apps access settings page for financial app.

Test: manual test in settings app
Bug:111207447
Change-Id: Ifa3afba2fbfd2f874deeea35f5735ac3459eed17

5 years agoAdd sliceUri in broadcast intent
Raff Tsai [Mon, 17 Dec 2018 09:50:08 +0000 (17:50 +0800)]
Add sliceUri in broadcast intent

Bug: 119748954
Test: robolectric
Change-Id: I24eb8d5a274be60ba3395d05d2b306e185e7dcab

5 years agoMerge "Fix some pages crash after importing AndroidX from build 5175906"
TreeHugger Robot [Tue, 18 Dec 2018 18:19:48 +0000 (18:19 +0000)]
Merge "Fix some pages crash after importing AndroidX from build 5175906"

5 years agoHide wifi card sometimes.
Fan Zhang [Mon, 17 Dec 2018 21:22:42 +0000 (13:22 -0800)]
Hide wifi card sometimes.

When there is a connected wifi, we now hide the wifi slice card.

However, if we initially shows this card but later wifi is connected
while the card is visible, we keep showing this card to avoid janky
animation. The card will be gone if user nagivates to a different UI and
comes back.

- Create a new slice ContextualWifiSlice for homepage use case, all
  special logic for homepage are added here.
- Change reference for WIFI_SLICE to CONTEXTUAL_WIFI_SLICE where make
  sense.

Change-Id: Ibd87f88058f357aabef0f7d68a5bf48350d75b06
Fixes: 121040746
Test: robotests

5 years agoFix bug of not showing locked icon in WifiSettings
jackqdyulei [Tue, 18 Dec 2018 00:58:25 +0000 (16:58 -0800)]
Fix bug of not showing locked icon in WifiSettings

This bug only exist by launching WifiSettings from quick settings. Quick
settings launch this page by intent, where we use Theme.Settings.
However we only have frictionIconColor in Theme.SubSettings, not
Theme.Settings.

This CL move related attr to correct theme, so we won't show invisible
icon anymore.

Bug: 120710149
Test: Manual
Change-Id: Iae07f6ca19eda0bfbc352f03787b5a583c4066f2