Commit Graph

33929 Commits

Author SHA1 Message Date
Treehugger Robot
b96cbedfb2 Merge "Change default long-press time to 400ms" 2017-03-01 19:26:16 +00:00
long.x.qiao
19000b747c Merge "Show search results when query string contains trailing space"
am: 8eb0c24e5a

Change-Id: Ic0382e8b3ce65b52ae2d77987ff4a79945fddb4f
2017-03-01 19:25:42 +00:00
Treehugger Robot
8eb0c24e5a Merge "Show search results when query string contains trailing space" 2017-03-01 19:20:26 +00:00
Doris Ling
4ffca2a8e5 Remove Battery Dashboad alias.
- merge Battery Dashboard metadata into PowerUsageSummary and remove
  Battery Dashboard alias.

Bug: 35764802
Test: make RunSettingsRoboTests
Change-Id: I7ed2e297f6b897e65b1bce2c9a5f426b51507e9c
2017-03-01 10:49:10 -08:00
Peter Qiu
4ec020a424 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
2017-03-01 10:13:07 -08:00
long.x.qiao
9973b01489 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
2017-03-01 21:00:57 +09:00
Daniel Nishi
3344782bac 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
2017-02-28 18:36:34 -08:00
Doris Ling
d299b03f28 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
2017-02-28 17:46:24 -08:00
Daniel Nishi
3ee0f4f5d0 Merge "Fix capitalization on Photos & videos." 2017-03-01 00:52:34 +00:00
Adrian Roos
73c52f291d SecuritySubSettings: Show trust agent label on lock timeout setting
Fixes: 35475555
Test: Observe description of 'Automatically lock' and 'Power button instantly locks' options, should mention trust agent when one is enabled.
Change-Id: I7967e44d5155c6620dc44cc4d284a8470166d687
2017-02-28 16:16:42 -08:00
Lei Yu
d030d7b58f Merge "Add batterysipper type check in PowerUsageFeatureProvider" 2017-03-01 00:04:12 +00:00
Doris Ling
f5f6635c77 Merge "Remove old code from SoundSettings not used in new IA." 2017-03-01 00:00:40 +00:00
TreeHugger Robot
a0cf877ce0 Merge "Remove drawer from settings" 2017-02-28 23:38:46 +00:00
TreeHugger Robot
80513838de Merge "Allow switch preferences to span lines." 2017-02-28 23:32:13 +00:00
Antony Sargent
d06aaa8fd0 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
2017-02-28 14:30:05 -08:00
Daniel Nishi
1b2886720b Fix capitalization on Photos & videos.
Bug: 35712292
Test: Manual
Change-Id: Iad4c10527a44f62fcf6a634af61149df5b65c56a
2017-02-28 14:26:11 -08:00
TreeHugger Robot
1f1be36aee Merge "Remove ParcelableString references" 2017-02-28 22:09:06 +00:00
Doris Ling
4731167500 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
2017-02-28 14:02:54 -08:00
TreeHugger Robot
b567ff46c3 Merge "Remove old code from DisplaySettings not used in new IA." 2017-02-28 21:33:32 +00:00
Julia Reynolds
762a733afa Allow switch preferences to span lines.
Test: manual
Change-Id: Ifcc801873ed143c4d9ceb6fb928c276808a95f81
2017-02-28 16:30:48 -05:00
Daniel Nishi
73a1c2afb3 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
2017-02-28 13:30:13 -08:00
TreeHugger Robot
88d9977b88 Merge "Add a content description to the app info button." 2017-02-28 21:12:40 +00:00
Doris Ling
c626f00b01 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
2017-02-28 11:52:55 -08:00
Daniel Nishi
93e08ebf80 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
2017-02-28 11:04:05 -08:00
Daniel Nishi
4bc25cc224 Merge "Use "Music & audio" as the title for the music view." 2017-02-28 18:01:38 +00:00
Antony Sargent
a24d7d4ccd Merge "Increase character limit for filter_instant_apps string in Settings" 2017-02-28 17:52:30 +00:00
William Luh
c8c6c4b1c7 Merge "Query the security feature provider on separate threads." 2017-02-28 17:20:32 +00:00
TreeHugger Robot
92033fdb6f Merge "Import translations. DO NOT MERGE" 2017-02-28 08:01:02 +00:00
jackqdyulei
238c1c000b 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
2017-02-27 19:42:22 -08:00
Bill Yi
216107c857 Import translations. DO NOT MERGE
Change-Id: I66b665fc65a0a0bb316196f621b96882ea038f2b
Auto-generated-cl: translation import
2017-02-27 18:31:19 -08:00
TreeHugger Robot
a4c1a27672 Merge "Fix empty summary when no theme is set." 2017-02-28 02:12:23 +00:00
Fan Zhang
78ab9f98de Remove drawer from settings
Change-Id: Ib11376206cf8366c86c427104c47740c3ca8b0d0
Fix: 35809663
Test: make RunSettingsRoboTests
2017-02-27 17:45:05 -08:00
Daniel Nishi
b6059a9e98 Use "Music & audio" as the title for the music view.
Change-Id: I33bc5ccf55ee09842368b2fd4a83b9fd492eded0
Fixes: 35713002
Test: Manual
2017-02-28 01:36:22 +00:00
Doris Ling
f831c59e6f Fix empty summary when no theme is set.
When current theme is empty or null, set the summary to Default.

Change-Id: I1ede31952a09956a805e6ef09c0967ecdfa5051a
Fix: 34975969
Test: make RunSettingsRoboTests
2017-02-27 16:29:59 -08:00
Antony Sargent
5851f7a58c Increase character limit for filter_instant_apps string in Settings
Bug: 35743917
Test: not applicable

Apparently the existing character limit of 30 was too small for some
language translations, so this CL increases it to 40.

Change-Id: Iba5c9867dfd1dbfeca5280219aa3cad1e4f7d981
2017-02-27 15:35:53 -08:00
Fan Zhang
11df895bd1 Add multi sim setting page into network category.
Change-Id: I604a80f83fa715dc69ed1cbced1bbf538b7c20ee
Fix: 35623660
Test: make RunSettingsRoboTests
2017-02-27 15:34:55 -08:00
TreeHugger Robot
bf96583086 Merge "Add logging when launch fragment name is null." 2017-02-27 22:53:03 +00:00
TreeHugger Robot
eb876ea23a Merge "Use framework support to customize dividers between prefs." 2017-02-27 22:42:11 +00:00
Youhan Wang
bee2554f13 Merge "Add TelephonyMonitor debug switch in Developer Options." 2017-02-27 21:14:54 +00:00
Doris Ling
15ae329f99 Add logging when launch fragment name is null.
Change-Id: I118c22a46eb794b21f9808978a68afd86b596e4e
Fix: 35203478
Test: Manual
2017-02-27 13:09:49 -08:00
Fan Zhang
bfb006aa32 Use framework support to customize dividers between prefs.
Bug: 33579296
Test: make RunSettingsRoboTests
Change-Id: I1bb3b82b88dc727cda05b00058e6f40564f0e5db
2017-02-27 12:47:44 -08:00
TreeHugger Robot
427b99cbdc Merge "Moving load of suggestions from onViewCreated to onCategoriesChanged." 2017-02-27 20:23:32 +00:00
TreeHugger Robot
1a5af84352 Merge "Experimental change to use colorful icons in Settings home" 2017-02-27 19:10:29 +00:00
Meng Wang
4e305cf9c7 Merge "WiFiCallingSettings: don't start carrier app in onResume" am: 05c88316ec am: e21cbcb6b4
am: 556e3bb3e8

Change-Id: I1a189c49f1ca8c0a8c12f1c834d90f61d25fc470
2017-02-27 18:34:34 +00:00
Meng Wang
556e3bb3e8 Merge "WiFiCallingSettings: don't start carrier app in onResume" am: 05c88316ec
am: e21cbcb6b4

Change-Id: If09bb76b63b0e71d3fa9cf6a42c2436e52093d6a
2017-02-27 18:32:30 +00:00
Soroosh Mariooryad
9ca41dd89a Moving load of suggestions from onViewCreated to onCategoriesChanged.
- This is required when a suggestion is completed and it needs to be
removed from the list immediately.

Test: RunSettingsRoboTests
Fixes: b/35657186

Change-Id: I731bd1d4ef4a23a74cb4022513d0824ff5f74b2a
2017-02-27 10:30:55 -08:00
Meng Wang
e21cbcb6b4 Merge "WiFiCallingSettings: don't start carrier app in onResume"
am: 05c88316ec

Change-Id: I1e212c2486e896ad9945d7881f01895fedb27615
2017-02-27 18:29:48 +00:00
Treehugger Robot
05c88316ec Merge "WiFiCallingSettings: don't start carrier app in onResume" 2017-02-27 18:25:05 +00:00
Youhan Wang
607ffe685e Add TelephonyMonitor debug switch in Developer Options.
Test: make ROBOTEST_FILTER=TelephonyMonitorPreferenceControllerTest
RunSettingsRoboTests -j40

Bug:35206589
Change-Id: I72d89acab95980511a2fd54420fd9d3c5ddaddab
2017-02-27 09:59:06 -08:00
Lei Yu
0497ee9731 Merge "Add NPE check for battery header update." 2017-02-27 17:56:24 +00:00