197928 Commits

Author SHA1 Message Date
Jeff Sharkey
54d42be6eb Avoid NPE when no staged installs.
listFiles() returns null instead of empty list; deal with it.

Bug: 22608671
Change-Id: I60dabec31932af3cded915c6927a4c5e5c71775d
2015-07-20 16:37:54 -07:00
Miao Wang
15d6894170 Merge "[RenderScript] Add docs advising users about dstAtop bug." into mnc-dev 2015-07-20 23:37:48 +00:00
Jorim Jaggi
4cd7216967 Fix window animation flickering
Bug: 22502673
Change-Id: I939e5840e10f3c0582148a5a01908076f994ae69
2015-07-20 23:31:25 +00:00
Jorim Jaggi
e58ba842de am 8924f23d: Merge "Fix SysUI crashes on svelte devices" into mnc-dev
* commit '8924f23d3ecdcb2b1ce4dbc9bb4fbb9ddfa62710':
  Fix SysUI crashes on svelte devices
2015-07-20 23:24:21 +00:00
Raph Levien
ea2b4a40f7 Respect style boundaries when measuring text
The existing implementation of handleText() in TextLine laid out
text to the end of the context. However, in cases where the text is
broken into multiple style spans, it's only valid to lay out up to
the end of the style span. This can lead to inconsistent
measurements, especially in the presence of legitimate zero-width
characters such as bidi control characters and zero width space.

This patch changes the invocation of getRunAdvance to measure only
within the style span.

Bug: 22589743
Change-Id: I027f5e77db27ddf9596ef20adcad7e62a82b41de
2015-07-20 16:22:01 -07:00
Jae Seo
4f1a6d477c TIF: Get or create the user state when failed to find existing one
Bug: 22560640
Change-Id: Idc56dc2b16319d173f005fc236f91f70d1a93fad
2015-07-20 16:20:18 -07:00
Jorim Jaggi
8924f23d3e Merge "Fix SysUI crashes on svelte devices" into mnc-dev 2015-07-20 23:09:46 +00:00
Miao Wang
ffb1a9bed0 [RenderScript] Add docs advising users about dstAtop bug.
Bug: 22047392
Change-Id: I736a697276020687c20dff515aabb1be1776f8c0
2015-07-20 16:04:59 -07:00
Dongwon Kang
500747bf8f MediaSessionRecord: do not hold a lock when calling AudioSystem.isStreamActive
AudioSystem.isStreamActive() includes a blocking IPC, so it shouldn't be called
in MSR.adjustVolume() which is called from MediaSessionService while holding a
lock.

Bug: 22606983
Change-Id: I3ab94e73731176d9bf80dbc2121702025547114c
2015-07-20 15:59:53 -07:00
Alan Viverette
23305e9f54 am 41668b25: Merge "Adjust padding and font size in time picker for Large text mode" into mnc-dev
* commit '41668b259dfa997492e3f4d331fee88b7f9f2453':
  Adjust padding and font size in time picker for Large text mode
2015-07-20 22:59:37 +00:00
Alan Viverette
783b3d9d09 am 001f1e7e: Merge "Add missing invalidation check to drawable cache" into mnc-dev
* commit '001f1e7eb35630df24d53298c1a3d2de055d7ce9':
  Add missing invalidation check to drawable cache
2015-07-20 22:59:33 +00:00
Alan Viverette
41668b259d Merge "Adjust padding and font size in time picker for Large text mode" into mnc-dev 2015-07-20 22:48:28 +00:00
Jorim Jaggi
e446dcee8f Fix SysUI crashes on svelte devices
Bug: 22602295
Change-Id: Idac0d62683c0f6f7cf7b795967632e34d771c4f7
2015-07-20 15:47:15 -07:00
Alan Viverette
001f1e7eb3 Merge "Add missing invalidation check to drawable cache" into mnc-dev 2015-07-20 22:44:47 +00:00
Simranjit Singh Kohli
7b36e3adf5 am 02aff29c: Merge "[Fix MANAGE_USER permission in AccountManagerService] It seems that curently there were situations where the init of Accounts in cache could trigger MANAGE_USER permission needed errors. The callers should make sure they are calling it after cleari
* commit '02aff29c396373acc16be159c8c4ed59f61faaed':
  [Fix MANAGE_USER permission in AccountManagerService] It seems that curently there were situations where the init of Accounts in cache could trigger MANAGE_USER permission needed errors. The callers should make sure they are calling it after clearing identity.
2015-07-20 22:44:18 +00:00
Dianne Hackborn
609cb58533 am a7ce2344: Merge "Fix issue #22564918: Request is inactive" into mnc-dev
* commit 'a7ce23440328e63f36a4add05199aa84ff04032d':
  Fix issue #22564918: Request is inactive
2015-07-20 22:44:13 +00:00
Nick Kralevich
2fedc4df51 UsbDeviceManager: add back support for USB overlays
Commit fcf10f7c12cb3107bdfedce6f76a8c866d154f3c removed support for USB
overlays. Add it back in, as some devices depend on it.

Bug: 22062484
Bug: 21195124
Change-Id: I74d12699201355b07475744c641e31fdc4bb5a4a
2015-07-20 15:40:54 -07:00
Simranjit Singh Kohli
02aff29c39 Merge "[Fix MANAGE_USER permission in AccountManagerService] It seems that curently there were situations where the init of Accounts in cache could trigger MANAGE_USER permission needed errors. The callers should make sure they are calling it after clearing identity." into mnc-dev 2015-07-20 22:40:03 +00:00
Dianne Hackborn
a7ce234403 Merge "Fix issue #22564918: Request is inactive" into mnc-dev 2015-07-20 22:34:49 +00:00
Jorim Jaggi
7800a1f879 am 86b273f1: Fix jank in swipe-up to unlock
* commit '86b273f1cc59185a14d5bab8a3f4db30c1a4c8a9':
  Fix jank in swipe-up to unlock
2015-07-20 22:21:50 +00:00
Jorim Jaggi
c0c20b2674 am f8763581: Allow navigation bar drawing during window animations
* commit 'f87635813cabbf4f7dc0236fffc6b07a2715aff3':
  Allow navigation bar drawing during window animations
2015-07-20 22:01:23 +00:00
Jorim Jaggi
86b273f1cc Fix jank in swipe-up to unlock
Some stuff is slow in the swipe-up to unlock transition. Introduce
DejankUtils to execute it when RenderThread is doing its work.

Bug: 22205322
Change-Id: I7089f0a1bdca13ad13a1e305a7bff32276a3cd53
2015-07-20 21:50:33 +00:00
Dianne Hackborn
1b4447f728 Fix issue #22564918: Request is inactive
Add Request.isActive() API.  Also improve documentation to tell
people what things cause it to become inactive.  And fix a race
where we were modifying the active list from outside the main
thread without locking it.

Change-Id: I9248e014126cb121612edbe595108ace753456e2
2015-07-20 14:49:58 -07:00
Jorim Jaggi
f87635813c Allow navigation bar drawing during window animations
Bug: 22605259
Change-Id: I080dc7bf2dfdc6666a5f38eebecc7c9a6034d04a
2015-07-20 21:49:23 +00:00
Roozbeh Pournader
32f7527d0c am 2dc6ebbe: Merge "Fix default value of stereoReset() in the documentation." into mnc-dev
* commit '2dc6ebbea8a72e90bc66cac84b15ae3ce5898536':
  Fix default value of stereoReset() in the documentation.
2015-07-20 21:23:47 +00:00
Keisuke Kuroyanagi
00eb57678d am 437eb6ce: Merge "Fix: Wrong suggestion popup position in extract mode." into mnc-dev
* commit '437eb6ce483a34e28c06d70c0b408ba4a495293a':
  Fix: Wrong suggestion popup position in extract mode.
2015-07-20 21:23:43 +00:00
Robert Greenwalt
dacf0443d5 am b0e4a9e8: Merge "Support optional modem restart on certain errors." into mnc-dev
* commit 'b0e4a9e8a4367cbc3c7f08f7f95cfa0c9397fdaf':
  Support optional modem restart on certain errors.
2015-07-20 21:23:38 +00:00
Roozbeh Pournader
2dc6ebbea8 Merge "Fix default value of stereoReset() in the documentation." into mnc-dev 2015-07-20 21:20:02 +00:00
Keisuke Kuroyanagi
437eb6ce48 Merge "Fix: Wrong suggestion popup position in extract mode." into mnc-dev 2015-07-20 21:12:38 +00:00
Robert Greenwalt
b0e4a9e8a4 Merge "Support optional modem restart on certain errors." into mnc-dev 2015-07-20 21:10:47 +00:00
Svetoslav
457ec9e668 Always create nodes for views backed by an adapter.
Some views are backed by adapter and if the adapter changed
but views are not updated we were not reporting the views.
This is not correct as the accessibility layer should always
access whatever is on the screen regardless if we know it
will change in the next layout pass.

bug:20920903

Change-Id: I5851c886848e7b8e59b76419c22124790d7e6f05
2015-07-20 14:01:01 -07:00
Jason Monk
47b9d25022 am 33c619bb: Merge "Fix hotspot brokenness" into mnc-dev
* commit '33c619bb52c9e3e62b7243c9b1d9a75189885427':
  Fix hotspot brokenness
2015-07-20 20:55:19 +00:00
Jae Seo
48d707ae07 am 26f7720e: Merge "MediaSession: Do not lock on AudioManager.getStreamVolume" into mnc-dev
* commit '26f7720ed0d6a0894772d82b7ebed03ac686c6f3':
  MediaSession: Do not lock on AudioManager.getStreamVolume
2015-07-20 20:55:14 +00:00
Jeff Sharkey
fe7a311c42 am 35ba2cdb: Merge "Inherit ABI when moving existing install." into mnc-dev
* commit '35ba2cdbf8654d708e57d209131dd498705d0e18':
  Inherit ABI when moving existing install.
2015-07-20 20:55:09 +00:00
Jason Monk
33c619bb52 Merge "Fix hotspot brokenness" into mnc-dev 2015-07-20 20:47:33 +00:00
Jae Seo
26f7720ed0 Merge "MediaSession: Do not lock on AudioManager.getStreamVolume" into mnc-dev 2015-07-20 20:45:11 +00:00
Jeff Sharkey
35ba2cdbf8 Merge "Inherit ABI when moving existing install." into mnc-dev 2015-07-20 20:44:56 +00:00
Jeff Sharkey
40cda8ef7c Inherit ABI when moving existing install.
Previously installed apps are moved between volumes as an complete
package, including any previously unpacked native libraries.  This
means we need to inherit any previously derived ABI when moving.

Bug: 22093837
Change-Id: I7656e338affa44e7f997fe4aa95bb297c0acc165
2015-07-20 13:40:20 -07:00
Roozbeh Pournader
91bb9d0a84 am 9bdb7bfd: Merge "Bidi-wrap the results of format[Short]FileSize()." into mnc-dev
* commit '9bdb7bfd35a4b1faa5cbafeb3f1e20ff34e7b0e1':
  Bidi-wrap the results of format[Short]FileSize().
2015-07-20 20:40:10 +00:00
Roozbeh Pournader
9bdb7bfd35 Merge "Bidi-wrap the results of format[Short]FileSize()." into mnc-dev 2015-07-20 20:30:39 +00:00
Alan Viverette
9baf55eed6 Adjust padding and font size in time picker for Large text mode
Bug: 22514034
Change-Id: I9ad22f2d14565b67558f2a48b2c160e05c23f81c
2015-07-20 16:28:21 -04:00
Alan Viverette
7ef1e773fd Add missing invalidation check to drawable cache
Bug: 22478448
Change-Id: Ic9da1898cd921d8c133ef5397fc97a664601a863
2015-07-20 16:03:04 -04:00
Geoff Mendal
ddb33d7d87 am a6bf393d: (-s ours) Merge "Import translations. DO NOT MERGE" into mnc-dev
* commit 'a6bf393dc5b022f11c698dda610e209b5090d8c0':
  Import translations. DO NOT MERGE
2015-07-20 20:02:37 +00:00
Dianne Hackborn
3aefa43830 am 78ead58d: Merge "Fix issue #22531747: Assist info should declare if user has disabled..." into mnc-dev
* commit '78ead58df03e476d656c7e875fff9ade13b727c1':
  Fix issue #22531747: Assist info should declare if user has disabled...
2015-07-20 20:02:32 +00:00
Geoff Mendal
a6bf393dc5 Merge "Import translations. DO NOT MERGE" into mnc-dev 2015-07-20 19:58:42 +00:00
Geoff Mendal
ca49ae5a5e Import translations. DO NOT MERGE
Change-Id: I08703b57a1fe0b578bcb7e5f2a2e7d9c2904526f
Auto-generated-cl: translation import
2015-07-20 12:53:55 -07:00
Geoff Mendal
11e1e19a61 Import translations. DO NOT MERGE
Change-Id: I41156105dcb753a1d9338cdbacebe03d2b4b4f1d
Auto-generated-cl: translation import
2015-07-20 12:51:19 -07:00
Dianne Hackborn
78ead58df0 Merge "Fix issue #22531747: Assist info should declare if user has disabled..." into mnc-dev 2015-07-20 19:50:50 +00:00
Dianne Hackborn
17f693520d Fix issue #22531747: Assist info should declare if user has disabled...
...context and/or screenshot

Added new API to find out what contextual data has been globally disabled.

Also updated various documentation to make it clear what kind of contextual
data you will get (and when it will be null).

Also added a new Activity.showAssist() API because...  well, I was already
in there, it was easy to do, it is safe, and maybe people will build cool
things with it.

Change-Id: Ia553d6bcdd098dc0fce4b9237fbfaca9652fc74b
2015-07-20 12:49:10 -07:00
Wale Ogunwale
81696d1336 am bde85f74: Merge "Fixed issue with background user window consuming touch events" into mnc-dev
* commit 'bde85f741c2ccbb7d719cdf0a48a607b104c3943':
  Fixed issue with background user window consuming touch events
2015-07-20 19:11:06 +00:00