OSDN Git Service

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

7 years agoMerge "Fix empty summary when no theme is set."
TreeHugger Robot [Tue, 28 Feb 2017 02:12:22 +0000 (02:12 +0000)]
Merge "Fix empty summary when no theme is set."

7 years agoRemove drawer from settings
Fan Zhang [Tue, 28 Feb 2017 00:10:05 +0000 (16:10 -0800)]
Remove drawer from settings

Change-Id: Ib11376206cf8366c86c427104c47740c3ca8b0d0
Fix: 35809663
Test: make RunSettingsRoboTests

7 years agoUse "Music & audio" as the title for the music view.
Daniel Nishi [Tue, 28 Feb 2017 01:23:00 +0000 (17:23 -0800)]
Use "Music & audio" as the title for the music view.

Change-Id: I33bc5ccf55ee09842368b2fd4a83b9fd492eded0
Fixes: 35713002
Test: Manual

7 years agoFix empty summary when no theme is set.
Doris Ling [Mon, 27 Feb 2017 23:09:41 +0000 (15:09 -0800)]
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

7 years agoIncrease character limit for filter_instant_apps string in Settings
Antony Sargent [Mon, 27 Feb 2017 23:35:53 +0000 (15:35 -0800)]
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

7 years agoAdd multi sim setting page into network category.
Fan Zhang [Mon, 27 Feb 2017 23:34:55 +0000 (15:34 -0800)]
Add multi sim setting page into network category.

Change-Id: I604a80f83fa715dc69ed1cbced1bbf538b7c20ee
Fix: 35623660
Test: make RunSettingsRoboTests

7 years agoMerge "Add logging when launch fragment name is null."
TreeHugger Robot [Mon, 27 Feb 2017 22:53:03 +0000 (22:53 +0000)]
Merge "Add logging when launch fragment name is null."

7 years agoMerge "Use framework support to customize dividers between prefs."
TreeHugger Robot [Mon, 27 Feb 2017 22:42:10 +0000 (22:42 +0000)]
Merge "Use framework support to customize dividers between prefs."

7 years agoMerge "Add TelephonyMonitor debug switch in Developer Options."
Youhan Wang [Mon, 27 Feb 2017 21:14:50 +0000 (21:14 +0000)]
Merge "Add TelephonyMonitor debug switch in Developer Options."

7 years agoAdd logging when launch fragment name is null.
Doris Ling [Mon, 27 Feb 2017 19:39:05 +0000 (11:39 -0800)]
Add logging when launch fragment name is null.

Change-Id: I118c22a46eb794b21f9808978a68afd86b596e4e
Fix: 35203478
Test: Manual

7 years agoUse framework support to customize dividers between prefs.
Fan Zhang [Wed, 25 Jan 2017 23:32:17 +0000 (15:32 -0800)]
Use framework support to customize dividers between prefs.

Bug: 33579296
Test: make RunSettingsRoboTests
Change-Id: I1bb3b82b88dc727cda05b00058e6f40564f0e5db

7 years agoMerge "Moving load of suggestions from onViewCreated to onCategoriesChanged."
TreeHugger Robot [Mon, 27 Feb 2017 20:23:31 +0000 (20:23 +0000)]
Merge "Moving load of suggestions from onViewCreated to onCategoriesChanged."

7 years agoMerge "Experimental change to use colorful icons in Settings home"
TreeHugger Robot [Mon, 27 Feb 2017 19:10:28 +0000 (19:10 +0000)]
Merge "Experimental change to use colorful icons in Settings home"

7 years agoMerge "WiFiCallingSettings: don't start carrier app in onResume" am: 05c88316ec am...
Meng Wang [Mon, 27 Feb 2017 18:34:34 +0000 (18:34 +0000)]
Merge "WiFiCallingSettings: don't start carrier app in onResume" am: 05c88316ec am: e21cbcb6b4
am: 556e3bb3e8

Change-Id: I1a189c49f1ca8c0a8c12f1c834d90f61d25fc470

7 years agoMerge "WiFiCallingSettings: don't start carrier app in onResume" am: 05c88316ec
Meng Wang [Mon, 27 Feb 2017 18:32:30 +0000 (18:32 +0000)]
Merge "WiFiCallingSettings: don't start carrier app in onResume" am: 05c88316ec
am: e21cbcb6b4

Change-Id: If09bb76b63b0e71d3fa9cf6a42c2436e52093d6a

7 years agoMoving load of suggestions from onViewCreated to onCategoriesChanged.
Soroosh Mariooryad [Wed, 22 Feb 2017 22:28:38 +0000 (14:28 -0800)]
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

7 years agoMerge "WiFiCallingSettings: don't start carrier app in onResume"
Meng Wang [Mon, 27 Feb 2017 18:29:48 +0000 (18:29 +0000)]
Merge "WiFiCallingSettings: don't start carrier app in onResume"
am: 05c88316ec

Change-Id: I1e212c2486e896ad9945d7881f01895fedb27615

7 years agoMerge "WiFiCallingSettings: don't start carrier app in onResume"
Treehugger Robot [Mon, 27 Feb 2017 18:25:04 +0000 (18:25 +0000)]
Merge "WiFiCallingSettings: don't start carrier app in onResume"

7 years agoAdd TelephonyMonitor debug switch in Developer Options.
Youhan Wang [Thu, 9 Feb 2017 17:50:39 +0000 (09:50 -0800)]
Add TelephonyMonitor debug switch in Developer Options.

Test: make ROBOTEST_FILTER=TelephonyMonitorPreferenceControllerTest
RunSettingsRoboTests -j40

Bug:35206589
Change-Id: I72d89acab95980511a2fd54420fd9d3c5ddaddab

7 years agoMerge "Add NPE check for battery header update."
Lei Yu [Mon, 27 Feb 2017 17:56:24 +0000 (17:56 +0000)]
Merge "Add NPE check for battery header update."

7 years agoMerge "Fix app filter breakage caused by ag/1900403"
Antony Sargent [Mon, 27 Feb 2017 16:55:35 +0000 (16:55 +0000)]
Merge "Fix app filter breakage caused by ag/1900403"

7 years agoMerge "Follow API removals."
Jeff Sharkey [Mon, 27 Feb 2017 01:45:40 +0000 (01:45 +0000)]
Merge "Follow API removals."

7 years agoMerge "Add NPE check for screen and cellular update."
Lei Yu [Sat, 25 Feb 2017 18:35:15 +0000 (18:35 +0000)]
Merge "Add NPE check for screen and cellular update."

7 years agoWiFiCallingSettings: don't start carrier app in onResume
Meng Wang [Thu, 23 Feb 2017 22:33:49 +0000 (14:33 -0800)]
WiFiCallingSettings: don't start carrier app in onResume

onResume initialize UI before registering switch change listener.
So that listener is not invoked in UI initialization, but only real
switch change by user.

Bug: 33680334
Test: make
Test: manual - carrier app is not invoked in onResume
Change-Id: I7ca1eb1eab214b50c8de72946590c1ecb676d4df

7 years agoMerge "Bluetooth: aim OPEN_RECEIVED_FILES at bluetooth" am: 17ad73ed9b am: 019c8f38fe
Marie Janssen [Sat, 25 Feb 2017 13:51:01 +0000 (13:51 +0000)]
Merge "Bluetooth: aim OPEN_RECEIVED_FILES at bluetooth" am: 17ad73ed9b am: 019c8f38fe
am: 14795a7855

Change-Id: If28610b01c89647b66f84561455e540c480d49fa

7 years agoMerge "Bluetooth: aim OPEN_RECEIVED_FILES at bluetooth" am: 17ad73ed9b
Marie Janssen [Sat, 25 Feb 2017 13:47:59 +0000 (13:47 +0000)]
Merge "Bluetooth: aim OPEN_RECEIVED_FILES at bluetooth" am: 17ad73ed9b
am: 019c8f38fe

Change-Id: I12084f452872d8fb9778ad6360c8e58196fdcddf

7 years agoMerge "Bluetooth: aim OPEN_RECEIVED_FILES at bluetooth"
Marie Janssen [Sat, 25 Feb 2017 13:44:29 +0000 (13:44 +0000)]
Merge "Bluetooth: aim OPEN_RECEIVED_FILES at bluetooth"
am: 17ad73ed9b

Change-Id: Ib26f0014a8ef37f0c1b0e738597690343c30e940

7 years agoMerge "Bluetooth: aim OPEN_RECEIVED_FILES at bluetooth"
Treehugger Robot [Sat, 25 Feb 2017 13:39:27 +0000 (13:39 +0000)]
Merge "Bluetooth: aim OPEN_RECEIVED_FILES at bluetooth"

7 years agoBluetooth: aim OPEN_RECEIVED_FILES at bluetooth
Marie Janssen [Thu, 23 Feb 2017 19:20:56 +0000 (11:20 -0800)]
Bluetooth: aim OPEN_RECEIVED_FILES at bluetooth

Bluetooth is the receiver for the OPEN_RECEIVED_FILES intent, so we
should aim the intent directly at them.

Test: go to BT settings and click "Open Received Files" in the context
Change-Id: I057215f1faf04c8c735a7e9340325716225ad22d
Fix: 35246073

7 years agoMerge "Removed AccountSettings used in old IA only."
TreeHugger Robot [Sat, 25 Feb 2017 03:04:05 +0000 (03:04 +0000)]
Merge "Removed AccountSettings used in old IA only."

7 years agoMerge "Removed emergency info and add user when locked from Users settings."
TreeHugger Robot [Sat, 25 Feb 2017 02:45:35 +0000 (02:45 +0000)]
Merge "Removed emergency info and add user when locked from Users settings."

7 years agoMerge "Restore the shortcut icon size."
TreeHugger Robot [Sat, 25 Feb 2017 02:42:23 +0000 (02:42 +0000)]
Merge "Restore the shortcut icon size."

7 years agoExperimental change to use colorful icons in Settings home
Fan Zhang [Sat, 25 Feb 2017 01:06:19 +0000 (17:06 -0800)]
Experimental change to use colorful icons in Settings home

Bug: 34978809
Test: manual
Change-Id: Ia48404dd631d996dfcc25457baef9f60ab4408cb

7 years agoMerge "move ACTION_CARRIER_SETUP intent to public api" am: d989558616 am: fbf747bb76
Chen Xu [Sat, 25 Feb 2017 01:24:41 +0000 (01:24 +0000)]
Merge "move ACTION_CARRIER_SETUP intent to public api" am: d989558616 am: fbf747bb76
am: 9f5e1f92b8  -s ours

Change-Id: I7a06998f8ffb4d49525e2a5ad40267f0d6712455

7 years agoMerge changes from topic 'build_number_logging'
TreeHugger Robot [Sat, 25 Feb 2017 01:19:14 +0000 (01:19 +0000)]
Merge changes from topic 'build_number_logging'

* changes:
  Log when build number preference is clicked.
  DeviceInfo: move more prefereces in PreferenceController

7 years agoMerge "move ACTION_CARRIER_SETUP intent to public api" am: d989558616
Chen Xu [Sat, 25 Feb 2017 01:17:45 +0000 (01:17 +0000)]
Merge "move ACTION_CARRIER_SETUP intent to public api" am: d989558616
am: fbf747bb76

Change-Id: I4fa43c07a96d070c209e6c71a7c5227958aef2ee

7 years agoRestore the shortcut icon size.
Makoto Onuki [Thu, 23 Feb 2017 20:44:17 +0000 (12:44 -0800)]
Restore the shortcut icon size.

Bug: 35515740
Test: Manual tests with Ibb94728eb03
Change-Id: I606916e97acdf5106372deec98f2bd98509b39f7

7 years agoMerge "move ACTION_CARRIER_SETUP intent to public api"
Chen Xu [Sat, 25 Feb 2017 01:11:04 +0000 (01:11 +0000)]
Merge "move ACTION_CARRIER_SETUP intent to public api"
am: d989558616

Change-Id: Ic1b747c58bd8dc786e98bb3786e7ccecee7889be

7 years agoMerge "move ACTION_CARRIER_SETUP intent to public api"
Chen Xu [Sat, 25 Feb 2017 01:05:30 +0000 (01:05 +0000)]
Merge "move ACTION_CARRIER_SETUP intent to public api"

7 years agoFix app filter breakage caused by ag/1900403
Antony Sargent [Fri, 24 Feb 2017 21:26:28 +0000 (13:26 -0800)]
Fix app filter breakage caused by ag/1900403

Bug: 35726115
Test: manual, run existing robo tests by make RunSettingsRoboTests

In ag/1900403 I renumbered the int constants in ManageApplications.java
to remove a gap in the sequence without realizing that the arrays
containing strings/filters based on these constants still contained
entries for the constant whose value was removed.

In this CL I've fixed that and reorganized the initialization code slightly
to make it easier to keep things in sync going forward.

Change-Id: I6d2db6499fb7eb080570bc757bde497fcd39fead

7 years agoRemoved AccountSettings used in old IA only.
Doris Ling [Fri, 24 Feb 2017 23:20:05 +0000 (15:20 -0800)]
Removed AccountSettings used in old IA only.

- remove AccountSettings and all related code that is used in old IA, so
that it will not show up in search.

Change-Id: I9f83112f760fd991caf89de109fde9e675b8c981
Fix: 34165913
Test: make RunSettingsRoboTests

7 years agoLog when build number preference is clicked.
Fan Zhang [Fri, 24 Feb 2017 23:37:14 +0000 (15:37 -0800)]
Log when build number preference is clicked.

Optionally also log whether user is in development mode.

Change-Id: I1f5dc2891b2c4fc74f940e3118fb09ee18cc9688
Fix: 34774945
Test: make RunSettingsRoboTests

7 years agoMerge "Switch references to colorError"
Jason Monk [Fri, 24 Feb 2017 23:29:24 +0000 (23:29 +0000)]
Merge "Switch references to colorError"

7 years agoMerge "Properly forget networks and refresh page in SavedAcessPointsWifiSettings."
TreeHugger Robot [Fri, 24 Feb 2017 23:22:15 +0000 (23:22 +0000)]
Merge "Properly forget networks and refresh page in SavedAcessPointsWifiSettings."

7 years agoDeviceInfo: move more prefereces in PreferenceController
Fan Zhang [Fri, 24 Feb 2017 01:50:27 +0000 (17:50 -0800)]
DeviceInfo: move more prefereces in PreferenceController

Bug: 34774945
Test: make RunSettingsRoboTests
Change-Id: Ie5e113a6df85bab5be50c947bd7b91cfacdccb7f

7 years agoAdd NPE check for battery header update.
jackqdyulei [Thu, 23 Feb 2017 00:42:26 +0000 (16:42 -0800)]
Add NPE check for battery header update.

Battery header uses AsyncTask to update the label. So if user
press back button before the update completes, the "getContext()"
in AsyncTask callback will return null, which causes the crash.

It seems there is no good way to fix it expect adding a NPE check.

Bug: 35650224
Test: RunSettingsRoboTests
Change-Id: I7bd9fd87caa13614fe1896cf72557a09744691c1

7 years agoMerge "Move suggestions package to dashboard.suggestions"
Soroosh Mariooryad [Fri, 24 Feb 2017 21:55:28 +0000 (21:55 +0000)]
Merge "Move suggestions package to dashboard.suggestions"

7 years agoAdd NPE check for screen and cellular update.
jackqdyulei [Fri, 24 Feb 2017 21:03:35 +0000 (13:03 -0800)]
Add NPE check for screen and cellular update.

When battery is full of charge, usageList in BatteryStatsHelper
will be empty. As a result, we cannot find BatterySipper with
type screen and cell, which creates the null pointer error.

In this cl, I add NPE check for sipper. When sipper is null, all
data will be set to default value. I also add check for totalPower
so we won't have divided by zero error.

Bug: 35757789
Test: RunSettingsRoboTests
Change-Id: I80f3c0c542e0a50868e7c314a8d9b3c17999d8c6

7 years agoRemoved emergency info and add user when locked from Users settings.
Doris Ling [Fri, 24 Feb 2017 20:36:27 +0000 (12:36 -0800)]
Removed emergency info and add user when locked from Users settings.

In new IA, Emergency Info and Add user when locked has been moved to
Users & accounts page.

Change-Id: I1a1e4bd801936b654d8a4ede7cfc64e2ac285019
Fix: 33703736
Test: make SettingsTests

7 years agoMerge "Fix issue with app info summary for diasbled app."
TreeHugger Robot [Fri, 24 Feb 2017 20:30:11 +0000 (20:30 +0000)]
Merge "Fix issue with app info summary for diasbled app."

7 years agoSwitch references to colorError
Jason Monk [Thu, 2 Feb 2017 01:20:44 +0000 (20:20 -0500)]
Switch references to colorError

Test: make
Change-Id: I0ed10d78763642cecc5ba8e8e15a097d51280946

7 years agoMove suggestions package to dashboard.suggestions
Soroosh Mariooryad [Thu, 23 Feb 2017 10:02:29 +0000 (02:02 -0800)]
Move suggestions package to dashboard.suggestions

Test: RunSettingsRoboTests

Change-Id: I4f9af27767c8e55d3b1a16e77c099da52d40aab5

7 years agoMerge "Update summary text for Emergency info"
TreeHugger Robot [Fri, 24 Feb 2017 19:04:12 +0000 (19:04 +0000)]
Merge "Update summary text for Emergency info"

7 years agoFollow API removals.
Jeff Sharkey [Fri, 24 Feb 2017 19:03:09 +0000 (12:03 -0700)]
Follow API removals.

Test: builds, boots
Bug: 31241513
Change-Id: I64c688cb377981d2a8f2a30ddb79e3b72f2e7254

7 years agoMerge "Change app detail header title to multi-line."
TreeHugger Robot [Fri, 24 Feb 2017 18:50:59 +0000 (18:50 +0000)]
Merge "Change app detail header title to multi-line."

7 years agomove ACTION_CARRIER_SETUP intent to public api
fionaxu [Fri, 24 Feb 2017 18:42:12 +0000 (10:42 -0800)]
move ACTION_CARRIER_SETUP intent to public api

As per CDD: The "android.*" namespace for intent constants is reserved
for public
Android API in AOSP. (Whether public to the full SDK, @SystemApi or
defined in AOSP support libraries.)
ACTION_CARRIER_SETUP intent is generally useful for carrier privileged
apps which is unbundled carrier apps, thus move to public APIs 33679956

Test: Manual
Bug: 33679956
Merged-in: I85dfa99d0b20bb1b534dfe8ead3c274a5c739786
Change-Id: I84ffd5f2c8c3418689ee3d5ff5ddc3f9f7959763

7 years agoFix issue with app info summary for diasbled app.
Doris Ling [Fri, 24 Feb 2017 18:36:23 +0000 (10:36 -0800)]
Fix issue with app info summary for diasbled app.

- also check the component enable state to determine whether an app is
really enabled or not.

Change-Id: I8075ec9253b9136c58fc206e10b10f77b1efe6c2
Fix: 35673125
Test: make RunSettingsRoboTests

7 years agoMerge "move ACTION_CARRIER_SETUP intent to public api"
Chen Xu [Fri, 24 Feb 2017 18:15:42 +0000 (18:15 +0000)]
Merge "move ACTION_CARRIER_SETUP intent to public api"

7 years agoQuery the security feature provider on separate threads.
William Luh [Fri, 24 Feb 2017 17:49:37 +0000 (09:49 -0800)]
Query the security feature provider on separate threads.

Bug: 35065510
Test: make RunSettingsRoboTests
Change-Id: Ib9ffc5bf9c3ace5d2a904206f834f69eccfb690d

7 years agoMerge "Add wipe on login failure to Privacy Settings page"
TreeHugger Robot [Fri, 24 Feb 2017 14:42:22 +0000 (14:42 +0000)]
Merge "Add wipe on login failure to Privacy Settings page"

7 years agoMerge "Fix NPE when logging start intent."
TreeHugger Robot [Fri, 24 Feb 2017 03:59:22 +0000 (03:59 +0000)]
Merge "Fix NPE when logging start intent."

7 years agoProperly forget networks and refresh page in SavedAcessPointsWifiSettings.
Stephen Chen [Fri, 24 Feb 2017 03:39:09 +0000 (19:39 -0800)]
Properly forget networks and refresh page in SavedAcessPointsWifiSettings.

The dialog access point rebuilt after fragment is destroyed (i.e.
orientation change) did not properly save selected Preference, and
caused NPE. Changed onForget to refresh preference list.

Bug: 35207121
Test: b/35322875 tracking bug for saved networks tests.
Change-Id: I81935c5a6e3efab4d4e3b6e7c2b150bacf06d7c1

7 years agoMerge "Change static defined color inside drawable"
TreeHugger Robot [Fri, 24 Feb 2017 03:31:05 +0000 (03:31 +0000)]
Merge "Change static defined color inside drawable"

7 years agoFix NPE when logging start intent.
Fan Zhang [Fri, 24 Feb 2017 02:18:33 +0000 (18:18 -0800)]
Fix NPE when logging start intent.

Change-Id: I3a19131b879b4d52644bfb43292434917d30b423
Fix: 34774945
Test: make RunSettingsRoboTests

7 years agoChange static defined color inside drawable
Hyunyoung Song [Thu, 23 Feb 2017 23:30:12 +0000 (15:30 -0800)]
Change static defined color inside drawable

Test: manual build and installed on bullhead
-theme based color attribute may not load from correct context inside drawables.

b/35681210

Change-Id: I8869963dee76d6744c619a25f01270e2a2f5d77c

7 years agoDeviceInfo: Wrap prefereces in PreferenceController
Fan Zhang [Fri, 24 Feb 2017 00:05:30 +0000 (16:05 -0800)]
DeviceInfo: Wrap prefereces in PreferenceController

Bug: 34774945
Test: make RunSettingsRoboTests
Change-Id: I8bf56b436064684f4d2010e6899548249af69fc3

7 years agoAdd key to NFC search index option
Andre Eisenbach [Thu, 23 Feb 2017 22:52:31 +0000 (14:52 -0800)]
Add key to NFC search index option

Bug: 35657617
Test: manual
Change-Id: If9350272f7e48b061dea2f0da75c3c5bcd0ee9ac

7 years agoUpdate summary text for Emergency info
Doris Ling [Thu, 23 Feb 2017 22:23:53 +0000 (14:23 -0800)]
Update summary text for Emergency info

- changed text to Info & contacts for <user>

Change-Id: I731f6f038baa3d4dc0dfd9d83bade44185b096b7
Fix: 34976320
Test: Visual