Commit Graph

245370 Commits

Author SHA1 Message Date
TreeHugger Robot
2002061f34 Merge "Only reset global restriction owner on DO->PO for the right user" into nyc-dev 2016-06-02 15:59:25 +00:00
TreeHugger Robot
8e2a2fa98c Merge "Fixed that volume buttons were not working on the pin input" into nyc-dev 2016-06-02 15:41:20 +00:00
TreeHugger Robot
c152dacc37 Merge "Fixed a crash with notification groups" into nyc-dev 2016-06-02 15:41:10 +00:00
TreeHugger Robot
43c3a7e5a7 Merge "make the notification enqueue rate threshold a setting" into nyc-dev 2016-06-02 15:08:03 +00:00
Chris Wren
763a9bb095 make the notification enqueue rate threshold a setting
Bug: 28693065
Change-Id: I08bd2ed342d5347c0075183b239558c50ada4a0a
2016-06-02 15:07:20 +00:00
Julia Reynolds
f4d803d463 Fix leak on density change.
Bug: 29064258
Change-Id: I9d579cc17fe4554a6a4aa57c409cef72bdee74bd
2016-06-02 10:57:02 -04:00
Ricky Wai
390a0ca025 Merge "Do not use cached tile specs value in QSTileHost.addTile()" into nyc-dev 2016-06-02 14:56:51 +00:00
David Brazdil
89c80bb631 Do not update packages in encrypted state
SystemServer used to run PMS.updatePackagesIfNeeded even when the
device is booting in encrypted state only with core packages
available. This is redundant because the packages are prebuilts
(OAT files always up to date) and the data partition is not mounted
yet, so we are only wasting time opening the OAT files and testing
checksums. Additionally, the attempt to update these packages gets
reported to TRON stats as time spent in the Optimizing Apps dialog
and skews the results.

This patch does not call updatePackagesIfNeeded when in the device
is in encrypted state.

Bug: 28833829
Change-Id: I8641d07a8840948ffe261dfb8f99f70de7341972
2016-06-02 15:45:03 +01:00
Ricky Wai
b96c1eacaf Do not use cached tile specs value in QSTileHost.addTile()
As addTile() can be run multiple times before listener receives
the update, addTile() should always use the latest updated value
from settings but not from the cache value.

Bug: 28185436
Change-Id: I8c840343b797b00373a6f40cc5ea125efe68a6e1
2016-06-02 11:42:16 +01:00
Calin Juravle
e67a29a037 Merge "Don't create or check permissions on profiles during app startup" into nyc-dev 2016-06-02 10:10:36 +00:00
Lajos Molnar
2fc9c6925a media: fix issues with video profile levels
Support additional corner cases in level ordering:
- MPEG4Level1 only implies support for MPEG4Level0
- HEVC high tier levels are only supported by other high tier levels

H263 unusual level definitions:
- levels 45/50+ define minimum requirements that codecs can extend
- levels 10-45 define minimum size
- restrict to QCIF and CIF only if codecs only supports levels 10-40
  (or 45 in profiles 0 and 2)

MPEG4 max width/height/frame rate:
- Only specified for MPEG4Level0/0b
- Using arbitrary 2:1 aspect ratio and 60fps for other levels
  This is sure to include typical sizes for levels

Fix level limits:
- MPEG2LevelML max 25fps for D1 PAL
- H263Level20 max 30fps, but only 15fps for CIF
- H263Level45 max 15fps
- H263Level45+ min alignment is 4
- MPEG4Level0b max 15fps
- add support for VP9 HDR profiles
- fix HEVC overflow for Level62 calculations

Bug: 28671284
Change-Id: Ie75ae1d19f20d5c6eb40807d03c3b487854eb9a0
2016-06-01 19:08:34 -07:00
Jorim Jaggi
b6650bf02d Also update setMinLines
If we switch to single-line, the min lines property gets overriden
so we need to manually call setMinLines to reset the state to the
initial state.

Change-Id: I1b47a093981045c2c0d176c831e37f8e9431ae1c
Fixes: 29056442
2016-06-02 01:52:02 +00:00
Sergei Vasilinetc
e4e240f13f Merge "HWUI: do not call glCopyTexSubImage2D on empty area." into nyc-dev 2016-06-02 01:36:35 +00:00
Dianne Hackborn
9b78db41a0 Work on issue #29042642: Watchdog going off
Have FastPrintWriter note all cases where an exception is
thrown, and stop trying to push more data into the output
stream when this happens.

Change-Id: I51a1eeb26578f02b2a6f45ef7bc2513dfde702a2
2016-06-01 18:19:24 -07:00
Philip P. Moltmann
80354c4dfe Merge "Handle the uncommon case that a name is null" into nyc-dev 2016-06-02 00:28:52 +00:00
Jae Seo
bd2b9e0d53 Merge "TIF: Release an existing audio patch before creating a new one" into nyc-dev 2016-06-02 00:04:17 +00:00
Jae Seo
cf7b33426e Merge "Fix documentation for channel types" into nyc-dev 2016-06-02 00:03:53 +00:00
Philip P. Moltmann
ddf5c44567 Merge "Use text input to deal with fullscreen IME" into nyc-dev 2016-06-01 23:57:20 +00:00
sergeyv
ab3f8c2e32 HWUI: do not call glCopyTexSubImage2D on empty area.
Previous check .isEmpty() is not sufficient, because getWidth() may have
value 0.5, so technically it is not empty, but when this size is passed
to texture calls it is converted to uint_32 and it becomes zero.

bug:28941093
Change-Id: Ia7c2bf0340466d5376f235fb5da54ad2ddfa0a03
2016-06-01 23:55:32 +00:00
TreeHugger Robot
9061b26f1e Merge "media: avoid NPE in CodecCapabilities.createFromProfileLevel" into nyc-dev 2016-06-01 23:29:49 +00:00
TreeHugger Robot
9bdf289f0a Merge "Skip cancelling jobs with FLAG_WILL_BE_FOREGROUND." into nyc-dev 2016-06-01 23:15:20 +00:00
Gina Dimino
98ad88811c Docs: Suppress errors in SystemApi Build
Bug: 28427390

Change-Id: Ifea85bf7b1fcdd30a3d7f61bd17d0efba6368aa4
2016-06-01 16:13:53 -07:00
Sreevani Sreejith
82c9562d3c Merge "docs: Fixed setAllowGeneratedReplies() link to point to Android N API reference." into mnc-io-docs am: 2d6015b18b
am: 441209abc7

* commit '441209abc78b8c6bcbcc6b1eb08d2f41219ce344':
  docs: Fixed setAllowGeneratedReplies() link to point to Android N API reference.

Change-Id: I761a39db759030d4f07cb6e77326fc45db215677
2016-06-01 22:54:06 +00:00
sreevanis
441209abc7 Merge "docs: Fixed setAllowGeneratedReplies() link to point to Android N API reference." into mnc-io-docs
am: 2d6015b18b

* commit '2d6015b18ba0bf52ebe402503c7c66ddae23d8bd':
  docs: Fixed setAllowGeneratedReplies() link to point to Android N API reference.

Change-Id: I76168738a10e3f379134a88a89667a63d818323d
2016-06-01 22:46:44 +00:00
David Sehr
7c5bcfc21a Merge "Installer connection support for dump_profiles" into nyc-dev 2016-06-01 22:16:05 +00:00
TreeHugger Robot
380f3b12a4 Merge "Release AssetManagers when ejecting storage." into nyc-dev 2016-06-01 22:14:57 +00:00
Chia-I Wu
2957d9d604 Merge "Fix clipRect transform rounding errors" into nyc-dev 2016-06-01 22:11:39 +00:00
Philip P. Moltmann
9f87935b2e Use text input to deal with fullscreen IME
The full screen "number" keyboard strips all non-numeric letters
out of the text field.

Bug: 29004437
Change-Id: Ic7e79106a7fcf0716a28061592221557b9d62f52
2016-06-01 22:08:13 +00:00
Sreevani Sreejith
2d6015b18b Merge "docs: Fixed setAllowGeneratedReplies() link to point to Android N API reference." into mnc-io-docs 2016-06-01 21:58:22 +00:00
Alex Klyubin
7fe19060cf Merge "Use correct cert chain from PKCS#7 SignedData block." into nyc-dev 2016-06-01 21:55:05 +00:00
Jeff Sharkey
34618b5869 Skip cancelling jobs with FLAG_WILL_BE_FOREGROUND.
When FLAG_WILL_BE_FOREGROUND is set on a job (such as a download), we
need to treat the job as if it had a foreground service running so
it can continue making forward progress.  We already ignore the device
idle state when offering to start the job, so this just avoids the
hiccup of stopping the job only to restart it a minute later.

Bug: 26571724
Change-Id: I348903dd3a7dd7104b0c1bf4310e2a48655d2588
2016-06-01 15:51:50 -06:00
sreevanis
c92db9eeef docs: Fixed setAllowGeneratedReplies() link to point to Android N API reference.
Bug:29071043
Change-Id: Iac88710234277210997150e2a6725322928276c3
2016-06-01 14:48:41 -07:00
Jeff Sharkey
98bf12f999 Release AssetManagers when ejecting storage.
When ejecting a storage device, the system process needs to rapidly
release any open FDs to prevent itself from being killed by vold.

This change examines all ResourceImpls cached inside the system
process and evicts any that reference the storage device being
ejected.  (ResourcesManager will gladly recreate any evicted entries
when asked again in the future.)

Also replace broken use of WeakHashMap, since we want the values to
be weak references, not the keys.

Bug: 28867548
Change-Id: Ib9cfc66497149b6d3f8d49213e9779408a331d2a
2016-06-01 14:52:27 -06:00
Julia Reynolds
6df8a9a89f Merge "Only call finish on operations that have started." into nyc-dev 2016-06-01 20:37:08 +00:00
Daniel Yu
81bd120f26 docs: Updates for picture-in-picture docs for N DP4
Adding two updates requested by eng for DP4: Devs should
use onStop/Start to pause and resume video playback instead
of onPause/Resume. Devs should manage audio focus properly
while in PIP mode to avoid interferring with other audio apps.

Bug: 29045184
Change-Id: Id3c302ff13b76c84bc3f4a51dd2dbf9688403669
2016-06-01 12:59:30 -07:00
Adrian Roos
6510bdeada Merge "Fix DirectReply bug when reapply fails" into nyc-dev 2016-06-01 19:41:50 +00:00
Selim Cinek
470bf5eccb Fixed that volume buttons were not working on the pin input
Because we were intercepting all buttons.

Change-Id: Id2155f23d55cb5282c87409b9c6b8441540ad894
Fixes: 28786740
2016-06-01 12:35:56 -07:00
Chong Zhang
65f1973ba9 Merge "Do not sanitize override config for fullscreen" into nyc-dev 2016-06-01 19:34:04 +00:00
Dianne Hackborn
61721ee3d7 Merge "Fix issue #29058724: Improve JobScheduler API demo" into nyc-dev 2016-06-01 19:29:43 +00:00
Dianne Hackborn
3e05055af7 Merge "Fix issue #29069028 NYC: device boot failure: NPE in AppIdleController" into nyc-dev 2016-06-01 19:26:09 +00:00
Adrian Roos
0789ee0908 Fix DirectReply bug when reapply fails
RemoteInputView failed to notice updates where the
reapply failed, causing it to reopen upon success.

Change-Id: I4fdd4d3240da6e38878d281fbf8c654ee9a682c3
Fixes: 29057180
2016-06-01 12:25:10 -07:00
Chong Zhang
a8cc378d15 Do not sanitize override config for fullscreen
bug: 29063336
Change-Id: I65c5d635133a6b3791ce1aef63547f8d38ca24b5
2016-06-01 12:20:10 -07:00
Sanket Padawe
49b204264e Add carrier config variables for overriding carrier name from carrierconf.
Bug: 27718118
Change-Id: Ie62dd3dc52f0977a2b05ae8f0ba4898c80174658
2016-06-01 12:17:23 -07:00
Selim Cinek
42621023cf Merge "Fixes a few bugs on the keyguard with font density changes" into nyc-dev 2016-06-01 19:03:43 +00:00
Selim Cinek
ed6913b0ce Fixed a crash with notification groups
When updating a notification we were not checking if it is the summary
with children, but about the existence of the childrencontainer, which
can change and is never removed. This is now done correctly.

Change-Id: Ie3838613f414d7fcb158dc92c24e8939cfb7c2ea
Fixes: 29055879
2016-06-01 12:01:17 -07:00
TreeHugger Robot
31e3b14d6a Merge "Move DownloadsManager to permanent whitelist." into nyc-dev 2016-06-01 18:49:42 +00:00
Julia Reynolds
4357e52820 Only call finish on operations that have started.
Change-Id: I77d10913a68be529ea2c5a3f2a53ad91a4a41f47
Fixes: 29069613
2016-06-01 14:49:40 -04:00
TreeHugger Robot
13d534e7f2 Merge "Don't crash activity manager when supplying invalid URI" into nyc-dev 2016-06-01 18:37:35 +00:00
Eric Schmidt
28ed18877b Merge "docs: Fixed \'MessageStyle\' typo" into mnc-io-docs am: 8ef79a9246
am: 51500a1c5a

* commit '51500a1c5ad6ce1bde1f8966f9835b42d9419a95':
  docs: Fixed 'MessageStyle' typo

Change-Id: I87addb7b46d0985b2cbfc92e6f0f9a7d44ce8963
2016-06-01 18:25:35 +00:00
Eric Schmidt
51500a1c5a Merge "docs: Fixed \'MessageStyle\' typo" into mnc-io-docs
am: 8ef79a9246

* commit '8ef79a9246eba129c22e5d54654ecb85414edf22':
  docs: Fixed 'MessageStyle' typo

Change-Id: Ie9bfc94d89f388763e360841ae129d214156d6d2
2016-06-01 18:16:17 +00:00