197649 Commits

Author SHA1 Message Date
Svetoslav
81adda25b3 Merge "Always create nodes for views backed by an adapter." into mnc-dev 2015-07-21 19:01:19 +00:00
Svet Ganov
39c8a08b5e Update permission icons to final versions - framework
bug:22383613

Change-Id: I3f524fd0538a1b843b0394fa766f032835d1ecaa
2015-07-21 11:57:26 -07:00
Amith Yamasani
c1cbaaba6c Don't kill apps that are multi-user aware...
... when looking for background user apps that hold RECORD_AUDIO
permission.

On switching users, we kill any apps that might potentially be
recording audio. But we don't want to kill critical apps that need
to stay running because of multi-user aware services.

Bug: 22564430
Change-Id: I6d9a684d4e044cc3018f0f8181a44aa143a3baeb
2015-07-21 11:46:14 -07:00
Todd Kennedy
f2805bcbe1 Merge "Use RingtonePlayer to get ringtone title" into mnc-dev 2015-07-21 18:11:19 +00:00
John Reck
00e79c9947 Mark isInUse per-window
Bug: 22509159
Change-Id: I0ae0f1fa582ee38dcb9f24ca20f0b4d0c57ccb32
2015-07-21 10:46:54 -07:00
Kenny Guy
2c7836befc Support waiting for adb shell am stop-user to complete.
Use stop user callback to wait for AM.stopUser to complete
if -w flag is passed to adb shell am stop-user

bug: 22599411
Change-Id: I8adbfdbb1ba69a88a67431da65f0a85035587c2d
2015-07-21 18:22:28 +01:00
Nick Kralevich
673ccfd45a Merge "UsbDeviceManager: add back support for USB overlays" into mnc-dev 2015-07-21 17:16:10 +00:00
Raph Levien
1fcb6d3ae2 Merge "Respect style boundaries when measuring text" into mnc-dev 2015-07-21 16:55:39 +00:00
Diego Perez
66e6683193 Merge "resolved conflicts for merge of 112d8a36 to mnc-dev" into mnc-dev 2015-07-21 15:41:12 +00:00
Diego Perez
b9935889b1 resolved conflicts for merge of 112d8a36 to mnc-dev
Change-Id: Ic9511a57db8a96f54dba0704800789a8602b9dd2
2015-07-21 15:32:55 +01:00
Wale Ogunwale
e99f20f587 Merge "Don't duplicate recent tasks of the same affinity." into mnc-dev 2015-07-21 14:28:16 +00:00
Wale Ogunwale
7cbfcd8865 Don't duplicate recent tasks of the same affinity.
In change 510e554283d3dc250f836cd3e4abc36d87319333 we stated
limiting the number of document activity entries in recents
by comparing the realActivity of the tasks. This compared was
done for all tasks not just document tasks there by breaking
the use of task affinity to remove tasks with the same affinity
from recent task list. This change limits the compare of
realActivity to just document tasks.

Bug: 22564474
Bug: 18642190
Change-Id: Idc21ec311f194ab2005cb22380ca56303ae0ad94
2015-07-21 07:26:36 -07:00
Jason Monk
878c093336 Fix blank tiles on QS rotate
Some tiles were skipping updates due to lack of information, make
these tiles handle a clear state better.

Bug: 22531578
Change-Id: I7bd75b3e032592a496fcaf080ce9cbe3b5cf20da
2015-07-21 10:18:01 -04:00
Diego Perez
112d8a3641 am d6f2a9ef: am 7720eb18: Merge "Render to measured size when using expand mode" into lmp-mr1-dev
* commit 'd6f2a9efbb0e0525f6cf970fd9c9b9b7082b19f9':
  Render to measured size when using expand mode
2015-07-21 13:20:23 +00:00
Diego Perez
d6f2a9efbb am 7720eb18: Merge "Render to measured size when using expand mode" into lmp-mr1-dev
* commit '7720eb18c1c2fe06e8f4b2f6e2936a4072494da8':
  Render to measured size when using expand mode
2015-07-21 13:06:52 +00:00
Diego Perez
7720eb18c1 Merge "Render to measured size when using expand mode" into lmp-mr1-dev 2015-07-21 12:56:56 +00:00
Andrei Stingaceanu
b50045a519 Disallow dragging text in extracted mode
Temporary remove this ability.

Bug: 22440907
Change-Id: Ifff4c30919bcb04f7d0ab78f5e9c481381ac7a05
2015-07-21 10:24:31 +01:00
Chris Banes
3931386f95 v22.2.1 support api diff
Change-Id: Ic6de46e91b188ef1348d0f0dbbc153138f03ba29
2015-07-21 09:54:51 +01:00
Christopher Tate
387225ff01 Add 'pm' operation to set a package's app-linking state
Set an app's state:

  pm set-app-link [--user USER_ID] PACKAGE {always|ask|never|undefined}

Read an app's current state:

  pm get-app-link [--user USER_ID] PACKAGE

The latter prints to stdout one of the strings usable as an argument to
set-app-link.  If an error is encountered, the string printed to
stderr begins with "Error: ".

Bug 19628527

Change-Id: I68b6dc24445917807345a8cf5baa2078490740af
2015-07-20 17:45:17 -07:00
Todd Kennedy
68de157b78 Use RingtonePlayer to get ringtone title
Instead of requiring every application that calls Rintone.getTitle()
to request android.permission.READ_EXTERNAL_STORAGE, pass the call
through to the system UI process. We only do this for media store
URIs.

Bug: 22067670
Change-Id: I38cf3fb8d769ef6984c41a7b04afbbd4c57175ce
2015-07-20 17:24:15 -07:00
Jae Seo
b2eed1d6e1 Merge "TIF: Get or create the user state when failed to find existing one" into mnc-dev 2015-07-20 23:59:25 +00:00
Terry Heo
e95af4ab8b Merge "TIF: Use copied track list for onTracksChanged() callback" into mnc-dev 2015-07-20 23:57:31 +00:00
Jorim Jaggi
740452e875 Touch, wake and unlock
- Add onFingerprintAcquired, so Keyguard can grab a wakelock to prevent
the device from sleeping.
- If we get a successful fingerprint, wake the device up, immediately
dismiss the keyguard and tell PWM that we kicked off our frame that
will represent the correct state.
- PWM then waits for this frame to be drawn, and then turns on the
screen, which results in unlocking directly to the previsouly
opened app.

Bug: 21855614
Change-Id: I5f43df17fa5e4e9c6a6392eef4a4590b07df4f96
2015-07-20 23:52:20 +00:00
George Mount
8b33fd9a00 Update data binding for RC1.
Bug 21660467
Bug 22561175

Change-Id: I9f7440000082c48094f3c243e03269b6e3c7756a
2015-07-20 16:50:18 -07:00
Dongwon Kang
6444fe1214 Merge "MediaSessionRecord: do not hold a lock when calling AudioSystem.isStreamActive" into mnc-dev 2015-07-20 23:50:03 +00:00
George Mount
dae48aba68 DO NOT MERGE ANYWHERE. Add data binding to built javadoc.
Bug 22175560

Change-Id: Ie57e0b77cade4b994ca2ef80cbf1a4c615a943f8
2015-07-20 16:49:27 -07:00
Jorim Jaggi
55786e1164 Merge "Test app to emit all AccessibilityEvents to logcat." into mnc-dev 2015-07-20 23:43:51 +00:00
Jorim Jaggi
1f98c62f9a Fix unnecessary layer creation for appear animation
Bug: 22561692
Change-Id: I9e5a52f8113d1cbb5afba61d7979770c2dddc5ed
2015-07-20 23:39:46 +00:00
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
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
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
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
xinhe
8c84cb0b3e Angler Should Not Use Channel 11 for SoftAP
b/22541346

Change-Id: If18c3ed65a6cd7381d3865047fbcc9d232315f31
2015-07-20 15:12:51 -07: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
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