Commit Graph

249922 Commits

Author SHA1 Message Date
Chris Wren
688ebc6f75 Merge "Never fetch notification badges for USER_SYSTEM" into nyc-dev
am: 0a9ccf2619

* commit '0a9ccf26192bc5a6fd74afb7afd4834b08230299':
  Never fetch notification badges for USER_SYSTEM

Change-Id: I0e4bd4aaf4c6513c289ca948f63c5bc5c3c7ed02
2016-05-23 17:47:29 +00:00
Chris Wren
0a9ccf2619 Merge "Never fetch notification badges for USER_SYSTEM" into nyc-dev 2016-05-23 17:44:16 +00:00
Philip P. Moltmann
a26b775dc1 Add Samsung print recommendation plugin.
The code follows the same pattern as the HP and Mopria plugins. As this code is contributed by a 3rd I'd rather submit this as is and let the original submitter clean it up once it appears in AOSP.

The code should not affect anything outside of the package it is in. In the package the code is strongly isolated so that one plugin cannot cause issues with another plugin.

The code was minimally tested on a Samsung SCX-3406FW .

Bug: 28908572
Change-Id: I33c2673d06711902dbd0f1d82563cf5d3fbfe86a
(cherry picked from commit 83defde085)
2016-05-23 17:41:40 +00:00
Sid Soundararajan
4332dda9a7 Add a check to adjust thumbnail scaling for full screen shots on TV
This should let us get away with taking smaller bitmaps for TV.

BUG: 28371792
Change-Id: Ia5d43dd48c57c4dd519b46f0c0d0ec94df5f42a9
2016-05-23 10:39:00 -07:00
Tony Mak
741e0b14cf Merge "Remove PROPERTY_WORK_CALL" into nyc-dev
am: 5ee420c0d5

* commit '5ee420c0d562e9ff55fe9bf03c746bc76fd40d5e':
  Remove PROPERTY_WORK_CALL

Change-Id: I038ac8c085d5f6590cf8dfa0abc0864da3dd89e2
2016-05-23 17:23:51 +00:00
Winson
5e04aeb328 Catching all exceptions when docking.
am: f60a4af047

* commit 'f60a4af04779174b39b7d3d277de88ed1204d024':
  Catching all exceptions when docking.

Change-Id: I6f7d31e267686de5f9b12161469ca1490de23b15
2016-05-23 17:23:47 +00:00
Tony Mak
5ee420c0d5 Merge "Remove PROPERTY_WORK_CALL" into nyc-dev 2016-05-23 17:17:27 +00:00
Winson
f60a4af047 Catching all exceptions when docking.
- Catch all exceptions thrown when docking an activity (similar to when
  we start an activity) to allow us to gracefully handle the failure and
  animate the task back into the stack.

Bug: 28867188
Change-Id: I3f80d261343c0161c5cbfd08a05a1fc6157f653e
2016-05-23 17:12:33 +00:00
Philip P. Moltmann
8aa4856f22 Correct height of add printer list separator
Do not use listPreferredItemHeightSmall a height for list separator.

Fixes: 28907033
Change-Id: Ibe9744f28e7bd17fb5a298fa3cff0e3d403de10f
2016-05-23 09:54:39 -07:00
Gustav Sennton
fd07efa44e Load WebView even if WebView relro creation times out.
There are cases in which the WebView Update Service can stop switching
WebView providers (if the update service is notified about relro
creations an incorrect number of times) and in those cases apps will
fail to load WebView.

In this CL we mitigate this problem by allowing apps to load WebView
even if the time-out is reached and we also decrease the time-out so
apps are less likely to ANR when waiting for the time-out.

This CL does not prevent the update service from ending up in a bad
state - so we will still end up crashing apps if the current WebView
implementation is uninstalled after relro creation fails.

Bug: 28860862
Change-Id: Ib6af3722e17a13db77ef34c37581a6a0e1d045bb
2016-05-23 17:49:05 +01:00
Jean-Michel Trivi
f04fab160a Recording activity notification: return list of configuration
Use a list of configurations instead of an array

Bug 28819230

Change-Id: Ia4a3cdabf8337cfb98abe4d0055d497bcab8a5ee
2016-05-23 09:44:58 -07:00
Felipe Leme
a4aba6eaf5 Fixed enforceMeteredApnPolicy when Data Saver is on.
When enforceMeteredApnPolicy() is called when Data Saver mode is on and
the caller's UID is not whitelisted, it should add a
NET_CAPABILITY_NOT_METERED to the capabilities.

Change-Id: Ieed4f4a7634ee023ec58c91859263655e0ba62d4
Fixes: 28608499 (and https://code.google.com/p/android/issues/detail?id=208478)
2016-05-23 09:43:53 -07:00
Victor Chang
12753ded44 Fix Certificate authority installed notification is gone when turning off and on the work mode.
cause: Work mode is turned on before entering USER_STOPPED state.
Thus, BOOT_COMPLETED broadcast is not sent, but the notification has been dismissed.

use USER_STARTED + USER_UNLOCKED because both are foreground.

Bug: 28864104
Change-Id: I4796b61586e194d8367b9e52a9c56f858cbcbe7d
2016-05-23 17:41:01 +01:00
Wale Ogunwale
8c09c7dd7a Fixed flicker when docking task from recents.
Regression introduced by ag/1044640 where we don't want recents to the
visible if it's stack isn't fullscreen or focused. However, it is
possible for switching the home stack to not-fullscreen to prolonged
while transitioning to split-screen mode from recents. We now check
for if the docked stack exists which is a better indicator we are in
split-screen mode regardless of if the stask is fullscreen.

Bug: 28882948
Bug: 28246419
Change-Id: I54c02cc1486e7b5bf6a20dd0706c9bfe3f40a953
2016-05-23 09:10:24 -07:00
Bill Yi
5745dc0e45 Merge "Import translations. DO NOT MERGE" into nyc-dev
am: 6a983faab3  -s ours

* commit '6a983faab35cc4f22611b0cb8041f4dcbac545dc':
  Import translations. DO NOT MERGE

Change-Id: Ibafdfdf355699c6a8d8461928400639e692500b2
2016-05-23 16:03:30 +00:00
Bill Yi
f2475c29e1 Merge "Import translations. DO NOT MERGE" into nyc-dev
am: 7d1246e95d  -s ours

* commit '7d1246e95d0815424e6654af4ef613a7726551b1':
  Import translations. DO NOT MERGE

Change-Id: I8fb493e8cd0005c0269c86209a48cd5e31179f81
2016-05-23 16:03:27 +00:00
Bill Yi
0b9b896202 Merge "Import translations. DO NOT MERGE" into nyc-dev
am: 05be3b4541  -s ours

* commit '05be3b454134afc73ae44cda88af10bead5324a6':
  Import translations. DO NOT MERGE

Change-Id: Ibdb1ab97fd2995e507cec35a52a30063e91c5ff9
2016-05-23 16:03:23 +00:00
TreeHugger Robot
6a983faab3 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-05-23 15:49:55 +00:00
Bill Yi
ddf0507239 Merge "Import translations. DO NOT MERGE" into nyc-dev
am: fa65d11a21  -s ours

* commit 'fa65d11a21700634a52311190f40d5fd64535e8e':
  Import translations. DO NOT MERGE

Change-Id: I16981cd6000b92784f640ac979c373a60c59e839
2016-05-23 15:49:19 +00:00
TreeHugger Robot
7d1246e95d Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-05-23 15:48:15 +00:00
TreeHugger Robot
05be3b4541 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-05-23 15:48:00 +00:00
TreeHugger Robot
fa65d11a21 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-05-23 15:35:53 +00:00
Lorenzo Colitti
11e13e2175 Support IPv6 multicast filtering in APF.
For now this just drops all non-ICMPv6 packets to ff00::/8 when
mMulticastFilter is true. Multicast ICMPv6 is already mostly
dealt with by other filters - the L2 multicast filter, the RA
filter, the multicast NA filter, and ND offload.

Bug: 28393601
Change-Id: Ia7b0d4f00fac6710093befe6a726b46677a5f20b
2016-05-24 00:02:07 +09:00
Erik Kline
d8e1592e64 Support DHCPv4 rebinding state
Bug: 24837343
Change-Id: Id49e1c12ec3b11fedba42bb28348a00cb0b11169
2016-05-23 23:56:46 +09:00
Ricky Wai
4266feeb93 Unlock work profile storage even work mode is off
Bug: 28860823
Change-Id: Ic89027f163e4c4e1ba9e8c24174475b6a4a983a4
2016-05-23 15:33:04 +01:00
Bill Yi
ea28bc9461 Import translations. DO NOT MERGE
Change-Id: I6a67ee6c7f1c034eaea3885f13884f6c7add477d
Auto-generated-cl: translation import
2016-05-23 06:21:44 -07:00
Victor Chang
1e93177121 Merge "New api in LockSettingsService to get StrongAuth synchronously" into nyc-dev
am: d86ac8116b

* commit 'd86ac8116bfc64c61d8124ff8d3e92be5e55cd3e':
  New api in LockSettingsService to get StrongAuth synchronously

Change-Id: I3fe13c51d5d33f5689f0b4130a33cf3a2777e186
2016-05-23 11:58:41 +00:00
Victor Chang
d86ac8116b Merge "New api in LockSettingsService to get StrongAuth synchronously" into nyc-dev 2016-05-23 11:51:56 +00:00
Sergio Giro
80755a5a25 ZygoteInit: install AndroidKeyStoreProvider in the Zygote
Instead of in activity thread. That way, we can warm up (ie,
precompute cached values) this provider and AndroidBCWorkaroundProvider
(which are installed together) so that the computation doesn't
happen in the app. As a result, the time spent in the first call to
SSLSocketFactory.getDefault() decreases by ~5ms in angler userdebug.
Measured with an app calling SSLSocketFactory.getDefault in onCreate
and timed it with System.currentTimeMillis() .

(cherry picked from commit 69de32071c)

Bug: 28545496
Change-Id: Ic4e11d058fb404eaa92db925a3e765fc3bef7ae2
2016-05-23 11:24:34 +01:00
Nicolas Prevot
051f3b7aec Use correct user id when checking uri grants for notification.
An application is allowed to notify a change to a uri if it
has a grant to this uri. Use the correct user id to check
this grant.

BUG:19312280
Change-Id: I8bad2e65325fdfef4907d7b71b4f264dff567217
2016-05-23 11:03:15 +01:00
Lorenzo Colitti
38aff6828d Merge "Only actually log the DNS events we have." into nyc-dev
am: cb98809657

* commit 'cb988096570de8af4883ae3bdea06c88f8fd235a':
  Only actually log the DNS events we have.

Change-Id: I6fa83369e45fbf0a33c0519cc47e5d3f21321463
2016-05-23 09:10:55 +00:00
TreeHugger Robot
cb98809657 Merge "Only actually log the DNS events we have." into nyc-dev 2016-05-23 09:01:45 +00:00
Bill Yi
88a2eff6cb Import translations. DO NOT MERGE
Change-Id: I23d94944484c50e6fae32f95b34406055078299e
Auto-generated-cl: translation import
2016-05-23 01:53:03 -07:00
Bill Yi
a5c77a4738 Import translations. DO NOT MERGE
Change-Id: I7c447305120cc398cbd0e7a98b8226ee7c632059
Auto-generated-cl: translation import
2016-05-23 01:42:41 -07:00
Bill Yi
cdf7b067d0 Import translations. DO NOT MERGE
Change-Id: I22fbf5ac36b91251a267bbf1863ca1b1e914d032
Auto-generated-cl: translation import
2016-05-23 01:20:28 -07:00
Lorenzo Colitti
c304a15751 Only actually log the DNS events we have.
DnsEventListenerService#logAndClear was always logging 100 DNS
events regardless of how many were actually logged. The rest of
the events were either all zero or previously-recorded events.

Bug: 28204408
Change-Id: I9da3b07a2e7b7512397a3eb6568a877815eb3312
2016-05-23 16:39:18 +09:00
Chad Brubaker
76d3d8590d Merge "Use an attribute for the network security config resource" into nyc-dev
am: 6812bdf387

* commit '6812bdf38797101d3744befe70f3501b75f01ce6':
  Use an attribute for the network security config resource

Change-Id: I2236b69a2af2258e7600a4833fe7be95f64e6260
2016-05-23 02:32:19 +00:00
TreeHugger Robot
6812bdf387 Merge "Use an attribute for the network security config resource" into nyc-dev 2016-05-23 02:23:26 +00:00
Jaewan Kim
2d4d07c663 PIP: Handle configuration changes
Bug: 28727532
Change-Id: I2a566082fa88984ef56d6ed8515c9bcd6a6ea868
2016-05-23 10:30:36 +09:00
Baligh Uddin
d2e1791807 Merge "Import translations. DO NOT MERGE" into nyc-dev
am: 917ead578b  -s ours

* commit '917ead578baa6fba7e8e45756c67c879bb912364':
  Import translations. DO NOT MERGE

Change-Id: I5359b0ee4ae342ed910fa7b888f1dcd621c4fd35
2016-05-22 23:34:39 +00:00
Baligh Uddin
d07ea5440b Merge "Import translations. DO NOT MERGE" into nyc-dev
am: 7533f3260e  -s ours

* commit '7533f3260e888c6edc709b02eafdb5722172ecc2':
  Import translations. DO NOT MERGE

Change-Id: I1eeeb4510ca635af93a97af9950dc2b54914199b
2016-05-22 23:34:36 +00:00
Baligh Uddin
cdd880f96c Merge "Import translations. DO NOT MERGE" into nyc-dev
am: 41a1d11f98  -s ours

* commit '41a1d11f98d170ed41935d35fc1a3ed4af2c59fd':
  Import translations. DO NOT MERGE

Change-Id: I2e0d39f64f0ebd738cad7d7676eb809f1fe88db7
2016-05-22 23:34:33 +00:00
Baligh Uddin
c6bc849b33 Merge "Import translations. DO NOT MERGE" into nyc-dev
am: 83378cb136  -s ours

* commit '83378cb13689fa73be349a9ce4b0802ed64fc935':
  Import translations. DO NOT MERGE

Change-Id: Id406199ec77f14e947db6f7c65a2f3b65795374d
2016-05-22 23:34:29 +00:00
Baligh Uddin
938d8da54f Merge "Import translations. DO NOT MERGE" into nyc-dev
am: 23b665d65c  -s ours

* commit '23b665d65cd06c38a3ffb8301f4b47ca00eaa5a3':
  Import translations. DO NOT MERGE

Change-Id: Ie2e6a2515d39cd5284946abba39f9800d020d32b
2016-05-22 23:32:35 +00:00
Baligh Uddin
7458bdbe4a Merge "Import translations. DO NOT MERGE" into nyc-dev
am: 97360f90ce  -s ours

* commit '97360f90ce2015f56b860692dabe0aa82786a888':
  Import translations. DO NOT MERGE

Change-Id: Iae715670385932f22208abd984b7add31c1a0084
2016-05-22 23:32:29 +00:00
Baligh Uddin
e235b490de Merge "Import translations. DO NOT MERGE" into nyc-dev
am: a4bfd03cd5  -s ours

* commit 'a4bfd03cd53aeac1c608fde7faa1f2c5a043a6ce':
  Import translations. DO NOT MERGE

Change-Id: I2bba6312b1aa23a3768fb2a72529ac0d9351cb12
2016-05-22 23:32:22 +00:00
Baligh Uddin
00725f1d65 Merge "Import translations. DO NOT MERGE" into nyc-dev
am: 83a23d290d  -s ours

* commit '83a23d290da639131c610521c729f851d13c7112':
  Import translations. DO NOT MERGE

Change-Id: I04d8d0b14886a09c5acb42567b038173af84cc76
2016-05-22 23:32:15 +00:00
Baligh Uddin
20f307f56c Merge "Import translations. DO NOT MERGE" into nyc-dev
am: 71c4e0b44a  -s ours

* commit '71c4e0b44acbf60c396de4984ddc498163c708e1':
  Import translations. DO NOT MERGE

Change-Id: Ic16aa366bbacc24faa14223f5840b2847ff5e1dd
2016-05-22 23:32:06 +00:00
Baligh Uddin
5165a87256 Merge "Import translations. DO NOT MERGE" into nyc-dev
am: 24708d9c8e  -s ours

* commit '24708d9c8e54701d6c3ee20f72e8dfb09d0f5c75':
  Import translations. DO NOT MERGE

Change-Id: I1f93f0ce7bdbf80b0c13fbd3678c08675e7396e8
2016-05-22 23:27:08 +00:00
Baligh Uddin
223422b3bd Import translations. DO NOT MERGE
am: cd669b648a  -s ours

* commit 'cd669b648a94a14d32ce942a5004b73784dcad3c':
  Import translations. DO NOT MERGE

Change-Id: Ibb9c31f010802d141ec383d3a49100a570f29ec4
2016-05-22 23:26:36 +00:00