OSDN Git Service

android-x86/packages-apps-Settings.git
7 years agoMerge "Display the correct default for mobile data always on." am: 737d42a0db am...
Lorenzo Colitti [Mon, 6 Mar 2017 04:12:58 +0000 (04:12 +0000)]
Merge "Display the correct default for mobile data always on." am: 737d42a0db am: 58e9855b53
am: db77518a65

Change-Id: I006172e9f119b5586e71d174dd6f1ecf63a2464d

7 years agoMerge "Display the correct default for mobile data always on." am: 737d42a0db
Lorenzo Colitti [Mon, 6 Mar 2017 04:08:55 +0000 (04:08 +0000)]
Merge "Display the correct default for mobile data always on." am: 737d42a0db
am: 58e9855b53

Change-Id: I7f27267da9773d4ffe8f7c476efb4839b1ba496c

7 years agoMerge "Display the correct default for mobile data always on."
Lorenzo Colitti [Mon, 6 Mar 2017 04:04:55 +0000 (04:04 +0000)]
Merge "Display the correct default for mobile data always on."
am: 737d42a0db

Change-Id: I5302cc5cc7d0847e127fcbf8af42fb6eef54c303

7 years agoMerge "Display the correct default for mobile data always on."
Treehugger Robot [Mon, 6 Mar 2017 03:57:50 +0000 (03:57 +0000)]
Merge "Display the correct default for mobile data always on."

7 years agoMerge "Unify the design of add icon in setting" am: bc9731a575 am: 398eca1067
minoru.x.sakuma [Mon, 6 Mar 2017 01:29:19 +0000 (01:29 +0000)]
Merge "Unify the design of add icon in setting" am: bc9731a575 am: 398eca1067
am: 36b2de22cf

Change-Id: I5d139de04c1cfd02f339ab947e0708b8d6c4a31f

7 years agoMerge "Unify the design of add icon in setting" am: bc9731a575
minoru.x.sakuma [Mon, 6 Mar 2017 01:25:46 +0000 (01:25 +0000)]
Merge "Unify the design of add icon in setting" am: bc9731a575
am: 398eca1067

Change-Id: I5bf02f104479aba4e1dc199c07077cff5afdffc2

7 years agoMerge "Unify the design of add icon in setting"
minoru.x.sakuma [Mon, 6 Mar 2017 01:22:16 +0000 (01:22 +0000)]
Merge "Unify the design of add icon in setting"
am: bc9731a575

Change-Id: Ieae295ad277877e52399032908677c15180159d3

7 years agoMerge "Unify the design of add icon in setting"
Treehugger Robot [Mon, 6 Mar 2017 01:17:55 +0000 (01:17 +0000)]
Merge "Unify the design of add icon in setting"

7 years agoMerge "Fix ServiceConnectionLeak in network fragment"
TreeHugger Robot [Sat, 4 Mar 2017 16:25:12 +0000 (16:25 +0000)]
Merge "Fix ServiceConnectionLeak in network fragment"

7 years agoFix ServiceConnectionLeak in network fragment
Fan Zhang [Sat, 4 Mar 2017 01:59:23 +0000 (17:59 -0800)]
Fix ServiceConnectionLeak in network fragment

Change-Id: I43efe9ae31fc2f58361abdb034b0205a3f3e2b71
Fix: 35957226
Test: make RunSettingsRoboTests

7 years agoMerge "Adding "Install Other Apps" in App Info page"
TreeHugger Robot [Sat, 4 Mar 2017 00:39:22 +0000 (00:39 +0000)]
Merge "Adding "Install Other Apps" in App Info page"

7 years agoMerge "Update theme for filter widget."
TreeHugger Robot [Sat, 4 Mar 2017 00:35:06 +0000 (00:35 +0000)]
Merge "Update theme for filter widget."

7 years agoMerge "Fixing a bug in suggestion logging and adding more tests."
TreeHugger Robot [Sat, 4 Mar 2017 00:29:14 +0000 (00:29 +0000)]
Merge "Fixing a bug in suggestion logging and adding more tests."

7 years agoMerge "Remove WirelessSettings and related code not used in new IA."
TreeHugger Robot [Fri, 3 Mar 2017 22:59:22 +0000 (22:59 +0000)]
Merge "Remove WirelessSettings and related code not used in new IA."

7 years agoUpdate theme for filter widget.
Fan Zhang [Fri, 3 Mar 2017 00:53:15 +0000 (16:53 -0800)]
Update theme for filter widget.

Bug: 35933748
Test: visual

Change-Id: I0c09c90360c436e25ca4a40993dde31cb2b4287b

7 years agoMerge "Update references to use PhoneConstantConversion"
Nathan Harold [Fri, 3 Mar 2017 22:51:38 +0000 (22:51 +0000)]
Merge "Update references to use PhoneConstantConversion"

7 years agoAdding "Install Other Apps" in App Info page
Suprabh Shukla [Wed, 1 Mar 2017 01:08:10 +0000 (17:08 -0800)]
Adding "Install Other Apps" in App Info page

Added a preference link to manage external sources in the app info
screen just like other special access permissions.

Test: Manually checked that the link appears on apps once their app op
is set to allow or deny.
Also, added some basic robolectric unit tests:
make -j32 RunSettingsRoboTests

Bug: 35481942
Change-Id: If687778b7a64fb7d278508b78d06272253a98e3e

7 years agoRemove WirelessSettings and related code not used in new IA.
Doris Ling [Fri, 3 Mar 2017 19:28:05 +0000 (11:28 -0800)]
Remove WirelessSettings and related code not used in new IA.

- remove WirelessSettingsActivity and update other references to it.
- move the intent filter android.settings.WIRELESS_SETTINGS and
  android.settings.AIRPLANE_MODE_SETTINGS into Network dashboard
- move intent filter android.settings.NFC_SETTINGS into Connected
  devices dashboard.

Change-Id: I84f75ac45d0712eac9c40aa6c8f052bc060ed03a
Fix: 32342061
Test: make RunSettingsRoboTests

7 years agoMerge "Remove a few old IA related manifest entries."
TreeHugger Robot [Fri, 3 Mar 2017 21:13:54 +0000 (21:13 +0000)]
Merge "Remove a few old IA related manifest entries."

7 years agoMerge "Notification channel group res id labels."
TreeHugger Robot [Fri, 3 Mar 2017 19:45:42 +0000 (19:45 +0000)]
Merge "Notification channel group res id labels."

7 years agoFixing a bug in suggestion logging and adding more tests.
Soroosh Mariooryad [Tue, 28 Feb 2017 20:55:05 +0000 (12:55 -0800)]
Fixing a bug in suggestion logging and adding more tests.

Test: RunSettingsRoboTests
Fixes: b/35802845

Change-Id: I216b3ff344ccdffd038d924649109483e80f5437

7 years agoUpdate references to use PhoneConstantConversion
Nathan Harold [Tue, 20 Dec 2016 01:50:34 +0000 (17:50 -0800)]
Update references to use PhoneConstantConversion

Bug: 33414487
Change-Id: I391671e38406235da48bddf61a70699974367e33

7 years agoMerge "move PermissionsSummaryHelper into SettingsLib to share with car settings...
Roger Xue [Fri, 3 Mar 2017 17:06:55 +0000 (17:06 +0000)]
Merge "move PermissionsSummaryHelper into SettingsLib to share with car settings Bug: 34679894 Test: make RunSettingsRoboTests -j128 Change-Id: I53a3f3d8d2a05b33d2cff52a06236dd7d31dbe63"

7 years agoDisplay the correct default for mobile data always on.
Lorenzo Colitti [Fri, 3 Mar 2017 07:17:15 +0000 (16:17 +0900)]
Display the correct default for mobile data always on.

Mobile data always on was enabled by changing the default in
ConnectivityService to 1. However, the default value in the
developer options setting was left at 0. This means that by
default (i.e., when the setting is empty), mobile data always on
is enabled but appears in developer options as disabled.

Fix this by changing the default in developer options. This is
simpler than the other options (adding database upgrade code to
settings, making the default be controlled by config.xml and
ensuring that when a config changed broadcast is received the
value is re-rease, hardcoding a default value as an @hide
constant in Settings, etc.)

Bug: 23113288
Test: setting is off after "adb shell settings delete global mobile_data_always_on"
Change-Id: I27e2c0af7a03e510e640dbcfa281449d00385154

7 years agoUnify the design of add icon in setting
minoru.x.sakuma [Mon, 28 Oct 2013 10:35:11 +0000 (19:35 +0900)]
Unify the design of add icon in setting

Add icon "+" displayed in APN setting differs from ones in other
settings like VPN settings, SIP accounts etc. Change the icon to
align with others.

Bug: 35936472
Test: Manually check icon display with fix
Change-Id: I99a57fbeb55bb04f911d28e85752ec04edab6f0e

7 years agoMerge "Set config for enabling support UI in Settings"
TreeHugger Robot [Fri, 3 Mar 2017 04:21:37 +0000 (04:21 +0000)]
Merge "Set config for enabling support UI in Settings"

7 years agoMerge "Show uninstall for all users option menu in app info."
TreeHugger Robot [Fri, 3 Mar 2017 04:19:06 +0000 (04:19 +0000)]
Merge "Show uninstall for all users option menu in app info."

7 years agoMerge "Show settings app icon and name in recents"
TreeHugger Robot [Fri, 3 Mar 2017 03:59:28 +0000 (03:59 +0000)]
Merge "Show settings app icon and name in recents"

7 years agoMerge "Share preference controllers between fragment/searchIndexer"
TreeHugger Robot [Fri, 3 Mar 2017 03:09:55 +0000 (03:09 +0000)]
Merge "Share preference controllers between fragment/searchIndexer"

7 years agoRemove a few old IA related manifest entries.
Fan Zhang [Thu, 2 Mar 2017 21:51:14 +0000 (13:51 -0800)]
Remove a few old IA related manifest entries.

Bug: 35764802
Test: make RunSettingsRoboTests (no regression)
Change-Id: Icda86964032bb56363c24821e480ac91d614ee54

7 years agoShare preference controllers between fragment/searchIndexer
Fan Zhang [Thu, 2 Mar 2017 23:17:48 +0000 (15:17 -0800)]
Share preference controllers between fragment/searchIndexer

Test: make RunSettingsRoboTests
Change-Id: I9042bac87b7c063b89c143d3089ed4d94f77b994
Fix: 35812240

7 years agoFix a NPE when clicking encryption interstitial header
Fan Zhang [Thu, 2 Mar 2017 22:27:07 +0000 (14:27 -0800)]
Fix a NPE when clicking encryption interstitial header

Pref tree handler cannot assume preference has non-null key.

Change-Id: I790e75f3b4c888e2a48b297bea89cda0b8dbaabd
Fix: 35855587
Test: runtest --path tests/app/src/com/android/settings/EncryptionInterstitialTest.java

7 years agoSet config for enabling support UI in Settings
Fan Zhang [Thu, 2 Mar 2017 20:07:38 +0000 (12:07 -0800)]
Set config for enabling support UI in Settings

Change-Id: I85b7c7a7e465084d534757e083667b67928b8e43
Fix: 35870668
Test: make RunSettingsRoboTests

7 years agomove PermissionsSummaryHelper into SettingsLib to share with car settings
roger xue [Wed, 1 Mar 2017 00:07:49 +0000 (16:07 -0800)]
move PermissionsSummaryHelper into SettingsLib to share with car settings
Bug: 34679894
Test: make RunSettingsRoboTests -j128
Change-Id: I53a3f3d8d2a05b33d2cff52a06236dd7d31dbe63

7 years agoShow uninstall for all users option menu in app info.
Doris Ling [Thu, 2 Mar 2017 19:39:51 +0000 (11:39 -0800)]
Show uninstall for all users option menu in app info.

- when there is only 1 user installed the app, also check if it is
installed by the current user or by other user to determine whether or
not to show the uninstall for all button.

Change-Id: I1eecb13a7748c92159cb0626e2b6fe1ed6987d15
Fix: 34760157
Test: make RunSettingsRoboTests

7 years agoMerge "Add metric enums for menu in battery settings page."
Lei Yu [Thu, 2 Mar 2017 21:05:39 +0000 (21:05 +0000)]
Merge "Add metric enums for menu in battery settings page."

7 years agoMerge "New design for instant apps in app details header"
Antony Sargent [Thu, 2 Mar 2017 21:03:35 +0000 (21:03 +0000)]
Merge "New design for instant apps in app details header"

7 years agoNotification channel group res id labels.
Julia Reynolds [Thu, 2 Mar 2017 21:00:09 +0000 (16:00 -0500)]
Notification channel group res id labels.

Test: manual
Change-Id: Icf7208dc952a7306f04d53f4d681ec794563f2fd

7 years agoMerge "Align dropdown preference's dropdown with preference text"
TreeHugger Robot [Thu, 2 Mar 2017 20:03:01 +0000 (20:03 +0000)]
Merge "Align dropdown preference's dropdown with preference text"

7 years agoShow settings app icon and name in recents
jackqdyulei [Thu, 2 Mar 2017 01:37:23 +0000 (17:37 -0800)]
Show settings app icon and name in recents

If user opens a settings activity by intent, it will show icon and
label get from activity. However, we should show settings app icon
and name constantly.

Bug: 34645742
Test: RunSettingsRoboTest
Change-Id: Ic2f0fef32529ba3f425a0130d25ead47fa0bb97d

7 years agoAdd metric enums for menu in battery settings page.
jackqdyulei [Wed, 1 Mar 2017 22:52:48 +0000 (14:52 -0800)]
Add metric enums for menu in battery settings page.

Bug: 35063415
Test: RunSettingsRoboTests
Change-Id: I23f58a73f7e17da56796687209610165dd688aa6

7 years agoMerge "Ensure DashboardFragment shares pref controlls with search"
TreeHugger Robot [Thu, 2 Mar 2017 18:56:08 +0000 (18:56 +0000)]
Merge "Ensure DashboardFragment shares pref controlls with search"

7 years agoMerge "Show localized channel names"
Julia Reynolds [Thu, 2 Mar 2017 17:50:05 +0000 (17:50 +0000)]
Merge "Show localized channel names"

7 years agoMerge "wifi: use Passpoint API when forgetting a Passpoint network" am: ff960ed859...
Peter Qiu [Thu, 2 Mar 2017 17:01:27 +0000 (17:01 +0000)]
Merge "wifi: use Passpoint API when forgetting a Passpoint network" am: ff960ed859 am: c5848718ee
am: d49c2ff80f

Change-Id: I2ffbf8cccd698cc8bd5145a7896243ea35107518

7 years agoMerge "wifi: use Passpoint API when forgetting a Passpoint network" am: ff960ed859
Peter Qiu [Thu, 2 Mar 2017 16:59:23 +0000 (16:59 +0000)]
Merge "wifi: use Passpoint API when forgetting a Passpoint network" am: ff960ed859
am: c5848718ee

Change-Id: I05bf08cbd3231c5c6579c3a1949c24e0cccfd446

7 years agoMerge "wifi: use Passpoint API when forgetting a Passpoint network"
Peter Qiu [Thu, 2 Mar 2017 16:57:25 +0000 (16:57 +0000)]
Merge "wifi: use Passpoint API when forgetting a Passpoint network"
am: ff960ed859

Change-Id: I0e085c5c31656c943d7674770ea9f28d963f2726

7 years agoMerge "wifi: use Passpoint API when forgetting a Passpoint network"
Treehugger Robot [Thu, 2 Mar 2017 16:52:42 +0000 (16:52 +0000)]
Merge "wifi: use Passpoint API when forgetting a Passpoint network"

7 years agoShow localized channel names
Julia Reynolds [Wed, 1 Mar 2017 21:59:10 +0000 (16:59 -0500)]
Show localized channel names

Test: manual
Change-Id: I85d60e564aeff8074cdb8138fe7ac1c078be986a

7 years agoMerge "Change MaskableBitmap to AdaptiveBitmap Test: $ make dist -j30 b/35399620"
TreeHugger Robot [Thu, 2 Mar 2017 15:15:39 +0000 (15:15 +0000)]
Merge "Change MaskableBitmap to AdaptiveBitmap Test: $ make dist -j30 b/35399620"

7 years agoAlign dropdown preference's dropdown with preference text
Fan Zhang [Thu, 2 Mar 2017 01:41:51 +0000 (17:41 -0800)]
Align dropdown preference's dropdown with preference text

Change-Id: I9446758464fd9220a2670df4203406ba49e24901
Fix: 35807231
Test: RunSettingsRoboTests

7 years agoMerge "Remove DocumentsContract.ACTION_BROWSE."
Garfield Tan [Thu, 2 Mar 2017 00:35:54 +0000 (00:35 +0000)]
Merge "Remove DocumentsContract.ACTION_BROWSE."

7 years agoMerge "Display cast/print/storage settings to restricted users."
TreeHugger Robot [Thu, 2 Mar 2017 00:25:29 +0000 (00:25 +0000)]
Merge "Display cast/print/storage settings to restricted users."

7 years agoMerge "Fix crash when switching to fragment with null name."
TreeHugger Robot [Wed, 1 Mar 2017 23:44:57 +0000 (23:44 +0000)]
Merge "Fix crash when switching to fragment with null name."

7 years agoChange MaskableBitmap to AdaptiveBitmap
Hyunyoung Song [Wed, 1 Mar 2017 23:21:23 +0000 (15:21 -0800)]
Change MaskableBitmap to AdaptiveBitmap
Test: $ make dist -j30
b/35399620

Change-Id: I2ee830a10ba5a5e51f1c885bca3b4c0d298c8501

7 years agoDisplay cast/print/storage settings to restricted users.
Fan Zhang [Wed, 1 Mar 2017 22:38:52 +0000 (14:38 -0800)]
Display cast/print/storage settings to restricted users.

Change-Id: Id974afe9062a6c04ae61502284e5219f637d7295
Fix: 35862198
Test: make RunSettingsRoboTests

7 years agoMerge "Hide bluetooth and media in battery settings page."
Lei Yu [Wed, 1 Mar 2017 22:27:33 +0000 (22:27 +0000)]
Merge "Hide bluetooth and media in battery settings page."

7 years agoMerge "Let fragment and indexProvider share prefControllers"
TreeHugger Robot [Wed, 1 Mar 2017 22:12:35 +0000 (22:12 +0000)]
Merge "Let fragment and indexProvider share prefControllers"

7 years agoFix crash when switching to fragment with null name.
Doris Ling [Fri, 24 Feb 2017 01:50:03 +0000 (17:50 -0800)]
Fix crash when switching to fragment with null name.

Check for null fragment name before trying to launch the fragment.

Change-Id: Ibee6f7a1f27f7bc7d556a600c7e43fd30c2f1d6c
Fix: 35203478
Test: make RunSettingsRoboTests

7 years agoEnsure DashboardFragment shares pref controlls with search
Fan Zhang [Wed, 1 Mar 2017 19:48:27 +0000 (11:48 -0800)]
Ensure DashboardFragment shares pref controlls with search

Test: make RunSettingsRoboTests
Change-Id: I48be270d9706539925d00874bae29d46406ac491
Fix: 35812240

7 years agoHide bluetooth and media in battery settings page.
jackqdyulei [Tue, 28 Feb 2017 21:51:24 +0000 (13:51 -0800)]
Hide bluetooth and media in battery settings page.

Media is a bundled process which contains the following packages:

com.android.providers.downloads
com.android.mtp
com.android.providers.media
com.android.providers.downloads.ui

This cl moves them to advanced battery page.
1. Bluetooth lives in category bluetooth
2. Media lives in category system

Bug: 35811926
Test: RunSettingsRoboTests
Change-Id: Ie229fa15e2e62b67d571988f7f4e7788a665bcdd

7 years agoLet fragment and indexProvider share prefControllers
Fan Zhang [Tue, 28 Feb 2017 18:52:46 +0000 (10:52 -0800)]
Let fragment and indexProvider share prefControllers

Bug: 35812240
Test: make RunSettingsRoboTests
Change-Id: Ifd96f935836a52e0a56f170f3cdf9b9ddf7c499a

7 years agoMerge "Remove Battery Dashboad alias."
TreeHugger Robot [Wed, 1 Mar 2017 20:55:53 +0000 (20:55 +0000)]
Merge "Remove Battery Dashboad alias."

7 years agoMerge "Use storage fast track to query packages in app info."
Daniel Nishi [Wed, 1 Mar 2017 20:54:55 +0000 (20:54 +0000)]
Merge "Use storage fast track to query packages in app info."

7 years agoMerge "Use the new package stats query."
Daniel Nishi [Wed, 1 Mar 2017 20:54:55 +0000 (20:54 +0000)]
Merge "Use the new package stats query."

7 years agoMerge "Remove old code relating to SystemSettings not used in new IA."
TreeHugger Robot [Wed, 1 Mar 2017 20:44:48 +0000 (20:44 +0000)]
Merge "Remove old code relating to SystemSettings not used in new IA."

7 years agoRemove DocumentsContract.ACTION_BROWSE.
Garfield Tan [Wed, 1 Mar 2017 19:04:35 +0000 (11:04 -0800)]
Remove DocumentsContract.ACTION_BROWSE.

Test: Code builds and tests pass.
Bug: 35760993
Change-Id: I7e540b71a7be60d250ffec899eb5c08941dc24a8

7 years agoMerge "Change default long-press time to 400ms" am: b96cbedfb2 am: 957b15c9ae
Li Bai [Wed, 1 Mar 2017 19:33:31 +0000 (19:33 +0000)]
Merge "Change default long-press time to 400ms" am: b96cbedfb2 am: 957b15c9ae
am: b09610a3dc

Change-Id: If697d7d9fe6305379d7186425e57b17572e9b30e

7 years agoMerge "Show search results when query string contains trailing space" am: 8eb0c24e5a...
long.x.qiao [Wed, 1 Mar 2017 19:31:29 +0000 (19:31 +0000)]
Merge "Show search results when query string contains trailing space" am: 8eb0c24e5a am: 19000b747c
am: e0e00077bc

Change-Id: I8f125b899dc80928ab884376f0bcf26908845d53

7 years agoMerge "Change default long-press time to 400ms" am: b96cbedfb2
Li Bai [Wed, 1 Mar 2017 19:31:06 +0000 (19:31 +0000)]
Merge "Change default long-press time to 400ms" am: b96cbedfb2
am: 957b15c9ae

Change-Id: I7a0b5216e5551223b626b0ab1c7addf4cec2463c

7 years agoMerge "Show search results when query string contains trailing space" am: 8eb0c24e5a
long.x.qiao [Wed, 1 Mar 2017 19:28:43 +0000 (19:28 +0000)]
Merge "Show search results when query string contains trailing space" am: 8eb0c24e5a
am: 19000b747c

Change-Id: I250cc44ea08498ef751c3f9cf370b09b7cd0e39f

7 years agoMerge "Change default long-press time to 400ms"
Li Bai [Wed, 1 Mar 2017 19:28:38 +0000 (19:28 +0000)]
Merge "Change default long-press time to 400ms"
am: b96cbedfb2

Change-Id: I953076ce2fe44fb96f2cfbd60e771694c225fc99

7 years agoMerge "Change default long-press time to 400ms"
Treehugger Robot [Wed, 1 Mar 2017 19:26:15 +0000 (19:26 +0000)]
Merge "Change default long-press time to 400ms"

7 years agoMerge "Show search results when query string contains trailing space"
long.x.qiao [Wed, 1 Mar 2017 19:25:42 +0000 (19:25 +0000)]
Merge "Show search results when query string contains trailing space"
am: 8eb0c24e5a

Change-Id: Ic0382e8b3ce65b52ae2d77987ff4a79945fddb4f

7 years agoMerge "Show search results when query string contains trailing space"
Treehugger Robot [Wed, 1 Mar 2017 19:20:25 +0000 (19:20 +0000)]
Merge "Show search results when query string contains trailing space"

7 years agoRemove Battery Dashboad alias.
Doris Ling [Wed, 1 Mar 2017 18:47:21 +0000 (10:47 -0800)]
Remove Battery Dashboad alias.

- merge Battery Dashboard metadata into PowerUsageSummary and remove
  Battery Dashboard alias.

Bug: 35764802
Test: make RunSettingsRoboTests
Change-Id: I7ed2e297f6b897e65b1bce2c9a5f426b51507e9c

7 years agowifi: use Passpoint API when forgetting a Passpoint network
Peter Qiu [Wed, 1 Mar 2017 17:07:34 +0000 (09:07 -0800)]
wifi: use Passpoint API when forgetting a Passpoint network

Use WifiManager#removePasspointConfiguration when forgetting a
Passpoint network to remove the configuration.

This maintains the legacy behavior, where forgetting a Passpoint
network/AP will remove its provider's profile.

Bug: 34207710
Test: manual test
Change-Id: I8b7f6d9fb20fa9f0f0d90566f76c2a39308ce420

7 years agoShow search results when query string contains trailing space
long.x.qiao [Tue, 29 Nov 2016 05:50:51 +0000 (13:50 +0800)]
Show search results when query string contains trailing space

The query expression used to search for a term prefix is the prefix
itself with a '*' character appended to it. However, if query string
contains trailing space, the query expresssion (e.g. "screen *") doesn't
work. So to fix this issue, the unnecessary trailing space should be
removed.

Bug: 35231587
Test: manual - go to search in Settings and enter "screen "

Change-Id: Ifa5d96f5d38ad5454272f140da440b8ff55d5614

7 years agoUse storage fast track to query packages in app info.
Daniel Nishi [Fri, 24 Feb 2017 21:59:49 +0000 (13:59 -0800)]
Use storage fast track to query packages in app info.

App info used to use the old ApplicationsState path. This
removes the size query and replaces it with an AsyncTask to
load the sizes.

Fixes: 35805032
Test: Robotest
Change-Id: Ica1c88da2b407c3cbd4d7f970c7c44e4064393b3

7 years agoRemove old code relating to SystemSettings not used in new IA.
Doris Ling [Wed, 1 Mar 2017 01:32:36 +0000 (17:32 -0800)]
Remove old code relating to SystemSettings not used in new IA.

- remove activity alias: DevelopmentSettingsDashboardAlias,
DateTimeDashboardAlias, AboutDeviceDashboardAlias,
BackupResetDashboardAlias, EnterprisePrivacyDashboardAlias, and
AccessibilityDashboardAlias and updated the corresponding target
activities with the alias metadata.

- remove InputMethodAndLanguageSettingsActivity and
GestureSettingsActivity and the associated xml.

Bug: 35764802
Test: make RunSettingsRoboTests
Change-Id: I7d4922f8dfaac40e8ad077a68008185cd9fe3304

7 years agoMerge "Fix capitalization on Photos & videos."
Daniel Nishi [Wed, 1 Mar 2017 00:52:33 +0000 (00:52 +0000)]
Merge "Fix capitalization on Photos & videos."

7 years agoMerge "Add batterysipper type check in PowerUsageFeatureProvider"
Lei Yu [Wed, 1 Mar 2017 00:04:12 +0000 (00:04 +0000)]
Merge "Add batterysipper type check in PowerUsageFeatureProvider"

7 years agoMerge "Remove old code from SoundSettings not used in new IA."
Doris Ling [Wed, 1 Mar 2017 00:00:39 +0000 (00:00 +0000)]
Merge "Remove old code from SoundSettings not used in new IA."

7 years agoMerge "Remove drawer from settings"
TreeHugger Robot [Tue, 28 Feb 2017 23:38:42 +0000 (23:38 +0000)]
Merge "Remove drawer from settings"

7 years agoMerge "Allow switch preferences to span lines."
TreeHugger Robot [Tue, 28 Feb 2017 23:32:13 +0000 (23:32 +0000)]
Merge "Allow switch preferences to span lines."

7 years agoNew design for instant apps in app details header
Antony Sargent [Tue, 28 Feb 2017 18:57:45 +0000 (10:57 -0800)]
New design for instant apps in app details header

Bug: 35098444
Test: make RunSettingsRoboTests

In the previous design for instant apps, some metadata about the app
such as developer title, maturity rating, etc. was going to be shown
in the app header. In the latest design, we instead are just showing
a little label that says "Instant app".

The two CL's for this topic work together to change this:

frameworks/base : adds code to work around the problem that
robolectric doesn't know about the new isInstantApp method of the
ApplicationInfo class, so we need to avoid calling it during tests.

pacakges/apps/Settings: removes the code that previously displayed
the instant app metadata, and instead just insert the "Instant app"
label.

Change-Id: I2cbc70bf4827c401e862c58ea4ca7f8f9ba1cf58

7 years agoFix capitalization on Photos & videos.
Daniel Nishi [Tue, 28 Feb 2017 22:26:11 +0000 (14:26 -0800)]
Fix capitalization on Photos & videos.

Bug: 35712292
Test: Manual
Change-Id: Iad4c10527a44f62fcf6a634af61149df5b65c56a

7 years agoMerge "Remove ParcelableString references"
TreeHugger Robot [Tue, 28 Feb 2017 22:09:02 +0000 (22:09 +0000)]
Merge "Remove ParcelableString references"

7 years agoRemove old code from SoundSettings not used in new IA.
Doris Ling [Tue, 28 Feb 2017 21:08:31 +0000 (13:08 -0800)]
Remove old code from SoundSettings not used in new IA.

- remove the old sound settings xml
- merge Sound Dashboard metadata into SiybdSettingsActivity instead
and remove Sound Dashboard.
- remove OtherSoundSettings

Bug: 35764802
Test: make RunSettingsRoboTests
Change-Id: I25bb94b375cfe0277b3c961e4bee6fec9a14fb98

7 years agoMerge "Remove old code from DisplaySettings not used in new IA."
TreeHugger Robot [Tue, 28 Feb 2017 21:33:31 +0000 (21:33 +0000)]
Merge "Remove old code from DisplaySettings not used in new IA."

7 years agoAllow switch preferences to span lines.
Julia Reynolds [Tue, 28 Feb 2017 21:30:48 +0000 (16:30 -0500)]
Allow switch preferences to span lines.

Test: manual
Change-Id: Ifcc801873ed143c4d9ceb6fb928c276808a95f81

7 years agoUse the new package stats query.
Daniel Nishi [Fri, 24 Feb 2017 18:30:24 +0000 (10:30 -0800)]
Use the new package stats query.

This allows us to remove the logic w.r.t. uid merging.

Bug: 35754646
Test: StorageAsyncLoaderTest
Change-Id: I93aff1d55e0e761269c135f0e821ed2067eeda06

7 years agoMerge "Add a content description to the app info button."
TreeHugger Robot [Tue, 28 Feb 2017 21:12:40 +0000 (21:12 +0000)]
Merge "Add a content description to the app info button."

7 years agoRemove old code from DisplaySettings not used in new IA.
Doris Ling [Tue, 28 Feb 2017 19:52:55 +0000 (11:52 -0800)]
Remove old code from DisplaySettings not used in new IA.

- removed the old display settings xml
- merge DisplayDashboard metadata into DisplaySettingsActivity instead
and remove DisplayDashboard.

Bug: 35764802
Test: make RunSettingsRoboTests
Change-Id: I9280c9b5c586acd9d97602b0fb12025fafca8af5

7 years agoAdd a content description to the app info button.
Daniel Nishi [Tue, 28 Feb 2017 19:04:05 +0000 (11:04 -0800)]
Add a content description to the app info button.

This resolves an issue where Talkback would call the
app info button "unlabelled."

Change-Id: I59d8639584c48d8eeb7640bdac3d18bc7667009f
Fixes: 35338852
Test: Settings Robotest

7 years agoMerge "Use "Music & audio" as the title for the music view."
Daniel Nishi [Tue, 28 Feb 2017 18:01:37 +0000 (18:01 +0000)]
Merge "Use "Music & audio" as the title for the music view."

7 years agoMerge "Increase character limit for filter_instant_apps string in Settings"
Antony Sargent [Tue, 28 Feb 2017 17:52:30 +0000 (17:52 +0000)]
Merge "Increase character limit for filter_instant_apps string in Settings"

7 years agoMerge "Query the security feature provider on separate threads."
William Luh [Tue, 28 Feb 2017 17:20:31 +0000 (17:20 +0000)]
Merge "Query the security feature provider on separate threads."

7 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Tue, 28 Feb 2017 08:01:01 +0000 (08:01 +0000)]
Merge "Import translations. DO NOT MERGE"

7 years agoAdd batterysipper type check in PowerUsageFeatureProvider
jackqdyulei [Fri, 24 Feb 2017 01:31:00 +0000 (17:31 -0800)]
Add batterysipper type check in PowerUsageFeatureProvider

This cl adds isTypeSystem to PowerUsageFeatureProvider and
changes isTypeService. After this cl, the following items will
be moved to advanced battery page:
1. Calendar Storage(Move to System)
2. MediaServer(Move to System)

Create this check in FeatureProvider to make sure this check
is flexible in different cases. Also refactor the PowerUsageSummary
to use same test fragment

Bug: 35629871
Bug: 35628690
Bug: 35317876
Test: RunSettingsRoboTest
Change-Id: I8c083cb2557a7e900aea01e682c13a000bacb7a9

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 28 Feb 2017 02:31:19 +0000 (18:31 -0800)]
Import translations. DO NOT MERGE

Change-Id: I66b665fc65a0a0bb316196f621b96882ea038f2b
Auto-generated-cl: translation import