OSDN Git Service

android-x86/packages-apps-Settings.git
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 "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 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 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 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

5 years agoMerge "Move suggestion from LOCK_SCREEN to DEFAULT."
TreeHugger Robot [Tue, 18 Dec 2018 17:56:18 +0000 (17:56 +0000)]
Merge "Move suggestion from LOCK_SCREEN to DEFAULT."

5 years agoMerge "Don't have cards auto-filled in the foreground when a card gets dismissed."
TreeHugger Robot [Tue, 18 Dec 2018 17:40:57 +0000 (17:40 +0000)]
Merge "Don't have cards auto-filled in the foreground when a card gets dismissed."

5 years agoFix some pages crash after importing AndroidX from build 5175906
Jason Chiu [Tue, 18 Dec 2018 10:27:50 +0000 (18:27 +0800)]
Fix some pages crash after importing AndroidX from build 5175906

- Settings crash while entering Storage, Privacy, and Accounts page,
  because PreferenceGroup changed the API use from String#equals to
  String#contentEquals which doesn't support null keys.
- add a null check before calling findPreference

Test: robotest
Change-Id: I121cd9e4249fbdafbc67be65a09d770603e01044
Fixes: 121116425

5 years agoMove Settings app to /product
Anton Hansson [Mon, 10 Dec 2018 18:14:48 +0000 (18:14 +0000)]
Move Settings app to /product

Since this app is frequently customized by OEMs, it doesn't
fit in the mainline /system image right now. Move it to
/product.

Bug: 110072687
Test: make
Change-Id: Iee5940125af3f2a8543ecb3a68d7fba737acd77d

5 years agoDon't have cards auto-filled in the foreground when a card gets dismissed.
Yi-Ling Chuang [Fri, 7 Dec 2018 12:13:56 +0000 (20:13 +0800)]
Don't have cards auto-filled in the foreground when a card gets dismissed.

Currently if users dismiss a card or navigate back to the homepage,
new suggestions will be auto filled in. We should only add new cards
upon next visit.

Also fix suggestion cards undismissable problem.

Fixes: 121175037
Bug: 120628661
Test: robotests
Change-Id: I01d74aaaa21c8408e5cecafef04a7d52c97bccc5

5 years agoMerge changes from topic "location settings"
Lifu Tang [Tue, 18 Dec 2018 08:43:31 +0000 (08:43 +0000)]
Merge changes from topic "location settings"

* changes:
  Display app stats for location permission
  Display recent location access in the widget

5 years agoMerge "Fine tune UI layout files of WifiDppQrCodeScannerFragment & WifiDppQrCodeGener...
Arc Wang [Tue, 18 Dec 2018 07:26:47 +0000 (07:26 +0000)]
Merge "Fine tune UI layout files of WifiDppQrCodeScannerFragment & WifiDppQrCodeGeneratorFragment"

5 years agoMerge "Change to use footer button of setupcompat"
Pasty Chang [Tue, 18 Dec 2018 07:01:55 +0000 (07:01 +0000)]
Merge "Change to use footer button of setupcompat"

5 years agoMerge "Add internal WifiTracker to get correct AccessPoint for WifiNetworkRequestDialog"
Cosmo Hsieh [Tue, 18 Dec 2018 06:15:35 +0000 (06:15 +0000)]
Merge "Add internal WifiTracker to get correct AccessPoint for WifiNetworkRequestDialog"

5 years agoDisplay app stats for location permission
Lifu Tang [Tue, 11 Dec 2018 21:50:34 +0000 (13:50 -0800)]
Display app stats for location permission

Bug: 120221631
Test: manually
Change-Id: I53f43079807759c50eeb62029bb0d8d1f84e1118

5 years agoDisplay recent location access in the widget
Lifu Tang [Tue, 11 Dec 2018 00:38:33 +0000 (16:38 -0800)]
Display recent location access in the widget

Bug: 120239674
Test: manually
Change-Id: Iaf899486bf27c55189eea4c0e913ff1baaf529e5

5 years agoMerge "Add wifi connection info to the multi-network header"
TreeHugger Robot [Tue, 18 Dec 2018 03:54:35 +0000 (03:54 +0000)]
Merge "Add wifi connection info to the multi-network header"

5 years agoMerge "Add feature flag for settings slice injection"
TreeHugger Robot [Tue, 18 Dec 2018 03:19:28 +0000 (03:19 +0000)]
Merge "Add feature flag for settings slice injection"

5 years agoMerge "Add more owners in Settings"
TreeHugger Robot [Tue, 18 Dec 2018 02:53:59 +0000 (02:53 +0000)]
Merge "Add more owners in Settings"

5 years agoAdd internal WifiTracker to get correct AccessPoint for
cosmohsieh [Fri, 14 Dec 2018 17:20:27 +0000 (01:20 +0800)]
Add internal WifiTracker to get correct AccessPoint for
WifiNetworkRequestDialog

Use WifiTracker to get correct and constantly updated Wifi status of AccessPoint.

Bug: 117399926
Test: RunSettingsRoboTests
Change-Id: I5e4316f6acb7787dcaab150a293068852beb76e0

5 years agoMerge "Support Wi-Fi DPP metrics categories in Wi-Fi DPP activities & fragments."
Arc Wang [Tue, 18 Dec 2018 02:30:36 +0000 (02:30 +0000)]
Merge "Support Wi-Fi DPP metrics categories in Wi-Fi DPP activities & fragments."

5 years agoFine tune UI layout files of WifiDppQrCodeScannerFragment &
Arc Wang [Thu, 13 Dec 2018 03:45:08 +0000 (11:45 +0800)]
Fine tune UI layout files of WifiDppQrCodeScannerFragment &
WifiDppQrCodeGeneratorFragment

    1. Remove footer in landscape QR code scanner fragment
    2. Move header icon from activity layout file to header layout file
    3. Fine tune header layout file
    4. set icons for the 2 fragments

Bug: 118797380
Bug: 118794858
Test: atest WifiDppConfiguratorActivityTest
      atest WifiDppQrCodeScannerFragmentTest
      atest WifiDppQrCodeGeneratorFragmentTest
      atest RunSettingsRoboTests

Change-Id: I7e547d7c29dd947a890e902e61b8244fec399354

5 years agoMerge "Remove battery saver condition."
TreeHugger Robot [Tue, 18 Dec 2018 01:49:31 +0000 (01:49 +0000)]
Merge "Remove battery saver condition."

5 years agoMerge "Adjust camera preview area to square"
Johnson Lu [Tue, 18 Dec 2018 01:13:14 +0000 (01:13 +0000)]
Merge "Adjust camera preview area to square"

5 years agoMerge "Add Battery Saver Schedule screen logic"
TreeHugger Robot [Tue, 18 Dec 2018 00:41:43 +0000 (00:41 +0000)]
Merge "Add Battery Saver Schedule screen logic"

5 years agoMove suggestion from LOCK_SCREEN to DEFAULT.
Fan Zhang [Mon, 17 Dec 2018 23:57:33 +0000 (15:57 -0800)]
Move suggestion from LOCK_SCREEN to DEFAULT.

These 2 categories behaves the same, moving suggestions to DEFAULT
can save a PackageManager query in SettingsIntelligence.

Bug: 121158263
Test: manual
Change-Id: I24c84aa61b272120a77bda0ec27b38690f2b4d4d

5 years agoAdd more owners in Settings
Fan Zhang [Mon, 17 Dec 2018 23:18:03 +0000 (15:18 -0800)]
Add more owners in Settings

Change-Id: I5a48cb2955cca002d1194cfdbbcb00b2fb7530b2
Fixes: 120916672
Test: rebuild

5 years agoMerge "Add subscriptions list to the multi-network header"
TreeHugger Robot [Mon, 17 Dec 2018 23:03:42 +0000 (23:03 +0000)]
Merge "Add subscriptions list to the multi-network header"

5 years agoAdd Battery Saver Schedule screen logic
Salvador Martinez [Fri, 7 Dec 2018 21:12:28 +0000 (13:12 -0800)]
Add Battery Saver Schedule screen logic

This CL creates the controllers for the screen and makes it so that
the appropriate APIs are called when the user makes selections.

Test: battery saver comes on when state changed via adb, robotests
Bug: 111450127
Change-Id: I1dbcadd4b91276b700947df5a9444aabfec63aa3

5 years agoAdd feature flag for settings slice injection
jackqdyulei [Mon, 17 Dec 2018 21:26:18 +0000 (13:26 -0800)]
Add feature flag for settings slice injection

Bug: 120803703
Test: Manual
Change-Id: If5ff1fc867d010953a5aa48b2ba61a4c467b6579

5 years agoAdd wifi connection info to the multi-network header
Antony Sargent [Fri, 14 Dec 2018 20:45:04 +0000 (12:45 -0800)]
Add wifi connection info to the multi-network header

The Network & internet page will have a dynamic header at the top when
users have more than one mobile subscription, showing information about
connectivity.

This CL adds a preference to this header when there is a wifi connection,
showing the same information as on the wifi-page (connection strength,
speed rating if available, etc.).

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

5 years agoMerge "Implement receiver flow of WiFi sharing feature II"
TreeHugger Robot [Mon, 17 Dec 2018 21:38:04 +0000 (21:38 +0000)]
Merge "Implement receiver flow of WiFi sharing feature II"

5 years agoAdd subscriptions list to the multi-network header
Antony Sargent [Wed, 12 Dec 2018 17:09:45 +0000 (09:09 -0800)]
Add subscriptions list to the multi-network header

The new UX for showing multiple active mobile plan subscriptions (SIMs,
eSIMs, etc.)  needs a header at the top of the Network & internet page
that shows wifi status and a list of active mobile subscriptions in the
form of one Preference per subscription.

This CL adds display of the mobile subscriptions to this header. It does
not yet show the correct summary text or do anything when you tap on
them - that will be coming in subsequent CLs. Also, since adding a
variable number of items to the top of the page messes up our current
strategy of having a fixed number of hidden items at the bottom based on
overall item count, this CL just makes all items visible. Subsequent CLs
can restore this behavior with dynamic adjustment.

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

5 years agoMerge "Link to the appropriate config activity for dnd rules"
Julia Reynolds [Mon, 17 Dec 2018 21:08:55 +0000 (21:08 +0000)]
Merge "Link to the appropriate config activity for dnd rules"

5 years agoRemove battery saver condition.
Fan Zhang [Mon, 17 Dec 2018 20:31:50 +0000 (12:31 -0800)]
Remove battery saver condition.

Battery saver is also implemented as a contextual card. no need to use
condition any more.

Change-Id: I2607c610593c6e250569fbd3b4f1a5516f6ea62f
Fixes: 121115306
Test: robotests

5 years agoMerge "Migrate packages/apps/Settings to androidx.test"
TreeHugger Robot [Mon, 17 Dec 2018 19:42:24 +0000 (19:42 +0000)]
Merge "Migrate packages/apps/Settings to androidx.test"

5 years agoMerge "Add boolean flags to show/hide top-most settings."
TreeHugger Robot [Mon, 17 Dec 2018 19:38:53 +0000 (19:38 +0000)]
Merge "Add boolean flags to show/hide top-most settings."

5 years agoMerge "Get enrollment animation from overlay"
TreeHugger Robot [Mon, 17 Dec 2018 18:15:01 +0000 (18:15 +0000)]
Merge "Get enrollment animation from overlay"

5 years agoMerge "Fix build failed of Settings test cases while importing AndroidX"
Fan Zhang [Mon, 17 Dec 2018 18:14:01 +0000 (18:14 +0000)]
Merge "Fix build failed of Settings test cases while importing AndroidX"

5 years agoMerge "Micro cleanup and refactoring"
TreeHugger Robot [Mon, 17 Dec 2018 18:04:12 +0000 (18:04 +0000)]
Merge "Micro cleanup and refactoring"

5 years agoMerge "Make the Settings permission a required module"
Anton Hansson [Mon, 17 Dec 2018 17:31:56 +0000 (17:31 +0000)]
Merge "Make the Settings permission a required module"