OSDN Git Service

android-x86/packages-apps-Settings.git
7 years agoRemove custom layout for expandpreference.
Fan Zhang [Tue, 2 May 2017 18:12:20 +0000 (11:12 -0700)]
Remove custom layout for expandpreference.

It's no longer needed.
Test: manual
Change-Id: I704255ee217d1142ac81c738feef212224bae4e8

7 years agoMerge "Import translations. DO NOT MERGE"
TreeHugger Robot [Tue, 2 May 2017 15:10:57 +0000 (15:10 +0000)]
Merge "Import translations. DO NOT MERGE"

7 years agoImport translations. DO NOT MERGE
The Android Open Source Project [Tue, 2 May 2017 08:35:16 +0000 (01:35 -0700)]
Import translations. DO NOT MERGE

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

7 years agoMerge "Swipe for notification should be default-on in settings app" into oc-dev am...
Kevin Chyn [Tue, 2 May 2017 04:20:45 +0000 (04:20 +0000)]
Merge "Swipe for notification should be default-on in settings app" into oc-dev am: 9ab1318ca8
am: f921f8e77e

Change-Id: I3337bcba8a7baa4038f7c72d8eb9658311c0c435

7 years agoMerge "Swipe for notification should be default-on in settings app" into oc-dev
Kevin Chyn [Tue, 2 May 2017 04:14:47 +0000 (04:14 +0000)]
Merge "Swipe for notification should be default-on in settings app" into oc-dev
am: 9ab1318ca8

Change-Id: Ib153ffcb4012954950f8c1310a5f08efefecc91d

7 years agoMerge "Swipe for notification should be default-on in settings app" into oc-dev
TreeHugger Robot [Tue, 2 May 2017 04:09:30 +0000 (04:09 +0000)]
Merge "Swipe for notification should be default-on in settings app" into oc-dev

7 years agoMerge "Update vpn icon from setting gear to vpn key." into oc-dev am: 74327fa4f0
Fan Zhang [Tue, 2 May 2017 02:32:39 +0000 (02:32 +0000)]
Merge "Update vpn icon from setting gear to vpn key." into oc-dev am: 74327fa4f0
am: 403a4ee11a

Change-Id: I29538740df4794e0b427f31bc62a4380e40686f3

7 years agoMerge "Update vpn icon from setting gear to vpn key." into oc-dev
Fan Zhang [Tue, 2 May 2017 02:28:10 +0000 (02:28 +0000)]
Merge "Update vpn icon from setting gear to vpn key." into oc-dev
am: 74327fa4f0

Change-Id: Ib711284c7071766d516d5b0e653f1b01da0f13bd

7 years agoMerge "Update vpn icon from setting gear to vpn key." into oc-dev
TreeHugger Robot [Tue, 2 May 2017 02:23:34 +0000 (02:23 +0000)]
Merge "Update vpn icon from setting gear to vpn key." into oc-dev

7 years agoMerge "Change to not call update() if APN is not modified." into oc-dev am: 7cab6a9a17
Amit Mahajan [Tue, 2 May 2017 02:13:41 +0000 (02:13 +0000)]
Merge "Change to not call update() if APN is not modified." into oc-dev am: 7cab6a9a17
am: bd119a71ec

Change-Id: I477923344d01febc0d78c0264eadfa880d716353

7 years agoMerge "Add summary text to App permissions settings."
TreeHugger Robot [Tue, 2 May 2017 02:11:48 +0000 (02:11 +0000)]
Merge "Add summary text to App permissions settings."

7 years agoMerge "Change to not call update() if APN is not modified." into oc-dev
Amit Mahajan [Tue, 2 May 2017 02:07:38 +0000 (02:07 +0000)]
Merge "Change to not call update() if APN is not modified." into oc-dev
am: 7cab6a9a17

Change-Id: I7ae69ec7797f10e0d48a4ce7d1b3a80c18851911

7 years agoMerge "Framework for the anomaly detection."
TreeHugger Robot [Tue, 2 May 2017 02:02:58 +0000 (02:02 +0000)]
Merge "Framework for the anomaly detection."

7 years agoMerge "Change to not call update() if APN is not modified." into oc-dev
TreeHugger Robot [Tue, 2 May 2017 01:59:37 +0000 (01:59 +0000)]
Merge "Change to not call update() if APN is not modified." into oc-dev

7 years agoMerge "Do not show static overlays as a theme" into oc-dev am: 170acdb79b
Jaekyun Seok [Tue, 2 May 2017 01:24:29 +0000 (01:24 +0000)]
Merge "Do not show static overlays as a theme" into oc-dev am: 170acdb79b
am: 4a6781af1b

Change-Id: I2f4b1f9ab7e7947bb5c95aae7d7400113e4c266b

7 years agoMerge "Do not show static overlays as a theme" into oc-dev
Jaekyun Seok [Tue, 2 May 2017 01:15:01 +0000 (01:15 +0000)]
Merge "Do not show static overlays as a theme" into oc-dev
am: 170acdb79b

Change-Id: I7172c65c195baa356dc6f2dbe1d9793dca51b3fa

7 years agoMerge "Do not show static overlays as a theme" into oc-dev
TreeHugger Robot [Tue, 2 May 2017 01:03:53 +0000 (01:03 +0000)]
Merge "Do not show static overlays as a theme" into oc-dev

7 years agoMerge "Hides app buttons for instant apps" into oc-dev am: 965508fc3e
Jesse Evans [Tue, 2 May 2017 00:36:34 +0000 (00:36 +0000)]
Merge "Hides app buttons for instant apps" into oc-dev am: 965508fc3e
am: 34e0c7afdf

Change-Id: I8b0624d28b43274465b9249552290fac950e9638

7 years agoAdd summary text to App permissions settings.
Doris Ling [Mon, 1 May 2017 18:43:40 +0000 (11:43 -0700)]
Add summary text to App permissions settings.

Check the granted permissions for the installed app and compose the
summary text to use the first 3 permissions granted from the list:
Location, Microphone, Camera, Sms, Contacts, and Phone.

Change-Id: I61d21f279af2fe86132de22b94e1a49da0225fcd
Fix: 36376411
Test: make RunSettingsRoboTests

7 years agoMerge "Hides app buttons for instant apps" into oc-dev
Jesse Evans [Tue, 2 May 2017 00:34:02 +0000 (00:34 +0000)]
Merge "Hides app buttons for instant apps" into oc-dev
am: 965508fc3e

Change-Id: I6158a7d6f96ea144b16cda70fe1ed9fb989c5d8d

7 years agoMerge "Hides app buttons for instant apps" into oc-dev
TreeHugger Robot [Tue, 2 May 2017 00:28:59 +0000 (00:28 +0000)]
Merge "Hides app buttons for instant apps" into oc-dev

7 years agoMerge "Generate license html file from xml files of partitions" am: 04a7e0a73a am...
Jaekyun Seok [Mon, 1 May 2017 23:22:59 +0000 (23:22 +0000)]
Merge "Generate license html file from xml files of partitions" am: 04a7e0a73a am: f8aaf9ecdc am: 8b5389f707
am: 33d77b09a6

Change-Id: I54bc2a2c7d344e12a2a6cfd696263706b33aef8a

7 years agoMerge "Generate license html file from xml files of partitions" am: 04a7e0a73a am...
Jaekyun Seok [Mon, 1 May 2017 23:21:06 +0000 (23:21 +0000)]
Merge "Generate license html file from xml files of partitions" am: 04a7e0a73a am: f8aaf9ecdc
am: 8b5389f707

Change-Id: Id42eb0a0ea330c5758e4a77a31158b7dd26256b5

7 years agoMerge "Generate license html file from xml files of partitions" am: 04a7e0a73a
Jaekyun Seok [Mon, 1 May 2017 23:17:29 +0000 (23:17 +0000)]
Merge "Generate license html file from xml files of partitions" am: 04a7e0a73a
am: f8aaf9ecdc

Change-Id: I8acb705a77216d95c3994ea488eabd2a4b6fc00d

7 years agoMerge "Generate license html file from xml files of partitions"
Jaekyun Seok [Mon, 1 May 2017 23:15:34 +0000 (23:15 +0000)]
Merge "Generate license html file from xml files of partitions"
am: 04a7e0a73a

Change-Id: I37430af516f99081e2bddcdd9eb4ae5d64a0c18d

7 years agoMerge "Generate license html file from xml files of partitions"
Treehugger Robot [Mon, 1 May 2017 23:08:17 +0000 (23:08 +0000)]
Merge "Generate license html file from xml files of partitions"

7 years agoFramework for the anomaly detection.
jackqdyulei [Tue, 25 Apr 2017 18:30:06 +0000 (11:30 -0700)]
Framework for the anomaly detection.

This cl adds the following components for anomaly dection:
1. AnomalyLoader: run all the anomaly checks in the background
2. Anomaly: Data class to represent what anomaly it is
3. Detector: Different kinds of anomaly detector with common interface
4. Action:  Suggestions when facing anomaly(Force stop, uninstall)
5. AnomalyDialogFragment: show the confirm dialog for action
6. AnomalyPreferenceController: handle update and click for
anomalyPreference, since it will be used in multiple fragments.
7. AnomalyUtils: utility class for anomaly

This cl also adds skeleton for the wakelock check and action. Following
cls will add real implementation about it.

Bug: 36924669
Test: RunSettingsRoboTests
Change-Id: I89fc4b6963757869b93791b4275ca53c04ab9604

7 years agoMerge "Add ability to switch between support versions"
Andrew Sapperstein [Mon, 1 May 2017 22:37:28 +0000 (22:37 +0000)]
Merge "Add ability to switch between support versions"

7 years agoMerge "Cleanup to screensaver settings for O"
TreeHugger Robot [Mon, 1 May 2017 22:15:02 +0000 (22:15 +0000)]
Merge "Cleanup to screensaver settings for O"

7 years agoMerge "Use preference supported attr to reserve icon space"
TreeHugger Robot [Mon, 1 May 2017 22:12:40 +0000 (22:12 +0000)]
Merge "Use preference supported attr to reserve icon space"

7 years agoGenerate license html file from xml files of partitions
Jaekyun Seok [Tue, 18 Apr 2017 06:22:01 +0000 (15:22 +0900)]
Generate license html file from xml files of partitions

Treble-ization requires each partner to store their license information
into their own partition because each partition can be updated
individually.
So each partition will have its own NOTICE.xml.gz, and Settings should
be able to generate license html from xml files of partitions.

Test: building succeeded and tested on sailfish.
  make ROBOTEST_FILTER=LicenseHtmlGeneratorFromXmlTest RunSettingsRoboTests
  make ROBOTEST_FILTER=LicenseHtmlLoaderTest RunSettingsRoboTests
  make ROBOTEST_FILTER=SettingsLicenseActivityTest RunSettingsRoboTests
Bug: 37099941
Merged-In: If797759d300ee20dd43ad8efd7d17b4f7e0c4537
Change-Id: If797759d300ee20dd43ad8efd7d17b4f7e0c4537
(cherry picked from commit 74812873f41adbd34ab3ff4fbd7dcbb8f6fde233)

7 years agoMerge "Make the storage free/total sizes consistent." into oc-dev am: b22c11ae28
Daniel Nishi [Mon, 1 May 2017 21:55:05 +0000 (21:55 +0000)]
Merge "Make the storage free/total sizes consistent." into oc-dev am: b22c11ae28
am: e25371e8bc

Change-Id: I267abe4239c3b6b15a5a9be003f68bcc026c1ea3

7 years agoMerge "Add help url for unsupported accessory"
Badhri Jagan Sridharan [Mon, 1 May 2017 21:52:30 +0000 (21:52 +0000)]
Merge "Add help url for unsupported accessory"

7 years agoMerge "Make the storage free/total sizes consistent." into oc-dev
Daniel Nishi [Mon, 1 May 2017 21:46:50 +0000 (21:46 +0000)]
Merge "Make the storage free/total sizes consistent." into oc-dev
am: b22c11ae28

Change-Id: Ibee39375f0c714f5ff7578c24f78a387cd54bc44

7 years agoMerge "Make the storage free/total sizes consistent." into oc-dev
Daniel Nishi [Mon, 1 May 2017 21:40:17 +0000 (21:40 +0000)]
Merge "Make the storage free/total sizes consistent." into oc-dev

7 years agoMerge "Generate license html file from xml files of partitions" into oc-dev am: 7f590...
Jaekyun Seok [Mon, 1 May 2017 21:29:32 +0000 (21:29 +0000)]
Merge "Generate license html file from xml files of partitions" into oc-dev am: 7f59081421
am: d3d3310ee2

Change-Id: Iaf17beaa426e4bed55f83a8a825974586ffe7868

7 years agoMerge "Generate license html file from xml files of partitions" into oc-dev
Jaekyun Seok [Mon, 1 May 2017 21:27:01 +0000 (21:27 +0000)]
Merge "Generate license html file from xml files of partitions" into oc-dev
am: 7f59081421

Change-Id: Ia027639c81093af0defff40f2e85ddb499093652

7 years agoMerge "Generate license html file from xml files of partitions" into oc-dev
TreeHugger Robot [Mon, 1 May 2017 21:22:18 +0000 (21:22 +0000)]
Merge "Generate license html file from xml files of partitions" into oc-dev

7 years agoDo not show static overlays as a theme
Jaekyun Seok [Sat, 29 Apr 2017 00:36:46 +0000 (09:36 +0900)]
Do not show static overlays as a theme

Static overlays aren't changeable by a user. So we shouldn't list them
as a theme.

This CL fixed b/36812704 as well to run unit tests.

Test: building succeeded and tested on sailfish.
      make RunSettingsRoboTests
      adb shell am instrument -w -e class \
          com.android.settings.display.ThemePreferenceControllerTest \
          com.android.settings.tests.unit/android.support.test.runner.AndroidJUnitRunner
Bug: 37480890
Bug: 36812704

Change-Id: I8c13b6956083095dceaab3da6642bef1647d6a30

7 years agoSwipe for notification should be default-on in settings app
Kevin Chyn [Mon, 1 May 2017 20:28:35 +0000 (13:28 -0700)]
Swipe for notification should be default-on in settings app

Fixes: 37672954

Test: adb shell settings delete secure system_navigation_keys_enabled
delete/toggle the setting above between null/0/1

Change-Id: Ia8f5665136ebae1fcc8f77d839a507ab9be7c1da

7 years agoMerge "Fixed crash when opening Camera Lift suggestion"
Daniel Sheng [Mon, 1 May 2017 20:15:15 +0000 (20:15 +0000)]
Merge "Fixed crash when opening Camera Lift suggestion"

7 years agoCleanup to screensaver settings for O
Evan Laird [Wed, 22 Mar 2017 15:36:18 +0000 (11:36 -0400)]
Cleanup to screensaver settings for O

Reworked the way screensaver settings are laid out for O. Instead of
using the options menu and dialogs to navigate screensaver options,
there are now two rows: one row for the screensaver choice and
optionally its own settings, and one row for the "when to show" setting.
And now there's a nice obvious button you can press to preview your
choices.

Test: 'export ROBOTEST_FILTER="RadioButtonListFragmentTest";\
mmm -j20 packages/apps/Settings/tests/robotests'

Bug: 35031991
Change-Id: Ie7d2055fb45f6dfe72e34cb9598d9a25f7bee75a

7 years agoUse preference supported attr to reserve icon space
Fan Zhang [Mon, 1 May 2017 20:00:15 +0000 (13:00 -0700)]
Use preference supported attr to reserve icon space

Change-Id: I28c36f44e6db91fba9aaa5a260303c873a684a5f
Fix: 37572422
Test: runtest android.settings.functional.DisplaySettingsTest

7 years agoMerge "Revert "Use framework support to reserve icon space""
TreeHugger Robot [Mon, 1 May 2017 19:48:46 +0000 (19:48 +0000)]
Merge "Revert "Use framework support to reserve icon space""

7 years agoMerge "Change String to CharSequence in #loadSummary." into oc-dev am: ad597344a2
Jeff Sharkey [Mon, 1 May 2017 18:22:36 +0000 (18:22 +0000)]
Merge "Change String to CharSequence in #loadSummary." into oc-dev am: ad597344a2
am: e86e611f76

Change-Id: Id13f41ae6cb32d575193732136489bbac0702a3c

7 years agoHides app buttons for instant apps
Jesse Evans [Mon, 1 May 2017 18:12:52 +0000 (11:12 -0700)]
Hides app buttons for instant apps

Hides the app buttons when the app is an instant app.

Added a todo to remove this functionality when instant apps
are properly supported by this controller.

Test: make RunSettingsRoboTests
Bug: 37313605
Change-Id: I3fca106a8e72c41b626e1182f5ba1089b90e8e2a

7 years agoRevert "Use framework support to reserve icon space"
Fan Zhang [Mon, 1 May 2017 18:11:59 +0000 (18:11 +0000)]
Revert "Use framework support to reserve icon space"

This causes DropdownPreference to crash

Bug: 37850881
This reverts commit 19f5783b75567a4a69d80f0fca1baaacf81c12db.

Change-Id: Iaa2ceb1a031e8e0b62bc886d908534f3b53d3835

7 years agoMerge "Change String to CharSequence in #loadSummary." into oc-dev
Jeff Sharkey [Mon, 1 May 2017 18:10:45 +0000 (18:10 +0000)]
Merge "Change String to CharSequence in #loadSummary." into oc-dev
am: ad597344a2

Change-Id: Id636a6558f38673749255d01a30190fa762b7619

7 years agoFixed crash when opening Camera Lift suggestion
Daniel Sheng [Thu, 27 Apr 2017 23:01:58 +0000 (16:01 -0700)]
Fixed crash when opening Camera Lift suggestion

Bug: 37742959
Test: manual + make RunSettingsRoboTests +
      adb shell am instrument -w com.android.settings.tests.unit
          /android.support.test.runner.AndroidJUnitRunner

Added missing SettingsGateway entry for Camera Lift Trigger settings
fragment.

Change-Id: Iddce7a672b0bb8430e3c7b3c346788fb23970636

7 years agoAdd help url for unsupported accessory
Badhri Jagan Sridharan [Wed, 19 Apr 2017 23:59:31 +0000 (16:59 -0700)]
Add help url for unsupported accessory

Bug: 36604276
Change-Id: I53f0b5e2fd3040f4440aa94e86fe8021239b90e7

7 years agoMerge "Change String to CharSequence in #loadSummary." into oc-dev
Jeff Sharkey [Mon, 1 May 2017 17:52:22 +0000 (17:52 +0000)]
Merge "Change String to CharSequence in #loadSummary." into oc-dev

7 years agoMerge "Fix typo"
Meng Wang [Mon, 1 May 2017 17:34:32 +0000 (17:34 +0000)]
Merge "Fix typo"

7 years agoMake instant apps appear above disabled apps am: b2d85af91e
Jesse Evans [Mon, 1 May 2017 17:09:22 +0000 (17:09 +0000)]
Make instant apps appear above disabled apps am: b2d85af91e
am: f52bfd03ea

Change-Id: I1b58da2932103f9879d3eb84c7b55aea2b208509

7 years agoMake instant apps appear above disabled apps
Jesse Evans [Mon, 1 May 2017 17:02:27 +0000 (17:02 +0000)]
Make instant apps appear above disabled apps
am: b2d85af91e

Change-Id: Ie2fe92d08bf8d8697a5bf99add1efc83b8873956

7 years agoFix typo
Meng Wang [Mon, 1 May 2017 15:31:14 +0000 (08:31 -0700)]
Fix typo

eabProvisionedSwitch should use eab_provisioned_switch

Bug: 37433707
Test: make
Change-Id: Iac7c83d1bee34f9e89878b66647115427ad0bf5f

7 years agoMerge "Import translations. DO NOT MERGE"
Bill Yi [Mon, 1 May 2017 15:22:27 +0000 (15:22 +0000)]
Merge "Import translations. DO NOT MERGE"

7 years agoMake instant apps appear above disabled apps
Jesse Evans [Wed, 26 Apr 2017 15:31:16 +0000 (08:31 -0700)]
Make instant apps appear above disabled apps

Currently instant apps appear below disabled apps in the app filter
spinner, this is incorrect. This patch moves them above the disabled
apps filter option.

Test: make RunSettingsRoboTests
Bug: 37683262
Change-Id: Id65ae47baca4eac43a6a89375bdb718d5dbf7c56

7 years agoChange to not call update() if APN is not modified.
Amit Mahajan [Thu, 27 Apr 2017 21:50:39 +0000 (14:50 -0700)]
Change to not call update() if APN is not modified.

Test: manual
Bug: 37629096
Change-Id: Icd7e61267d724b576edf872485dd1a1e2ab18d46

7 years agoUpdate vpn icon from setting gear to vpn key.
Fan Zhang [Sat, 29 Apr 2017 19:47:19 +0000 (12:47 -0700)]
Update vpn icon from setting gear to vpn key.

Change-Id: Ic135d5e28a0547e949c8170f985e4de26e05ad51
Fix: 37781101
Test: visual

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev am: 0ee4e7df8e -s ours
Bill Yi [Sat, 29 Apr 2017 18:08:40 +0000 (18:08 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev am: 0ee4e7df8e  -s ours
am: b40d693aba  -s ours

Change-Id: I948d295e1dbf8f05f53324395425225a5499caa5

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
Bill Yi [Sat, 29 Apr 2017 18:05:56 +0000 (18:05 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev
am: 0ee4e7df8e  -s ours

Change-Id: I47fd4022a9ba5a639e35c011f83a32559bfaefaa

7 years agoMerge "Import translations. DO NOT MERGE" into oc-dev
TreeHugger Robot [Sat, 29 Apr 2017 17:59:42 +0000 (17:59 +0000)]
Merge "Import translations. DO NOT MERGE" into oc-dev

7 years agoMerge "Don't hide network reset even if it's disabled by admin." into oc-dev am:...
Fan Zhang [Sat, 29 Apr 2017 07:00:01 +0000 (07:00 +0000)]
Merge "Don't hide network reset even if it's disabled by admin." into oc-dev am: b50460086d
am: 5acb03575f

Change-Id: Ie8e346d71eaf4c3617753c83846cbd723582109e

7 years agoMerge "Add emergency broadcast to app & notification settings." into oc-dev am: 908ca...
Fan Zhang [Sat, 29 Apr 2017 06:59:44 +0000 (06:59 +0000)]
Merge "Add emergency broadcast to app & notification settings." into oc-dev am: 908cad27ab
am: ae112c8a46

Change-Id: I879f97321c9a3af20a1c8ec2de49c8fcf4bedbe9

7 years agoMerge "Don't hide network reset even if it's disabled by admin." into oc-dev
Fan Zhang [Sat, 29 Apr 2017 06:58:11 +0000 (06:58 +0000)]
Merge "Don't hide network reset even if it's disabled by admin." into oc-dev
am: b50460086d

Change-Id: I3d1a1958999aed60b44da454f341ed711a64a589

7 years agoMerge "Add emergency broadcast to app & notification settings." into oc-dev
Fan Zhang [Sat, 29 Apr 2017 06:57:43 +0000 (06:57 +0000)]
Merge "Add emergency broadcast to app & notification settings." into oc-dev
am: 908cad27ab

Change-Id: I743b5e63b42e65b8b405417d8e221077a452cc35

7 years agoMerge "Don't hide network reset even if it's disabled by admin." into oc-dev
TreeHugger Robot [Sat, 29 Apr 2017 06:53:26 +0000 (06:53 +0000)]
Merge "Don't hide network reset even if it's disabled by admin." into oc-dev

7 years agoMerge "Add emergency broadcast to app & notification settings." into oc-dev
TreeHugger Robot [Sat, 29 Apr 2017 06:53:11 +0000 (06:53 +0000)]
Merge "Add emergency broadcast to app & notification settings." into oc-dev

7 years agoMerge "Add "add service" pref to the autofill picker" into oc-dev am: 9301381ac2
Philip P. Moltmann [Sat, 29 Apr 2017 05:32:40 +0000 (05:32 +0000)]
Merge "Add "add service" pref to the autofill picker" into oc-dev am: 9301381ac2
am: 586b1e4cee

Change-Id: Idc79fbeb391264379d52b452f0f9278181e199bf

7 years agoMerge "Add "add service" pref to the autofill picker" into oc-dev
Philip P. Moltmann [Sat, 29 Apr 2017 05:24:18 +0000 (05:24 +0000)]
Merge "Add "add service" pref to the autofill picker" into oc-dev
am: 9301381ac2

Change-Id: Ifde40f13acc2881209231267f5252f5b56c627f1

7 years agoMerge "Add "add service" pref to the autofill picker" into oc-dev
Philip P. Moltmann [Sat, 29 Apr 2017 05:14:36 +0000 (05:14 +0000)]
Merge "Add "add service" pref to the autofill picker" into oc-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 29 Apr 2017 04:36:08 +0000 (21:36 -0700)]
Import translations. DO NOT MERGE

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

7 years agoChange String to CharSequence in #loadSummary.
Saige McVea [Sat, 29 Apr 2017 03:29:40 +0000 (20:29 -0700)]
Change String to CharSequence in #loadSummary.

Per API council review, localized strings should return CharSequence. Changes here
account for the different type returned.

Test: ag/1813674

Bug: 37723508

Change-Id: I7dacab8af48932db031de22835b65eba30393956

7 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 29 Apr 2017 02:46:17 +0000 (19:46 -0700)]
Import translations. DO NOT MERGE

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

7 years agoGenerate license html file from xml files of partitions
Jaekyun Seok [Tue, 18 Apr 2017 06:22:01 +0000 (15:22 +0900)]
Generate license html file from xml files of partitions

Treble-ization requires each partner to store their license information
into their own partition because each partition can be updated
individually.
So each partition will have its own NOTICE.xml.gz, and Settings should
be able to generate license html from xml files of partitions.

Test: building succeeded and tested on sailfish.
  make ROBOTEST_FILTER=LicenseHtmlGeneratorFromXmlTest RunSettingsRoboTests
  make ROBOTEST_FILTER=LicenseHtmlLoaderTest RunSettingsRoboTests
  make ROBOTEST_FILTER=SettingsLicenseActivityTest RunSettingsRoboTests
Bug: 37099941
Change-Id: If797759d300ee20dd43ad8efd7d17b4f7e0c4537

7 years agoMerge "Revert "Display and parse numbers properly in all locales"" into oc-dev am...
Fan Zhang [Fri, 28 Apr 2017 23:43:21 +0000 (23:43 +0000)]
Merge "Revert "Display and parse numbers properly in all locales"" into oc-dev am: 30e9474dbb
am: 87603385b7

Change-Id: I64197acec6cb6cc055b496198b01c954c4c1907f

7 years agoMerge "Only show "reset app preference" actionbar menu in app info"
TreeHugger Robot [Fri, 28 Apr 2017 23:28:55 +0000 (23:28 +0000)]
Merge "Only show "reset app preference" actionbar menu in app info"

7 years agoMerge "Revert "Display and parse numbers properly in all locales"" into oc-dev
Fan Zhang [Fri, 28 Apr 2017 23:24:40 +0000 (23:24 +0000)]
Merge "Revert "Display and parse numbers properly in all locales"" into oc-dev
am: 30e9474dbb

Change-Id: Ib72ca3ea03b3fb32d018e1fbad9b697ce5dd1391

7 years agoMerge "Revert "Display and parse numbers properly in all locales"" into oc-dev
TreeHugger Robot [Fri, 28 Apr 2017 23:08:19 +0000 (23:08 +0000)]
Merge "Revert "Display and parse numbers properly in all locales"" into oc-dev

7 years agoMerge "Tweak spacing for horizontal preferences."
TreeHugger Robot [Fri, 28 Apr 2017 22:20:07 +0000 (22:20 +0000)]
Merge "Tweak spacing for horizontal preferences."

7 years agoAdd emergency broadcast to app & notification settings.
Fan Zhang [Fri, 28 Apr 2017 20:51:08 +0000 (13:51 -0700)]
Add emergency broadcast to app & notification settings.

Also fixed a bug where progressive disclosure expand button is displayed
incorrectly when # of preference == threshold exactly.

Change-Id: I518687e374853ae8ab1c7e5337822492d6fd99ff
Fix: 36557600
Test: robotests

7 years agoRevert "Display and parse numbers properly in all locales"
Fan Zhang [Fri, 28 Apr 2017 21:06:28 +0000 (21:06 +0000)]
Revert "Display and parse numbers properly in all locales"

Bug: 37311645

This reverts commit 8648c5ed3d7c97915bd2ba0eeb413c98adf31eea.

Change-Id: If26d07a59dd9e71813a2b48f3bee25516bfb0b75

7 years agoAdd "add service" pref to the autofill picker
Philip P. Moltmann [Thu, 27 Apr 2017 22:38:27 +0000 (15:38 -0700)]
Add "add service" pref to the autofill picker

Mimicing the behavior we have for adding a print service.

Fixes: 37735998
Test: - Started auto fill picker with add-service-settings set and unset.
        Only if set, the preference is added
      - RunSettingsRoboTests (unrelated failure in
                              SetupChooseLockPatternTest)
      - Enable + disable auto fill service while settings is open
Change-Id: Ie019a032a1d01373f8fd0ebd7ae2ddf9c4d8871f

7 years agoMerge "Add content description to the master switch toggle button." into oc-dev am...
Doris Ling [Fri, 28 Apr 2017 19:41:59 +0000 (19:41 +0000)]
Merge "Add content description to the master switch toggle button." into oc-dev am: 10158feecf
am: 79d8e5db66

Change-Id: Ied594a8096175ad340f246af3d467629df687bc1

7 years agoMerge "Add content description to the master switch toggle button." into oc-dev
Doris Ling [Fri, 28 Apr 2017 19:34:34 +0000 (19:34 +0000)]
Merge "Add content description to the master switch toggle button." into oc-dev
am: 10158feecf

Change-Id: Icc68b53cbbb93755c7ce90db1c4d2f70d5e44cd1

7 years agoMerge "Add content description to the master switch toggle button." into oc-dev
TreeHugger Robot [Fri, 28 Apr 2017 19:24:10 +0000 (19:24 +0000)]
Merge "Add content description to the master switch toggle button." into oc-dev

7 years agoTweak spacing for horizontal preferences.
Fan Zhang [Fri, 28 Apr 2017 19:23:30 +0000 (12:23 -0700)]
Tweak spacing for horizontal preferences.

- Add minHeight to horizontal preference so they are not clustered
together.
- Wrap app_data_usage's into different categories so they don't rely on
SpacePreference to draw space and dividers.

Change-Id: Ieed90a39d48494d1207680483968b5733bdfb344
Fix: 37750568
Test: visual

7 years agoOnly show "reset app preference" actionbar menu in app info
Fan Zhang [Fri, 28 Apr 2017 18:22:05 +0000 (11:22 -0700)]
Only show "reset app preference" actionbar menu in app info

Because it doesn't make sense to show it in other types of app
list view.

Change-Id: Ia4f84812a6f0acc434f770b026e5ed550714087a
Fix: 36110694
Test: robotests

7 years agoMerge "Add method to check whether to enable anomaly detection"
TreeHugger Robot [Fri, 28 Apr 2017 18:37:37 +0000 (18:37 +0000)]
Merge "Add method to check whether to enable anomaly detection"

7 years agoMerge "Add flag to control whether or not we should tint icons"
TreeHugger Robot [Fri, 28 Apr 2017 18:16:25 +0000 (18:16 +0000)]
Merge "Add flag to control whether or not we should tint icons"

7 years agoDon't hide network reset even if it's disabled by admin.
Fan Zhang [Fri, 28 Apr 2017 17:58:41 +0000 (10:58 -0700)]
Don't hide network reset even if it's disabled by admin.

Change-Id: Ib78a3c9434c8543f3be34932264802f1065cc54b
Fix: 37134598
Test: robotests

7 years agoMerge "Properly index developer options."
TreeHugger Robot [Fri, 28 Apr 2017 17:24:33 +0000 (17:24 +0000)]
Merge "Properly index developer options."

7 years agoAdd flag to control whether or not we should tint icons
Fan Zhang [Fri, 28 Apr 2017 16:11:28 +0000 (09:11 -0700)]
Add flag to control whether or not we should tint icons

Fix: 34365726
Test: robotests
Change-Id: Ic08d8590c9867fb0383da03f05237f74644a77ff

7 years agoMerge "Fix a11y issues on the DO Disclosures page" into oc-dev am: 1871806fbe
Bartosz Fabianowski [Fri, 28 Apr 2017 15:28:13 +0000 (15:28 +0000)]
Merge "Fix a11y issues on the DO Disclosures page" into oc-dev am: 1871806fbe
am: 5c5b801371

Change-Id: I8fc5fa625cf5fee0a700ec1fa95e8409e727231d

7 years agoMerge "Fix a11y issues on the DO Disclosures page" into oc-dev
Bartosz Fabianowski [Fri, 28 Apr 2017 15:25:44 +0000 (15:25 +0000)]
Merge "Fix a11y issues on the DO Disclosures page" into oc-dev
am: 1871806fbe

Change-Id: I23a370dca49f5351e5ea4448386840bbc1ef81a3

7 years agoMerge "Fix a11y issues on the DO Disclosures page" into oc-dev
TreeHugger Robot [Fri, 28 Apr 2017 15:20:08 +0000 (15:20 +0000)]
Merge "Fix a11y issues on the DO Disclosures page" into oc-dev

7 years agoMerge "Update strings"
TreeHugger Robot [Fri, 28 Apr 2017 04:22:59 +0000 (04:22 +0000)]
Merge "Update strings"

7 years agoMerge "Use framework support to reserve icon space"
TreeHugger Robot [Fri, 28 Apr 2017 04:17:52 +0000 (04:17 +0000)]
Merge "Use framework support to reserve icon space"

7 years agoMerge "Check for permission when displaying AutofilLServices." into oc-dev am: 5d27ad49a3
Felipe Leme [Fri, 28 Apr 2017 03:13:47 +0000 (03:13 +0000)]
Merge "Check for permission when displaying AutofilLServices." into oc-dev am: 5d27ad49a3
am: bb542f0894

Change-Id: I9421d7daa5184b4dbb06c7bfcd8b2ab46fe41252

7 years agoMerge "Check for permission when displaying AutofilLServices." into oc-dev
Felipe Leme [Fri, 28 Apr 2017 03:05:54 +0000 (03:05 +0000)]
Merge "Check for permission when displaying AutofilLServices." into oc-dev
am: 5d27ad49a3

Change-Id: Iaf0b47c41ca879a88438f3a15fc7a6ab345236c1