OSDN Git Service

android-x86/packages-apps-Settings.git
5 years agoMerge "Fix wrong TetherProvisioningActivity definition" am: f1e3e9d627 am: 2ee5beaa32
markchien [Thu, 14 Feb 2019 06:43:11 +0000 (22:43 -0800)]
Merge "Fix wrong TetherProvisioningActivity definition" am: f1e3e9d627 am: 2ee5beaa32
am: c77ee11e4e

Change-Id: Ib14b4a7b3a5b8eb23c7229318ecd785605e1a4f0

5 years agoMerge "Fix wrong TetherProvisioningActivity definition" am: f1e3e9d627
markchien [Thu, 14 Feb 2019 06:39:00 +0000 (22:39 -0800)]
Merge "Fix wrong TetherProvisioningActivity definition" am: f1e3e9d627
am: 2ee5beaa32

Change-Id: Ifeb4b845b1842cff2096ec20bdd71e7ed4ea93be

5 years agoMerge "Fix wrong TetherProvisioningActivity definition"
markchien [Thu, 14 Feb 2019 06:34:49 +0000 (22:34 -0800)]
Merge "Fix wrong TetherProvisioningActivity definition"
am: f1e3e9d627

Change-Id: I3cc8c13e2a7ee50be4e3d1080232156ce6f30984

5 years agoMerge "Fix wrong TetherProvisioningActivity definition"
Treehugger Robot [Thu, 14 Feb 2019 06:19:30 +0000 (06:19 +0000)]
Merge "Fix wrong TetherProvisioningActivity definition"

5 years agoMerge "Check for null before invoking finish()"
TreeHugger Robot [Thu, 14 Feb 2019 04:58:05 +0000 (04:58 +0000)]
Merge "Check for null before invoking finish()"

5 years agoMerge "Remove TemplateLayout that is not for external use"
Pasty Chang [Thu, 14 Feb 2019 04:03:43 +0000 (04:03 +0000)]
Merge "Remove TemplateLayout that is not for external use"

5 years agoFix wrong TetherProvisioningActivity definition
markchien [Thu, 14 Feb 2019 03:11:31 +0000 (11:11 +0800)]
Fix wrong TetherProvisioningActivity definition

Bug: 122108346
Bug: 120069528
Test: build, boot, manual on/off hotspot
Change-Id: Iaeb2d271d901fcbd9d27c9a9de369e2af68d3645

5 years agoDon't show hidden subscriptions.
Malcolm Chen [Wed, 13 Feb 2019 01:02:34 +0000 (17:02 -0800)]
Don't show hidden subscriptions.

Replace getAvailableSubscriptionInfoList with getSelectableSubscriptionInfoList
so that hidden subscriptions won't show up.

Bug: 121396526
Test: manual
Change-Id: I73c41a6605b68011ba5b619f9d6e8d41d18a9dcd

5 years agoCheck for null before invoking finish()
Kevin Chyn [Thu, 14 Feb 2019 02:23:08 +0000 (18:23 -0800)]
Check for null before invoking finish()

Fixes: 124406109

Test: manual
Change-Id: Idee87c060ffd84395355ccdc5248166f1a6aeaf0

5 years agoMerge "Add logging for SettingsPanels"
TreeHugger Robot [Thu, 14 Feb 2019 01:36:30 +0000 (01:36 +0000)]
Merge "Add logging for SettingsPanels"

5 years agoMerge "Robotest fix."
TreeHugger Robot [Thu, 14 Feb 2019 01:25:39 +0000 (01:25 +0000)]
Merge "Robotest fix."

5 years agoMerge "Add ACCESS_FINE_LOCATION to permissions" am: a23ceba5c3 am: 5232a30b03
Hall Liu [Thu, 14 Feb 2019 01:17:51 +0000 (17:17 -0800)]
Merge "Add ACCESS_FINE_LOCATION to permissions" am: a23ceba5c3 am: 5232a30b03
am: 89b61e8e0a

Change-Id: Id7ff8fadb12185700859ceea48e3ddc6db4688bd

5 years agoMerge "Add ACCESS_FINE_LOCATION to permissions" am: a23ceba5c3
Hall Liu [Thu, 14 Feb 2019 00:33:22 +0000 (16:33 -0800)]
Merge "Add ACCESS_FINE_LOCATION to permissions" am: a23ceba5c3
am: 5232a30b03

Change-Id: Ia0a212d075868e020a784233dd6d5d640523a3d0

5 years agoMerge "Add ACCESS_FINE_LOCATION to permissions"
Hall Liu [Thu, 14 Feb 2019 00:14:10 +0000 (16:14 -0800)]
Merge "Add ACCESS_FINE_LOCATION to permissions"
am: a23ceba5c3

Change-Id: I873ee7b2898ab52b1a2a80d7da852d662bf10e6b

5 years agoAdd logging for SettingsPanels
Matthew Fritze [Fri, 8 Feb 2019 22:09:35 +0000 (14:09 -0800)]
Add logging for SettingsPanels

The 3 main categories are:
- Panel Opened
- Panel Closed
- Panel Slice interaction

There are 3 close events:
- See more button
- Done button
- Clicking outside the panel

Slice interactions will log the Uri of the Slice and the ActionType,
such as Toggle, Slider, Content (intent).

Change-Id: Iecad948f39f50dd12ae1bcb23a5d523e0df8bb98
Fixes: 117804231
Test: robotests

5 years agoRobotest fix.
Alex Buynytskyy [Wed, 13 Feb 2019 23:55:38 +0000 (15:55 -0800)]
Robotest fix.

Repro: m dist RunSettingsRoboTests ROBOTEST_FILTER=widget

Test: Robolectric test
Change-Id: I4bd4be29ac28d7532bba8aa26d70758c58bd9a0e

5 years agoMerge "Remove weird background color on stroage donut in dark mode"
TreeHugger Robot [Wed, 13 Feb 2019 23:47:33 +0000 (23:47 +0000)]
Merge "Remove weird background color on stroage donut in dark mode"

5 years agoMerge "Make WakeScreen conditionally avaialable"
TreeHugger Robot [Wed, 13 Feb 2019 23:42:22 +0000 (23:42 +0000)]
Merge "Make WakeScreen conditionally avaialable"

5 years agoMerge "Add ACCESS_FINE_LOCATION to permissions"
Hall Liu [Wed, 13 Feb 2019 23:21:43 +0000 (23:21 +0000)]
Merge "Add ACCESS_FINE_LOCATION to permissions"

5 years agoMerge "User photo: Remove reference to Photo Gallery"
TreeHugger Robot [Wed, 13 Feb 2019 22:53:04 +0000 (22:53 +0000)]
Merge "User photo: Remove reference to Photo Gallery"

5 years agoMerge "Update search for mobile network"
Lei Yu [Wed, 13 Feb 2019 22:43:22 +0000 (22:43 +0000)]
Merge "Update search for mobile network"

5 years agoRemove weird background color on stroage donut in dark mode
Fan Zhang [Wed, 13 Feb 2019 22:01:00 +0000 (14:01 -0800)]
Remove weird background color on stroage donut in dark mode

Bug: 124313940
Test: visual
Change-Id: Ie95c98c23bb67570418e49a1c6677d4b6809b5d2

5 years agoMerge "Change the default snoop log level to off."
TreeHugger Robot [Wed, 13 Feb 2019 21:45:25 +0000 (21:45 +0000)]
Merge "Change the default snoop log level to off."

5 years agoMake WakeScreen conditionally avaialable
Lucas Dupin [Wed, 13 Feb 2019 21:08:09 +0000 (13:08 -0800)]
Make WakeScreen conditionally avaialable

Also moving the setting closer to 'Always On'

Fixes: 124389844
Test: manual
Test: make RunSettingsRoboTests ROBOTEST_FILTER=WakeScreenGesturePreferenceController
Change-Id: Ic19e01bf4259608dc0430507fbb3ce5ebf6fa456

5 years agoMerge "Update the font family for the conditional title"
TreeHugger Robot [Wed, 13 Feb 2019 21:35:10 +0000 (21:35 +0000)]
Merge "Update the font family for the conditional title"

5 years agoMerge "Make card bacground grey_900 instead of 800 in dark mode"
TreeHugger Robot [Wed, 13 Feb 2019 21:11:15 +0000 (21:11 +0000)]
Merge "Make card bacground grey_900 instead of 800 in dark mode"

5 years agoMerge "Set default background color for home icon."
TreeHugger Robot [Wed, 13 Feb 2019 19:56:35 +0000 (19:56 +0000)]
Merge "Set default background color for home icon."

5 years agoMake card bacground grey_900 instead of 800 in dark mode
Fan Zhang [Wed, 13 Feb 2019 19:16:00 +0000 (11:16 -0800)]
Make card bacground grey_900 instead of 800 in dark mode

Change-Id: I7ccd59984949620340ebe66710b7956acde3e381
Fixes: 124313940
Test: visual

5 years agoMerge "Revert "Add LOCAL_RESOURCE_DIR in Settings makefile"" am: dabfd96c82 am: 32fbf...
Fan Zhang [Wed, 13 Feb 2019 18:43:46 +0000 (10:43 -0800)]
Merge "Revert "Add LOCAL_RESOURCE_DIR in Settings makefile"" am: dabfd96c82 am: 32fbf4740d
am: 798c93aafc

Change-Id: I39c11b23af004e0eb24b3c68eef6373eb70188ec

5 years agoMerge "Add more keywords to adaptive sleep setting"
Alex Salo [Wed, 13 Feb 2019 18:32:48 +0000 (18:32 +0000)]
Merge "Add more keywords to adaptive sleep setting"

5 years agoMerge "Revert "Add LOCAL_RESOURCE_DIR in Settings makefile"" am: dabfd96c82
Fan Zhang [Wed, 13 Feb 2019 18:29:46 +0000 (10:29 -0800)]
Merge "Revert "Add LOCAL_RESOURCE_DIR in Settings makefile"" am: dabfd96c82
am: 32fbf4740d

Change-Id: I74ae067983820f52bf6c12a133b917a43695af9d

5 years agoMerge "Revert "Add LOCAL_RESOURCE_DIR in Settings makefile""
Fan Zhang [Wed, 13 Feb 2019 18:16:15 +0000 (10:16 -0800)]
Merge "Revert "Add LOCAL_RESOURCE_DIR in Settings makefile""
am: dabfd96c82

Change-Id: I3e0b3d34cc3dbca46b96910fe0b656d6b07c03d9

5 years agoMerge "Revert "Add LOCAL_RESOURCE_DIR in Settings makefile""
Fan Zhang [Wed, 13 Feb 2019 18:04:09 +0000 (18:04 +0000)]
Merge "Revert "Add LOCAL_RESOURCE_DIR in Settings makefile""

5 years agoRevert "Add LOCAL_RESOURCE_DIR in Settings makefile"
Fan Zhang [Wed, 13 Feb 2019 17:59:40 +0000 (17:59 +0000)]
Revert "Add LOCAL_RESOURCE_DIR in Settings makefile"

This reverts commit 910457e37a45c4c717466aadfdf9d3fcd62135d4.
Fixes: 124370422

Reason for revert: b/124370422

Error:

The following topic from AOSP:

https://android-review.googlesource.com/q/topic:%22116821732%22+(status:open%20OR%20status:merged)

Has broken several builds (test_suites_x86_64, build_test, docs) with the following error:

FAILED:
build/make/core/aapt2.mk:33: error: overriding commands for target `out/target/common/obj/APPS/SetupWraith_intermediates/flat-res/frameworks/base/packages/SettingsLib/res/color_batterymeter_bolt_color.xml.flat', previously defined at build/make/core/aapt2.mk:33
05:05:47 ckati failed with: exit status 1
make: *** [run_soong_ui] Error 1
Return Code: 2

Change-Id: I2f6d443d06318b9bfa1283fb5f8255b126e4b507

5 years agoMerge "Move horizontal progress bar into SettingsLib."
TreeHugger Robot [Wed, 13 Feb 2019 13:53:56 +0000 (13:53 +0000)]
Merge "Move horizontal progress bar into SettingsLib."

5 years agoUpdate the font family for the conditional title
Mill Chen [Wed, 13 Feb 2019 08:46:47 +0000 (16:46 +0800)]
Update the font family for the conditional title

Bug: 113451905
Test: visual
Change-Id: Ic58652f4ac3af0e72308a7c2c293b2ae73eb42b6

5 years agoMerge "Fix some problems with the "Mobile network" preference"
TreeHugger Robot [Wed, 13 Feb 2019 05:44:06 +0000 (05:44 +0000)]
Merge "Fix some problems with the "Mobile network" preference"

5 years ago[automerger skipped] Merge "Support entitlement check in DSDS" am: e3b4e0262c am...
Mark Chien [Wed, 13 Feb 2019 04:58:48 +0000 (20:58 -0800)]
[automerger skipped] Merge "Support entitlement check in DSDS" am: e3b4e0262c am: 0ac1c323b2
am: edc4fd30ea -s ours
am skip reason: change_id Ia4279a418dfa6cd14942b7f4d2a313156066381b with SHA1 1dd1d79d90 is in history

Change-Id: Ie6064467c68640776ec4abffdea90943880effc2

5 years agoMerge "Show app usage data for the correct cycle."
TreeHugger Robot [Wed, 13 Feb 2019 04:49:42 +0000 (04:49 +0000)]
Merge "Show app usage data for the correct cycle."

5 years agoMerge "Add LOCAL_RESOURCE_DIR in Settings makefile" am: 3905ad125d am: dd3e2c4f27
Fan Zhang [Wed, 13 Feb 2019 04:12:49 +0000 (20:12 -0800)]
Merge "Add LOCAL_RESOURCE_DIR in Settings makefile" am: 3905ad125d am: dd3e2c4f27
am: 80fd417a58

Change-Id: I7b55262d7e3296a29e7efe4d33a4cab70e000175

5 years agoMerge "Support entitlement check in DSDS" am: e3b4e0262c
Mark Chien [Wed, 13 Feb 2019 04:06:32 +0000 (20:06 -0800)]
Merge "Support entitlement check in DSDS" am: e3b4e0262c
am: 0ac1c323b2

Change-Id: I9249eabb454648594ac5e303405f483266eee551

5 years agoMerge "Add LOCAL_RESOURCE_DIR in Settings makefile" am: 3905ad125d
Fan Zhang [Wed, 13 Feb 2019 03:33:56 +0000 (19:33 -0800)]
Merge "Add LOCAL_RESOURCE_DIR in Settings makefile" am: 3905ad125d
am: dd3e2c4f27

Change-Id: Ia2c1fa2eabcbe784e0d5525baf68d866f2366e6f

5 years agoMerge "Support entitlement check in DSDS"
Mark Chien [Wed, 13 Feb 2019 03:25:31 +0000 (19:25 -0800)]
Merge "Support entitlement check in DSDS"
am: e3b4e0262c

Change-Id: I6adb628af2a084f784fabe66ea2ba896fabc80b8

5 years agoMerge "Add LOCAL_RESOURCE_DIR in Settings makefile"
Fan Zhang [Wed, 13 Feb 2019 02:41:40 +0000 (18:41 -0800)]
Merge "Add LOCAL_RESOURCE_DIR in Settings makefile"
am: 3905ad125d

Change-Id: I04b1f12f0319c71b8bcf8703e6804c779a118782

5 years ago[automerger skipped] Merge "Schematize ADB system properties" am: 750b90a22b am:...
Kiyoung Kim [Wed, 13 Feb 2019 02:35:41 +0000 (18:35 -0800)]
[automerger skipped] Merge "Schematize ADB system properties" am: 750b90a22b am: 974ace22f9
am: de1971d7a0 -s ours
am skip reason: change_id Iec37f5f35b1452afdf7b15e9f31c4b4726127065 with SHA1 37bd3482ca is in history

Change-Id: Ic69304743c51cb1c07d20ce8d60f8d1c3f269a42

5 years agoMerge "Support entitlement check in DSDS"
Mark Chien [Wed, 13 Feb 2019 02:29:01 +0000 (02:29 +0000)]
Merge "Support entitlement check in DSDS"

5 years agoMerge "Schematize ADB system properties" am: 750b90a22b
Kiyoung Kim [Wed, 13 Feb 2019 02:18:16 +0000 (18:18 -0800)]
Merge "Schematize ADB system properties" am: 750b90a22b
am: 974ace22f9

Change-Id: I04ab4b50e76d05341b4033c5e44cc6cb62964c39

5 years agoMerge "Misc ui tweaks."
TreeHugger Robot [Wed, 13 Feb 2019 02:15:54 +0000 (02:15 +0000)]
Merge "Misc ui tweaks."

5 years agoMerge "Schematize ADB system properties"
Kiyoung Kim [Wed, 13 Feb 2019 02:06:33 +0000 (18:06 -0800)]
Merge "Schematize ADB system properties"
am: 750b90a22b

Change-Id: Ic122a93723e15b4a00e061e38e2741af457ed576

5 years agoUpdate search for mobile network
jackqdyulei [Tue, 12 Feb 2019 22:26:47 +0000 (14:26 -0800)]
Update search for mobile network

Continue work from ag/5991582:
1. Add search support for CDMA/GSM related preference
2. Update func getAvailabilityStatus, inside it should get all
related manager from subId, rather than default one in controller.

Bug: 117843601
Bug: 77276236
Test: RunSettingsRoboTests

Change-Id: Id72505a512269bdc5adb02e806d38ac367ce9f07

5 years agoShow app usage data for the correct cycle.
Doris Ling [Sat, 9 Feb 2019 01:22:32 +0000 (17:22 -0800)]
Show app usage data for the correct cycle.

- when launching the app data usage from the data usage list, pass the
info about the current cycle that the user is looking at, and select
the same cycle by default when the page is first launched to match the
data on the previous page.

Change-Id: Ic91bd8ee78db4d76551dff4b132c1b74d4b3c19d
Fixes: 123192721
Test: make RunSettingsRoboTests

5 years agoAdd more keywords to adaptive sleep setting
Alex Salo [Wed, 13 Feb 2019 00:44:26 +0000 (16:44 -0800)]
Add more keywords to adaptive sleep setting

Test: manually
Bug: 111939367
Change-Id: Ib1e61dc5e743f502233b7589ae2c14b586499630

5 years agoMerge "Update spec for CardPreference"
TreeHugger Robot [Wed, 13 Feb 2019 00:39:24 +0000 (00:39 +0000)]
Merge "Update spec for CardPreference"

5 years agoMisc ui tweaks.
Fan Zhang [Tue, 12 Feb 2019 20:29:49 +0000 (12:29 -0800)]
Misc ui tweaks.

- Update conditional card layout
  - move action button from right side to bottom.
  - Get rid of the forking between small/big screens.

- Update a few icons

Fixes: 121189136
Fixes: 124315564
Fixes: 124316920

Test: visual
Change-Id: I205d9995a2d7ed06ad9d32f3cea74f2840a28aed

5 years agoMerge "Add LOCAL_RESOURCE_DIR in Settings makefile"
Fan Zhang [Wed, 13 Feb 2019 00:12:08 +0000 (00:12 +0000)]
Merge "Add LOCAL_RESOURCE_DIR in Settings makefile"

5 years agoSet default background color for home icon.
Doris Ling [Tue, 12 Feb 2019 23:39:46 +0000 (15:39 -0800)]
Set default background color for home icon.

- the previous change to update the adaptive home page icon has removed
the default background color for the icon. Set it back to the correct
default if we do not find any background color set from the tile.

Fixes: 124183074
Test: make RunSettingsRoboTests
Change-Id: Idafc08ff1a3b20659c5f275d1a6c404f6c7ef2c0

5 years agoMerge "Remove the drop shadow in Privacy screen"
Fan Zhang [Tue, 12 Feb 2019 23:30:21 +0000 (23:30 +0000)]
Merge "Remove the drop shadow in Privacy screen"

5 years agoMerge "Add intent action for BT device detail page"
Lei Yu [Tue, 12 Feb 2019 19:40:18 +0000 (19:40 +0000)]
Merge "Add intent action for BT device detail page"

5 years agoMerge "Schematize ADB system properties"
Treehugger Robot [Tue, 12 Feb 2019 18:35:23 +0000 (18:35 +0000)]
Merge "Schematize ADB system properties"

5 years agoMerge "Updated permission name according to API review"
TreeHugger Robot [Tue, 12 Feb 2019 18:27:46 +0000 (18:27 +0000)]
Merge "Updated permission name according to API review"

5 years agoMerge "Separate OTA data usage from SYSTEM_UID."
Doris Ling [Tue, 12 Feb 2019 18:27:30 +0000 (18:27 +0000)]
Merge "Separate OTA data usage from SYSTEM_UID."

5 years agoMerge "Remove sub-text from the lines of AP list in Wi-Fi Slice"
Fan Zhang [Tue, 12 Feb 2019 17:59:05 +0000 (17:59 +0000)]
Merge "Remove sub-text from the lines of AP list in Wi-Fi Slice"

5 years agoSupport entitlement check in DSDS
markchien [Fri, 11 Jan 2019 08:18:20 +0000 (16:18 +0800)]
Support entitlement check in DSDS

Get resource from preferred SIM's subId.

Bug: 122108346
Bug: 120069528
Test: atest TetherServiceTest
Change-Id: Ia4279a418dfa6cd14942b7f4d2a313156066381b
Merged-in: Ia4279a418dfa6cd14942b7f4d2a313156066381b

5 years agoRemove sub-text from the lines of AP list in Wi-Fi Slice
Jason Chiu [Thu, 24 Jan 2019 08:32:31 +0000 (16:32 +0800)]
Remove sub-text from the lines of AP list in Wi-Fi Slice

- Remove sub-text from the lines of AP list
- Add colors to the AP names to indicate the connection status of each AP

Fixes: 120685004
Bug: 120786304
Test: make RunSettingsRoboTests -j
Change-Id: I7b879248528a293d14d959994bb054275f0d69a1

5 years agoMerge "Support entitlement check in DSDS"
Mark Chien [Tue, 12 Feb 2019 08:05:11 +0000 (08:05 +0000)]
Merge "Support entitlement check in DSDS"

5 years agoRemove the drop shadow in Privacy screen
tmfang [Tue, 12 Feb 2019 05:52:53 +0000 (13:52 +0800)]
Remove the drop shadow in Privacy screen

Remove shadow in action bar unless page is scrolling.

Test: visual, robotest
Change-Id: I199c659a7a7beecc3b715916b6829a5a879c4c74
Fixes: 123903344

5 years agoMerge "Add carrier settings version to network details page"
TreeHugger Robot [Tue, 12 Feb 2019 05:01:37 +0000 (05:01 +0000)]
Merge "Add carrier settings version to network details page"

5 years agoMerge "Increase timeout of contextual card pre-check."
TreeHugger Robot [Tue, 12 Feb 2019 04:38:35 +0000 (04:38 +0000)]
Merge "Increase timeout of contextual card pre-check."

5 years agoMerge "Handle simplified Slice deep link intent pattern."
TreeHugger Robot [Tue, 12 Feb 2019 04:21:34 +0000 (04:21 +0000)]
Merge "Handle simplified Slice deep link intent pattern."

5 years agoMerge "Add nearby device SlicePreference"
TreeHugger Robot [Tue, 12 Feb 2019 04:16:26 +0000 (04:16 +0000)]
Merge "Add nearby device SlicePreference"

5 years ago[automerger skipped] Merge "Schematize Display system properties" am: b139a4c16b...
Kiyoung Kim [Tue, 12 Feb 2019 03:47:09 +0000 (19:47 -0800)]
[automerger skipped] Merge "Schematize Display system properties" am: b139a4c16b am: 4d8f4919e0
am: b941bc46b5 -s ours
am skip reason: change_id I83b40ddfcde32d8d03fae73f5c252013933c466c with SHA1 1a3425ed2a is in history

Change-Id: I880ee2758010f1be44e9f24bbc35596fbccea0d8

5 years agoMerge "Schematize Display system properties" am: b139a4c16b
Kiyoung Kim [Tue, 12 Feb 2019 03:25:50 +0000 (19:25 -0800)]
Merge "Schematize Display system properties" am: b139a4c16b
am: 4d8f4919e0

Change-Id: I35412244d1fa97cb479d060e876bfddac6b523cb

5 years agoMerge "Fix Wi-Fi DPP fragment back stack problems"
TreeHugger Robot [Tue, 12 Feb 2019 03:17:57 +0000 (03:17 +0000)]
Merge "Fix Wi-Fi DPP fragment back stack problems"

5 years agoMerge "Schematize Display system properties"
Kiyoung Kim [Tue, 12 Feb 2019 03:13:51 +0000 (19:13 -0800)]
Merge "Schematize Display system properties"
am: b139a4c16b

Change-Id: I82b157865fb288044c251d6d78ca850b22502db0

5 years agoSchematize ADB system properties
Kiyoung Kim [Thu, 27 Dec 2018 05:31:48 +0000 (14:31 +0900)]
Schematize ADB system properties

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

Bug: 117924132
Test: m -j
Change-Id: Iec37f5f35b1452afdf7b15e9f31c4b4726127065
Merged-In: Iec37f5f35b1452afdf7b15e9f31c4b4726127065

5 years agoMerge "Schematize Display system properties"
Treehugger Robot [Tue, 12 Feb 2019 02:50:08 +0000 (02:50 +0000)]
Merge "Schematize Display system properties"

5 years agoChange the default snoop log level to off.
Ajay Panicker [Tue, 12 Feb 2019 02:09:05 +0000 (18:09 -0800)]
Change the default snoop log level to off.

Bug: 112970672
Test: Flash a userdebug build and see that there are no logs.
Change-Id: I230060ba07bf57baf5cfe1d863a6acf4c9967e80

5 years agoAdd nearby device SlicePreference
jackqdyulei [Fri, 8 Feb 2019 22:09:12 +0000 (14:09 -0800)]
Add nearby device SlicePreference

Change-Id: I9e88602df9ab589c3eea087b1202cbc7615dc810
Fixes: 116327443
Test: RunSettingsRoboTests

5 years agoMerge "Remove intent-filters from SettingsSliceProvider"
TreeHugger Robot [Tue, 12 Feb 2019 00:43:03 +0000 (00:43 +0000)]
Merge "Remove intent-filters from SettingsSliceProvider"

5 years agoUser photo: Remove reference to Photo Gallery
Bookatz [Mon, 11 Feb 2019 18:10:59 +0000 (10:10 -0800)]
User photo: Remove reference to Photo Gallery

"Choose photo from Gallery" references the no-longer extant Gallery, so
modifying that text.

Change-Id: I049c70eeecfd0a86e3f9d30ee00e97268056af01
Fixes: 35935990
Test: Manual confirmation that text changed

5 years agoHandle simplified Slice deep link intent pattern.
Fan Zhang [Mon, 11 Feb 2019 23:51:20 +0000 (15:51 -0800)]
Handle simplified Slice deep link intent pattern.

Old intent:
settings://com.android.settings.slices?intent=android-app%3A%2F%2Fcom.android.settings%23Intent%3Baction%3Dcom.android.settings.action.VIEW_SLICE%3BS.slice%3Dcontent%253A%252F%252Fcom.android.settings.slices%252Faction%252Fscreen_magnification_navbar_preference_screen%3B

New intent:
settings://com.android.settings.slices?slice%3Dcontent%253A%252F%252Fcom.android.settings.slices%252Faction%252Fscreen_magnification_navbar_preference_screen%3B

Change-Id: Ia786812c68b5a2b1858203f62494c0d5f5a4a5ba
Fixes: 110156445
Test: manual

5 years agoMerge "Don't load anything from contextual card db in legacy mode."
TreeHugger Robot [Tue, 12 Feb 2019 00:15:25 +0000 (00:15 +0000)]
Merge "Don't load anything from contextual card db in legacy mode."

5 years agoRemove intent-filters from SettingsSliceProvider
Fan Zhang [Mon, 11 Feb 2019 22:38:13 +0000 (14:38 -0800)]
Remove intent-filters from SettingsSliceProvider

And remove unused methods from SliceDeepLinkSpringBoard.

This is part 1 of b/110156445

Bug: 110156445
Test: atest
Change-Id: Iab36a97332fd847ed911a9e34b505fd4a64522d3

5 years agoMerge "Create special case mobile data slice"
TreeHugger Robot [Mon, 11 Feb 2019 22:53:50 +0000 (22:53 +0000)]
Merge "Create special case mobile data slice"

5 years agoAdd carrier settings version to network details page
Antony Sargent [Mon, 11 Feb 2019 22:18:00 +0000 (14:18 -0800)]
Add carrier settings version to network details page

This adds a preference showing the carrier settings version to the
mobile network details page.

Bug: 123995414
Test: make RunSettingsRoboTests
Change-Id: I7b80ead0eadb7375b4404262337e47f75102125c

5 years agoAdd intent action for BT device detail page
jackqdyulei [Thu, 7 Feb 2019 23:47:52 +0000 (15:47 -0800)]
Add intent action for BT device detail page

Also update detail page to accept cold start:
1. Check whether profile is ready
2. When it is ready, refresh UI

Bug: 123665527
Test: SettingsRoboTests
Change-Id: I39382fd97e9da46fca08cd2e4a3ef15d32703664

5 years agoUpdate spec for CardPreference
jackqdyulei [Mon, 11 Feb 2019 21:42:41 +0000 (13:42 -0800)]
Update spec for CardPreference

Make icon and title align to other preference

Bug: 119618813
Test: Manual
Change-Id: I2b088fcfe0b005cde1d79db01806e1919cb131cc

5 years agoDon't load anything from contextual card db in legacy mode.
Fan Zhang [Mon, 11 Feb 2019 21:17:07 +0000 (13:17 -0800)]
Don't load anything from contextual card db in legacy mode.

Change-Id: I2fa1ee78bb8878c2cf46fd2f59499c9ed8eb0a09
Fixes: 124246284
Test: robotest

5 years agoMerge "Update search for mobile network settings"
Lei Yu [Mon, 11 Feb 2019 18:00:57 +0000 (18:00 +0000)]
Merge "Update search for mobile network settings"

5 years agoFix some problems with the "Mobile network" preference
Antony Sargent [Sat, 9 Feb 2019 00:41:30 +0000 (16:41 -0800)]
Fix some problems with the "Mobile network" preference

This fixes a few issues with the "Mobile network" preference that shows
on the Network & internet page:

-The pref should not be available at all if the device is wifi-only.

-The pref should be disabled in airplane mode.

-If eSIM support is disabled, we need to disable entry points for adding
 a new eSIM subscription (the summary and click handler in single-SIM
 mode with no physical SIM, and the 'add' button in dual-SIM mode).

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

5 years agoFix Wi-Fi DPP fragment back stack problems
Arc Wang [Thu, 31 Jan 2019 03:07:38 +0000 (11:07 +0800)]
Fix Wi-Fi DPP fragment back stack problems

1. When a Wi-Fi network connected and receiving
   intent android.settings.PROCESS_WIFI_EASY_CONNECT_QR_CODE,
   show WifiDppAddDeviceFragment from WifiDppConfiguratorActivity
   instead of WifiNetworkListFragment

2. Only handle intent when savedInstanceState is null

3. To show a fragment
   I. do nothing when a fragment is already visible on screen,
   II. pop back stack if it's in back stack, we can do this because
   current fragment transactions are arranged in an order

Bug: 124194531
Test: atest WifiQrCodeTest
      atest WifiDppConfiguratorActivityTest
      atest WifiDppEnrolleeActivityTest
      atest WifiDppQrCodeGeneratorFragmentTest
      atest WifiDppQrCodeScannerFragmentTest
      atest WifiNetworkListFragmentTest
      atest WifiDppChooseSavedWifiNetworkFragmentTest

Change-Id: I1d44eeb3bdc7bfb2ec2e4d81efaab64b066651ad

5 years agoMerge "Remove hardcode class path for CredentialStorage."
TreeHugger Robot [Sat, 9 Feb 2019 01:47:35 +0000 (01:47 +0000)]
Merge "Remove hardcode class path for CredentialStorage."

5 years agoUpdate search for mobile network settings
jackqdyulei [Wed, 9 Jan 2019 21:15:53 +0000 (13:15 -0800)]
Update search for mobile network settings

This CL make all mobile related preferences support:
1. If subId is manually set, check visibility by subId
2. If not, try find whether there is one active subId meets requirement.
If so, isAvailable() will return true to enable search.

Bug: 77276236
Test: RunSettingsRoboTests
Change-Id: I24e2d2f5e882284ba8e997b844caee7722b6b07d

5 years agoMerge "Add divider line in battery page"
Lei Yu [Sat, 9 Feb 2019 00:20:35 +0000 (00:20 +0000)]
Merge "Add divider line in battery page"

5 years agoRemove hardcode class path for CredentialStorage.
Fan Zhang [Fri, 8 Feb 2019 22:54:05 +0000 (14:54 -0800)]
Remove hardcode class path for CredentialStorage.

It can launch with a intent action directly.

Change-Id: I26a3a63d1790c1fd184b38711c736428f86f3659
Fixes: 124124110
Test: manual

5 years agoMerge changes I9185949e,Ia0f15fd7
TreeHugger Robot [Fri, 8 Feb 2019 22:41:40 +0000 (22:41 +0000)]
Merge changes I9185949e,Ia0f15fd7

* changes:
  Remove advanced button from location settings
  Update strings on date & time setting.

5 years agoMerge "Set summary for SIM entries in multi-SIM header"
TreeHugger Robot [Fri, 8 Feb 2019 22:06:18 +0000 (22:06 +0000)]
Merge "Set summary for SIM entries in multi-SIM header"

5 years agoMerge "Use system attr instead of hardcoding for searchbar radius"
TreeHugger Robot [Fri, 8 Feb 2019 21:32:47 +0000 (21:32 +0000)]
Merge "Use system attr instead of hardcoding for searchbar radius"

5 years agoAdd divider line in battery page
jackqdyulei [Fri, 8 Feb 2019 21:11:04 +0000 (13:11 -0800)]
Add divider line in battery page

Change-Id: Ib5b1d7980cb6c453bb656a36ff6f1bb62bffc803
Fixes: 119618813
Test: Manual

5 years agoCreate special case mobile data slice
Matthew Fritze [Thu, 10 Jan 2019 18:02:49 +0000 (10:02 -0800)]
Create special case mobile data slice

Build the special case mobile data slice for general use,
and for the Internet Connectivity Panel. The Slice controls
the default data subscription, and links to the subscriptions
page.

Bug: 117804089
Fixse: 119411534
Test: robotests & test app.

Change-Id: I31b524a8fe3182a244d940848090e97250632f39