OSDN Git Service

android-x86/packages-apps-Settings.git
8 years agoMerge "Don't crash on apps only installed for other users." into nyc-dev
Julia Reynolds [Tue, 26 Apr 2016 15:28:19 +0000 (15:28 +0000)]
Merge "Don't crash on apps only installed for other users." into nyc-dev

8 years agoSwap star tint.
Julia Reynolds [Tue, 26 Apr 2016 13:17:47 +0000 (09:17 -0400)]
Swap star tint.

Bug: 27558254
Change-Id: Iedcc61f326813047b50b1d68b4e82ac08ede5623

8 years agoDon't crash on apps only installed for other users.
Julia Reynolds [Mon, 25 Apr 2016 20:45:49 +0000 (16:45 -0400)]
Don't crash on apps only installed for other users.

Change-Id: I13d415441aa1c7d09df7adccd4e2d2f9bbd3dbfb
Fixes: 28151314

8 years agoMerge changes from topic 'qs-tiles' into nyc-dev
Daniel Sandler [Mon, 25 Apr 2016 19:21:24 +0000 (19:21 +0000)]
Merge changes from topic 'qs-tiles' into nyc-dev

* changes:
  Developer QS tile: GPU Profiling.
  Developer QS tile: Show Layout.

8 years agoMerge "Update string for work challenge" into nyc-dev
Tony Mak [Mon, 25 Apr 2016 15:36:03 +0000 (15:36 +0000)]
Merge "Update string for work challenge" into nyc-dev

8 years agoMerge "Make "work mode on dialog" show personal challenge in unified work lock" into...
Ricky Wai [Mon, 25 Apr 2016 13:11:44 +0000 (13:11 +0000)]
Merge "Make "work mode on dialog" show personal challenge in unified work lock" into nyc-dev

8 years agoImport translations. DO NOT MERGE
Bill Yi [Mon, 25 Apr 2016 05:35:45 +0000 (22:35 -0700)]
Import translations. DO NOT MERGE

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

8 years agoDeveloper QS tile: GPU Profiling.
Dan Sandler [Mon, 28 Mar 2016 15:13:40 +0000 (11:13 -0400)]
Developer QS tile: GPU Profiling.

Bug: 27872042
Change-Id: Ia57005df15572b1714af2a3a8cd5b9794fdfb165

8 years agoDeveloper QS tile: Show Layout.
Dan Sandler [Thu, 24 Mar 2016 17:24:27 +0000 (10:24 -0700)]
Developer QS tile: Show Layout.

Bug: 27872042
Change-Id: I0df2ffecbf7d2682d89c9b8343590bb04bcc305c

8 years agoMerge "Cleanup of the PackageInstaller API - Settings" into nyc-dev
Svetoslav Ganov [Fri, 22 Apr 2016 22:18:27 +0000 (22:18 +0000)]
Merge "Cleanup of the PackageInstaller API - Settings" into nyc-dev

8 years agoMerge "Disable tethering when Data Saver mode is on." into nyc-dev
Felipe Leme [Fri, 22 Apr 2016 21:39:51 +0000 (21:39 +0000)]
Merge "Disable tethering when Data Saver mode is on." into nyc-dev

8 years agoDisable tethering when Data Saver mode is on.
Felipe Leme [Fri, 22 Apr 2016 00:17:28 +0000 (17:17 -0700)]
Disable tethering when Data Saver mode is on.

BUG: 28313291
Change-Id: Idbedd440a1baa41f1407b32e86f5ae0080e60798

8 years agoMerge "Update print jobs appropriately in the print settings." into nyc-dev
Philip P. Moltmann [Fri, 22 Apr 2016 17:32:36 +0000 (17:32 +0000)]
Merge "Update print jobs appropriately in the print settings." into nyc-dev

8 years agoUpdate string for work challenge
Tony Mak [Fri, 22 Apr 2016 17:30:49 +0000 (18:30 +0100)]
Update string for work challenge

Also, increase the char limit to 100.

Change-Id: I2d896a0d942767ec949bc235b16c824e0c6f80c7
Fix: 28204828

8 years agoMerge "Change VPN failure notification to dialog" into nyc-dev
Robin Lee [Fri, 22 Apr 2016 16:00:14 +0000 (16:00 +0000)]
Merge "Change VPN failure notification to dialog" into nyc-dev

8 years agoMerge "Increase secondary text contrast on conditionals" into nyc-dev
Jason Monk [Fri, 22 Apr 2016 15:47:47 +0000 (15:47 +0000)]
Merge "Increase secondary text contrast on conditionals" into nyc-dev

8 years agoMerge "Attempt to fix receiver registering problems" into nyc-dev
Jason Monk [Fri, 22 Apr 2016 15:47:44 +0000 (15:47 +0000)]
Merge "Attempt to fix receiver registering problems" into nyc-dev

8 years agoMerge "Don't link to MobileNetworkSettings unless admin user" into nyc-dev
Jason Monk [Fri, 22 Apr 2016 15:47:39 +0000 (15:47 +0000)]
Merge "Don't link to MobileNetworkSettings unless admin user" into nyc-dev

8 years agoAttempt to fix receiver registering problems
Jason Monk [Fri, 22 Apr 2016 15:19:52 +0000 (11:19 -0400)]
Attempt to fix receiver registering problems

When in doubt, post to main thread.

Also clean up the listening state just in case there were any
doubts about it.

Change-Id: I9ab85781f38b0f694dc46ed5a953506ef10c5778
Fixes: 28319383 (Fingers crossed)

8 years agoMerge "Add accessibility actions to the drag-and-drop locale list" into nyc-dev
Mihai Niță [Fri, 22 Apr 2016 14:40:44 +0000 (14:40 +0000)]
Merge "Add accessibility actions to the drag-and-drop locale list" into nyc-dev

8 years agoDon't link to MobileNetworkSettings unless admin user
Jason Monk [Fri, 22 Apr 2016 14:24:55 +0000 (10:24 -0400)]
Don't link to MobileNetworkSettings unless admin user

Change-Id: Id497952b48b92dfb834dd9ffbdd4b987dc96e9a2
Fixes: 26881900

8 years agoChange VPN failure notification to dialog
Robin Lee [Thu, 21 Apr 2016 20:50:41 +0000 (21:50 +0100)]
Change VPN failure notification to dialog

It's pointless, verging on antipattern, to pop up a notification that
points to the screen we're already on, especially when that notification
is telling us something really high-priority ("your connection failed").

Change-Id: Idf0c219adcefd64b235960f3239a70b059213f7d
Fix: 27374485

8 years agoIncrease secondary text contrast on conditionals
Jason Monk [Fri, 22 Apr 2016 13:59:44 +0000 (09:59 -0400)]
Increase secondary text contrast on conditionals

Change-Id: Iaa2ae24aa66dc269b14eaf5fd40a2ff789939a0d
Fixes: 28178952

8 years agoUpdate "you're already connected to VPN" strings
Robin Lee [Fri, 22 Apr 2016 10:31:08 +0000 (11:31 +0100)]
Update "you're already connected to VPN" strings

Change-Id: I0e64a612b47655a0d74880bc45987c8cd2272ea8
Fix: 28303500
(cherry picked from commit 3e293cb63fdd13dc63f783f6d52e7fdd8266b344)

8 years agoMerge "Disable trust button when no screenlock is set" into nyc-dev
Victor Chang [Fri, 22 Apr 2016 11:02:41 +0000 (11:02 +0000)]
Merge "Disable trust button when no screenlock is set" into nyc-dev

8 years agoMerge "New UI to hint user about strong auth" into nyc-dev
Tony Mak [Fri, 22 Apr 2016 09:31:37 +0000 (09:31 +0000)]
Merge "New UI to hint user about strong auth" into nyc-dev

8 years agoCleanup of the PackageInstaller API - Settings
Svetoslav Ganov [Thu, 14 Apr 2016 01:28:24 +0000 (18:28 -0700)]
Cleanup of the PackageInstaller API - Settings

The PackageInstaller app manages side-loading apps as well
as permission management. It should be updatable, hence
should rely on system APIs to talk to the platform. This
is the first step of defining an API boundary.

Change-Id: Ibb21114a7a9fa28f6db68492fe37c02c1b2f0c6b

8 years agoAdd accessibility actions to the drag-and-drop locale list
Mihai Nita [Thu, 21 Apr 2016 21:56:59 +0000 (14:56 -0700)]
Add accessibility actions to the drag-and-drop locale list

Dragging is not supported neither by TalkBack or the accessibility
framework at the moment. So we need custom actions to be able
to change the order of the locales.

Also, the remove functionality is difficult to discover and use
with TalkBack only, so we are also adding a "remove" action.

It only removes one locale at the time, but most users don't
really add many locales "by mistake", so there is no real need
to delete a lot of locales at once.

Bug: 28173358
Change-Id: I3566304e3d2de87cf9243d7e87631b12d72fc929

8 years agoUpdate print jobs appropriately in the print settings.
Philip P. Moltmann [Thu, 21 Apr 2016 22:15:37 +0000 (15:15 -0700)]
Update print jobs appropriately in the print settings.

- Always use a fresh print job as once the print job goes away it cannot
  be read. Before we were stuck with the last state which might not been
  the last state
- make loaders relative to fragment to avoid loader id duplications with
  other ids of the activity.

Fixes: 28315242
Change-Id: I57eeb64b44b5d77b2092c22b175407131f7baf97

8 years agoMerge "[Fingerprint] Update strings" into nyc-dev
Maurice Lam [Thu, 21 Apr 2016 22:06:03 +0000 (22:06 +0000)]
Merge "[Fingerprint] Update strings" into nyc-dev

8 years agoMerge "Settings: change the TTS text to use the current locale" into nyc-dev
Mihai Niță [Thu, 21 Apr 2016 19:55:41 +0000 (19:55 +0000)]
Merge "Settings: change the TTS text to use the current locale" into nyc-dev

8 years agoMerge "Fix ApnSettings crash issue." into nyc-dev
Amit Mahajan [Thu, 21 Apr 2016 19:41:12 +0000 (19:41 +0000)]
Merge "Fix ApnSettings crash issue." into nyc-dev

8 years agoFix ApnSettings crash issue.
yifan.bai [Fri, 15 Apr 2016 07:25:03 +0000 (15:25 +0800)]
Fix ApnSettings crash issue.

Steps:
1. Add a new APN;
2. Click 'Reset to default';
3. During reset, click the new APN;
4. Crash happened.
Solution:
Disable menu items when reseting default APN.

Bug: 28314239
Change-Id: I8df439d066e58039e9f91a9be642127eb7298159

8 years agoMerge changes Ibac27ee1,I336aeefd into nyc-dev
Robin Lee [Thu, 21 Apr 2016 19:13:48 +0000 (19:13 +0000)]
Merge changes Ibac27ee1,I336aeefd into nyc-dev

* changes:
  Be more aggressive caching Vpn preference attrs
  One updateSummary method called by all VPN prefs

8 years agoMerge "Fix summary loader lifecycle" into nyc-dev
Jason Monk [Thu, 21 Apr 2016 18:20:08 +0000 (18:20 +0000)]
Merge "Fix summary loader lifecycle" into nyc-dev

8 years agoFix summary loader lifecycle
Jason Monk [Thu, 21 Apr 2016 18:15:13 +0000 (14:15 -0400)]
Fix summary loader lifecycle

Previous CL accidentally cleared the listening bit too early making
it never actually tell the SummaryProviders to stop listening.

Change-Id: I6af1acc861f6987b33641c40637354c75cf4d708
Fixes: 28306872

8 years agoMerge "Support IMEs that have no subtype in PhysicalKeyboardFragment." into nyc-dev
Yohei Yukawa [Thu, 21 Apr 2016 17:11:53 +0000 (17:11 +0000)]
Merge "Support IMEs that have no subtype in PhysicalKeyboardFragment." into nyc-dev

8 years agoBe more aggressive caching Vpn preference attrs
Robin Lee [Thu, 21 Apr 2016 11:56:21 +0000 (12:56 +0100)]
Be more aggressive caching Vpn preference attrs

As any change to the preference title will cause it to lose focus,
best not to do this too often.

Change-Id: Ibac27ee1de42fd7ca05f3e3685b84f37dac39517
Fix: 28191965

8 years agoMerge "Screen saver string fixes" into nyc-dev
Jason Monk [Thu, 21 Apr 2016 15:55:27 +0000 (15:55 +0000)]
Merge "Screen saver string fixes" into nyc-dev

8 years agoScreen saver string fixes
Jason Monk [Thu, 21 Apr 2016 15:50:58 +0000 (11:50 -0400)]
Screen saver string fixes

Change-Id: I609509787e5f7f9f03eb0e478ab358fe930b0678
Fixes: 28268243

8 years agoMerge "Include work app in battery optimization settings" into nyc-dev
Keith Cheung [Thu, 21 Apr 2016 15:18:06 +0000 (15:18 +0000)]
Merge "Include work app in battery optimization settings" into nyc-dev

8 years agoDisable trust button when no screenlock is set
Victor Chang [Thu, 21 Apr 2016 14:45:59 +0000 (15:45 +0100)]
Disable trust button when no screenlock is set

Remove button is still allowed as it has been allowed in MNC
(Trust button is new in NYC)

Bug: 28161447
Change-Id: I8df73e1008c2e805f4d0b2ec68d8a4aa3bf75aba

8 years agoMerge "Fix only one battery stat showing sometimes." into nyc-dev
Jason Monk [Thu, 21 Apr 2016 14:21:40 +0000 (14:21 +0000)]
Merge "Fix only one battery stat showing sometimes." into nyc-dev

8 years agoFix only one battery stat showing sometimes.
Jason Monk [Thu, 21 Apr 2016 14:12:30 +0000 (10:12 -0400)]
Fix only one battery stat showing sometimes.

Take into account the prefs we are currently caching within the
group when counting how many prefs have been added.

Change-Id: I962acd41592c1a9366882711d3f4944bffb54d22
Fixes: 27931457

8 years agoInclude work app in battery optimization settings
Keith Cheung [Mon, 18 Apr 2016 17:36:49 +0000 (18:36 +0100)]
Include work app in battery optimization settings

Fix: 23684151

Change-Id: If2d1a18838414122d8af57fda7138f87fd3f1e62

8 years agoMerge "Fix: Spell checker cannot be re-enabled." into nyc-dev
Keisuke Kuroyanagi [Thu, 21 Apr 2016 13:38:14 +0000 (13:38 +0000)]
Merge "Fix: Spell checker cannot be re-enabled." into nyc-dev

8 years agoMerge "Don't save a rule without a name." into nyc-dev
Julia Reynolds [Thu, 21 Apr 2016 12:29:30 +0000 (12:29 +0000)]
Merge "Don't save a rule without a name." into nyc-dev

8 years agoOne updateSummary method called by all VPN prefs
Robin Lee [Tue, 19 Apr 2016 11:29:02 +0000 (12:29 +0100)]
One updateSummary method called by all VPN prefs

Having multiple methods means inevitably when new features are added to
the preferences, the right calls aren't made so information on the
screen lags between updates.

Bug: 28257641
Change-Id: I336aeefd5941ccf808dc9070427209a7d2530032
(cherry picked from commit 903843e6f9ead6f17d3685a551dc85083b147038)

8 years agoNew UI to hint user about strong auth
Tony Mak [Thu, 21 Apr 2016 09:27:43 +0000 (10:27 +0100)]
New UI to hint user about strong auth

Instead of having a separate textview, we now reuse the detail textview
to show the hint.

Fix: 28204828

Change-Id: I3eff3240bf7ecb1495fbf11a073a273a0de603ae

8 years agoSupport IMEs that have no subtype in PhysicalKeyboardFragment.
Yohei Yukawa [Thu, 21 Apr 2016 00:20:26 +0000 (17:20 -0700)]
Support IMEs that have no subtype in PhysicalKeyboardFragment.

With a Framework-side change [1],
InputManager#{get, set}KeyboardLayoutForInputDevice() are now able to
deal with null InputMethodSubtype as a valid input.  With this CL, we no
longer filter out IMEs that do not support subtypes in
PhysicalKeyboardFragment.

 [1]: Ia013784a594ad3beaf30976d047f5ac0fa8185be

Bug: 28182650
Change-Id: I46b9c5b018f08e3eaa4614a0893db0be91652f3c

8 years agoMerge "Fix bug where fingerprint for wrong userId was attempted to be removed." into...
Jim Miller [Wed, 20 Apr 2016 21:33:13 +0000 (21:33 +0000)]
Merge "Fix bug where fingerprint for wrong userId was attempted to be removed." into nyc-dev

8 years agoFix bug where fingerprint for wrong userId was attempted to be removed.
Jim Miller [Wed, 20 Apr 2016 21:06:00 +0000 (14:06 -0700)]
Fix bug where fingerprint for wrong userId was attempted to be removed.

- cleaned up private API to ensure userId is distinct from groupId.
- fixed bug where we were sending the wrong userId when attempting to
- fix warning about wrong fingerId when receiving final id of 0.

Fixes bug 28268635

Change-Id: Ic8abfbf6fbf173db2d57a76ac2e38b2a71ffd19e

8 years agoMerge "Fixes a string for tablets/devices" into nyc-dev
Udam Saini [Wed, 20 Apr 2016 20:54:41 +0000 (20:54 +0000)]
Merge "Fixes a string for tablets/devices" into nyc-dev

8 years agoMerge "Remove some of the unused assets" into nyc-dev
TreeHugger Robot [Wed, 20 Apr 2016 20:42:55 +0000 (20:42 +0000)]
Merge "Remove some of the unused assets" into nyc-dev

8 years agoMerge "Add minimum date" into nyc-dev
Jason Monk [Wed, 20 Apr 2016 20:36:36 +0000 (20:36 +0000)]
Merge "Add minimum date" into nyc-dev

8 years agoDon't save a rule without a name.
Julia Reynolds [Wed, 20 Apr 2016 20:08:30 +0000 (16:08 -0400)]
Don't save a rule without a name.

Bug: 28282339
Change-Id: Ie0a66f980c920354d172be4f0b91584338efce69

8 years agoMerge "Add settings for altering VR display behavior." into nyc-dev
Ruben Brunk [Wed, 20 Apr 2016 19:51:49 +0000 (19:51 +0000)]
Merge "Add settings for altering VR display behavior." into nyc-dev

8 years agoAdd settings for altering VR display behavior.
Ruben Brunk [Tue, 19 Apr 2016 01:08:34 +0000 (18:08 -0700)]
Add settings for altering VR display behavior.

Bug=28208992

Change-Id: I73e3154e7766f7379af558c66316c213fdd494d8

8 years agoAdd minimum date
Jason Monk [Wed, 20 Apr 2016 19:44:21 +0000 (15:44 -0400)]
Add minimum date

Change-Id: I928c99b7b2eb3dc35b2e25034dfe32a784355239
Fixes: 26346842

8 years agoRemove some of the unused assets
Jason Monk [Wed, 20 Apr 2016 19:10:08 +0000 (15:10 -0400)]
Remove some of the unused assets

Probably didn't get them all, but this is good enough for now.

Change-Id: I86637d7ae1e31ba9cd625589fa1e4ded32cca4b3
Fixes: 27816752

8 years agoFixes a string for tablets/devices
Udam Saini [Wed, 20 Apr 2016 18:27:02 +0000 (11:27 -0700)]
Fixes a string for tablets/devices

Had accidentally always set this to phone.

bug:28293197
Change-Id: I926e4c9681f2e7e660bdc2664256c8a7ea6e7951

8 years agoMerge "Fix summaries of some restricted switch preferences." into nyc-dev
Sudheer Shanka [Wed, 20 Apr 2016 18:04:12 +0000 (18:04 +0000)]
Merge "Fix summaries of some restricted switch preferences." into nyc-dev

8 years agoMerge "Apply policy transparency to "Stay awake" in Development settings." into nyc-dev
Sudheer Shanka [Wed, 20 Apr 2016 17:50:32 +0000 (17:50 +0000)]
Merge "Apply policy transparency to "Stay awake" in Development settings." into nyc-dev

8 years agoMerge "Daydream -> Screen saver" into nyc-dev
Jason Monk [Wed, 20 Apr 2016 17:49:02 +0000 (17:49 +0000)]
Merge "Daydream -> Screen saver" into nyc-dev

8 years agoMerge "Listen to INetworkPolicyManager events and update UI accordingly." into nyc-dev
TreeHugger Robot [Wed, 20 Apr 2016 17:44:54 +0000 (17:44 +0000)]
Merge "Listen to INetworkPolicyManager events and update UI accordingly." into nyc-dev

8 years agoDaydream -> Screen saver
Jason Monk [Wed, 20 Apr 2016 17:39:18 +0000 (13:39 -0400)]
Daydream -> Screen saver

Change-Id: I7e283456f66750d61c920d92b53b107423b96e30
Fixes: 28268243

8 years agoMerge "Fix sim status screen" into nyc-dev
Jason Monk [Wed, 20 Apr 2016 17:24:24 +0000 (17:24 +0000)]
Merge "Fix sim status screen" into nyc-dev

8 years agoFix sim status screen
Jason Monk [Wed, 20 Apr 2016 17:22:36 +0000 (13:22 -0400)]
Fix sim status screen

Change-Id: Id7a98b642b006beb8dc6999176184b5d90f6b22f
Fixes: 27963774

8 years agoMerge "Fix storage title clearing in multi-window" into nyc-dev
Jason Monk [Wed, 20 Apr 2016 17:08:28 +0000 (17:08 +0000)]
Merge "Fix storage title clearing in multi-window" into nyc-dev

8 years agoFix storage title clearing in multi-window
Jason Monk [Wed, 20 Apr 2016 17:05:45 +0000 (13:05 -0400)]
Fix storage title clearing in multi-window

By accurately tracking detached state.

Change-Id: If9d60000f7737c834afde680d15a2af21f7e3165
Fixes: 27989238

8 years agoListen to INetworkPolicyManager events and update UI accordingly.
Felipe Leme [Tue, 19 Apr 2016 17:00:20 +0000 (10:00 -0700)]
Listen to INetworkPolicyManager events and update UI accordingly.

BUG: 27481520

Change-Id: I09c4c586188d754ddd3ac3dcb3903217842ea0a5

8 years agoMerge "Potential fix for receiver leak problem" into nyc-dev
Jason Monk [Wed, 20 Apr 2016 13:49:32 +0000 (13:49 +0000)]
Merge "Potential fix for receiver leak problem" into nyc-dev

8 years agoMerge "Fix Developer options appears after first boot, disappers on Settings Menu...
Clara Bayarri [Wed, 20 Apr 2016 13:24:43 +0000 (13:24 +0000)]
Merge "Fix Developer options appears after first boot, disappers on Settings Menu Reload" into nyc-dev

8 years agoFix Developer options appears after first boot, disappers on Settings Menu Reload
Clara Bayarri [Wed, 20 Apr 2016 10:29:04 +0000 (11:29 +0100)]
Fix Developer options appears after first boot, disappers on Settings Menu Reload

The Tiles are updated to disabled via PackageManager, which takes a few
seconds to kick in and hence the user sees the option appear and then
disappear. Making Developer Options disabled by default fixes the flash.

Note now the opposite happens, on eng builds where Developer Settings
are on by default they will not appear until the PackageManager update
has cleared.

Bug: 28121698
Change-Id: Ic7147e4430e2332d596ce37dbbce30e330dcf551

8 years agoApply policy transparency to "Stay awake" in Development settings.
Sudheer Shanka [Wed, 20 Apr 2016 05:48:26 +0000 (22:48 -0700)]
Apply policy transparency to "Stay awake" in Development settings.

Bug: 28271254
Change-Id: I203ce5c839e5f0201d287673ec3a48c8f835edc3

8 years agoFix summaries of some restricted switch preferences.
Sudheer Shanka [Wed, 20 Apr 2016 04:46:31 +0000 (21:46 -0700)]
Fix summaries of some restricted switch preferences.

Bug: 27659072
Change-Id: I2cfb270ba77b0cfe3c81097b59779f70062b9b65

8 years agoMerge "Add nullcheck to StorageSettings." into nyc-dev
Daichi Hirono [Wed, 20 Apr 2016 00:04:11 +0000 (00:04 +0000)]
Merge "Add nullcheck to StorageSettings." into nyc-dev

8 years ago[Fingerprint] Update strings
Maurice Lam [Tue, 19 Apr 2016 21:10:34 +0000 (14:10 -0700)]
[Fingerprint] Update strings

Update the label for the options in setup to match the flow model of
setup wizard.

Bug: 28219260
Change-Id: Ia975b5fc95c7c82c5ec23a2af5dcdcd9d69bb594

8 years agoMerge "Fix back button on fragments without help uris" into nyc-dev
Udam Saini [Tue, 19 Apr 2016 20:39:29 +0000 (20:39 +0000)]
Merge "Fix back button on fragments without help uris" into nyc-dev

8 years agoMerge "Fixed AccessPreference listener." into nyc-dev
TreeHugger Robot [Tue, 19 Apr 2016 18:41:06 +0000 (18:41 +0000)]
Merge "Fixed AccessPreference listener." into nyc-dev

8 years agoMerge "Remove reference to @string/ssl_ca_cert_dialog_title" into nyc-dev
Victor Chang [Tue, 19 Apr 2016 18:29:15 +0000 (18:29 +0000)]
Merge "Remove reference to @string/ssl_ca_cert_dialog_title" into nyc-dev

8 years agoMerge "Fix account screen in split screen" into nyc-dev
Jason Monk [Tue, 19 Apr 2016 18:09:27 +0000 (18:09 +0000)]
Merge "Fix account screen in split screen" into nyc-dev

8 years agoFix account screen in split screen
Jason Monk [Tue, 19 Apr 2016 18:05:19 +0000 (14:05 -0400)]
Fix account screen in split screen

Don't remove all prefs in on pause, because why would you...

Change-Id: I9139dabf917b05860e738dc0b2aa19df8f983a7e
Fixes: 27987782

8 years agoMerge "Fix preview screen crashing and glitches for Display / Font size Bug: 28223545...
Noah Wang [Tue, 19 Apr 2016 17:56:49 +0000 (17:56 +0000)]
Merge "Fix preview screen crashing and glitches for Display / Font size Bug: 28223545 Bug: 28223533 Bug: 28210654 Bug: 28210242 Bug: 28208955 Bug: 27699996" into nyc-dev

8 years agoFix back button on fragments without help uris
Johan Redestig [Tue, 19 Apr 2016 06:29:30 +0000 (08:29 +0200)]
Fix back button on fragments without help uris

This is a follow up to 0708d9e119. The setHasOptionsMenu has
to be set for the back button to work and this needs to happen
regardles if the fragment has an help uri or not.

Bug: 28237921
Change-Id: Icec7a94312bdab5470efa0893a339d753c995eb1

8 years agoFixed AccessPreference listener.
Felipe Leme [Tue, 19 Apr 2016 17:05:08 +0000 (10:05 -0700)]
Fixed AccessPreference listener.

When an app is blacklisted, its switch toggle is disabled, but previous
the onClick() method was still being called, which would launch the data
usage screen but also call setIsWhitelist().

BUG: 27481520
Change-Id: Id8df3d65eee286d1aecb4ae2a0417d6932d91441

8 years agoRemove reference to @string/ssl_ca_cert_dialog_title
Victor Chang [Tue, 19 Apr 2016 16:45:07 +0000 (17:45 +0100)]
Remove reference to @string/ssl_ca_cert_dialog_title

Bug: 28263186
Change-Id: I2e1c7d30d1fff49b2103acec90769edf4b61911b

8 years agoSettings: change the TTS text to use the current locale
Mihai Nita [Tue, 19 Apr 2016 16:20:20 +0000 (09:20 -0700)]
Settings: change the TTS text to use the current locale

Google TTS currently does not support language auto-switching.
Also, not all languages are available in TTS at all times.
This means that TTS cannot properly handle text in other languages / scripts
than the current language.
Languages with different scripts would not be read at all, and the others
would be read with "bad pronunciation", to the point of being unrecognizable.

This change is not a full fix, but makes things slightly better by using
the default locale for the contentDescription in the language / region lists.

This might be a bit unsettling, as the label will not match the sound.
The label will show "Deutsch" or "Русский" and text-to-speech will say "German"
or "Russian" (for English UI), or "Allemand" or "Russe" (if the UI is French).
Might also say nothing, if the current UI language has no text-to-speech engine.

But this is the best we can do, and better that what we get if we do nothing.

Bug: 28087937
Change-Id: I54d49ec96a10bab3e31198e162230fb277426e66

8 years agoMerge "Guard against app info crash" into nyc-dev
Jason Monk [Tue, 19 Apr 2016 13:38:38 +0000 (13:38 +0000)]
Merge "Guard against app info crash" into nyc-dev

8 years agoMerge "Apply policy transparency to HotspotCondition and WiFi settings..." into nyc-dev
Zoltan Szatmary-Ban [Tue, 19 Apr 2016 13:25:22 +0000 (13:25 +0000)]
Merge "Apply policy transparency to HotspotCondition and WiFi settings..." into nyc-dev

8 years agoMerge "Input Settings: Change the 'add' icon." into nyc-dev
Abodunrinwa Toki [Tue, 19 Apr 2016 10:56:34 +0000 (10:56 +0000)]
Merge "Input Settings: Change the 'add' icon." into nyc-dev

8 years agoAdd nullcheck to StorageSettings.
Daichi Hirono [Tue, 19 Apr 2016 10:39:42 +0000 (19:39 +0900)]
Add nullcheck to StorageSettings.

Change-Id: I6e3e00557c2086a265d399ea7d060d07befebdf7
Fixes: 28255655

8 years agoMerge "Fix: SpellChecker subtype label cannot be updated." into nyc-dev
Keisuke Kuroyanagi [Tue, 19 Apr 2016 04:17:02 +0000 (04:17 +0000)]
Merge "Fix: SpellChecker subtype label cannot be updated." into nyc-dev

8 years agoHandle blacklisted apps on Data Saver whitelist.
Felipe Leme [Fri, 15 Apr 2016 00:53:07 +0000 (17:53 -0700)]
Handle blacklisted apps on Data Saver whitelist.

When user blacklists an app for background data access, the
"Unrestricted data access" list should not display the whitelist toggle
option, but rather explain background access is turned off and offer the
option to open the app's data usage screen to turn it back on.

It still does not handle changed received by DataSaverBackend, so the UI
will be stale when the user removes a blacklist and navigates back to
the list.

BUG: 27481520

Change-Id: I9d0fa9f0180a69ce9bd1417921bf89ec3ba31f01

8 years agoFix preview screen crashing and glitches for
Noah Wang [Fri, 15 Apr 2016 20:49:12 +0000 (13:49 -0700)]
Fix preview screen crashing and glitches for
Display / Font size
Bug: 28223545
Bug: 28223533
Bug: 28210654
Bug: 28210242
Bug: 28208955
Bug: 27699996

Change-Id: I80339dabbd089db8a6c6a80645baabb9b4cad00e

8 years agoGuard against app info crash
Jason Monk [Mon, 18 Apr 2016 19:47:01 +0000 (15:47 -0400)]
Guard against app info crash

Change-Id: Ifb52ec61718723202e5ec7da5f9723a4764968ba
Fixes: 28171829

8 years agoPotential fix for receiver leak problem
Jason Monk [Mon, 18 Apr 2016 19:27:43 +0000 (15:27 -0400)]
Potential fix for receiver leak problem

The background thread is not stopping listening fast enough and is
resulting in first a receiver leak message followed by a crash when
trying to finally unregister the receiver.

Fix this by adding a registerReceiver to SummaryLoader that will
automatically unregister the receiver on the main thread to ensure
it happens in time.

Change-Id: I0104e929d5505eb53993f6765e4c90120df35cf6
Fixes: 28211606

8 years agoMerge "Use IME service logo or icon if exists." into nyc-dev
Yohei Yukawa [Mon, 18 Apr 2016 19:01:27 +0000 (19:01 +0000)]
Merge "Use IME service logo or icon if exists." into nyc-dev

8 years agoMerge "Set the minimum speech rate to a value of ten instead of zero." into nyc-dev
Shweta Chahar [Mon, 18 Apr 2016 18:20:58 +0000 (18:20 +0000)]
Merge "Set the minimum speech rate to a value of ten instead of zero." into nyc-dev

8 years agoMake "work mode on dialog" show personal challenge in unified work lock
Ricky Wai [Mon, 18 Apr 2016 14:32:39 +0000 (15:32 +0100)]
Make "work mode on dialog" show personal challenge in unified work lock

Bug: 28183335
Change-Id: I905158c83f410cc9f6b1bf01c57ac2a98fdc9e58