OSDN Git Service

android-x86/frameworks-base.git
9 years agoam 89d4131d: am 09ba7151: Merge "Don\'t kill apps that are multi-user aware..." into...
Amith Yamasani [Tue, 21 Jul 2015 20:33:07 +0000 (20:33 +0000)]
am 89d4131d: am 09ba7151: Merge "Don\'t kill apps that are multi-user aware..." into mnc-dev

* commit '89d4131d75cc4c89e3fb36115be929837c9a3171':
  Don't kill apps that are multi-user aware...

9 years agoam a69e72c5: am 5d586dd5: Merge "KM module may consume less input than provided by...
Alex Klyubin [Tue, 21 Jul 2015 20:18:03 +0000 (20:18 +0000)]
am a69e72c5: am 5d586dd5: Merge "KM module may consume less input than provided by finish time." into mnc-dev

* commit 'a69e72c54786d2e3a585162b3bd71f325a1a6865':
  KM module may consume less input than provided by finish time.

9 years agoam 09ba7151: Merge "Don\'t kill apps that are multi-user aware..." into mnc-dev
Amith Yamasani [Tue, 21 Jul 2015 20:18:02 +0000 (20:18 +0000)]
am 09ba7151: Merge "Don\'t kill apps that are multi-user aware..." into mnc-dev

* commit '09ba71513ba3bb092eb3effbe45953c50430ff20':
  Don't kill apps that are multi-user aware...

9 years agoMerge "Don't kill apps that are multi-user aware..." into mnc-dev
Amith Yamasani [Tue, 21 Jul 2015 20:04:19 +0000 (20:04 +0000)]
Merge "Don't kill apps that are multi-user aware..." into mnc-dev

9 years agoam 5d586dd5: Merge "KM module may consume less input than provided by finish time...
Alex Klyubin [Tue, 21 Jul 2015 20:02:21 +0000 (20:02 +0000)]
am 5d586dd5: Merge "KM module may consume less input than provided by finish time." into mnc-dev

* commit '5d586dd585a6663290b68abce433a75b5760fc5d':
  KM module may consume less input than provided by finish time.

9 years agoam a50f43e0: am 23e19066: Merge "BatteryStats: Read /proc/wakelocks first before...
Adam Lesinski [Tue, 21 Jul 2015 19:54:24 +0000 (19:54 +0000)]
am a50f43e0: am 23e19066: Merge "BatteryStats: Read /proc/wakelocks first before trying /d/wakeup_sources" into mnc-dev

* commit 'a50f43e0028ec174827e73d1e45666b8e694808f':
  BatteryStats: Read /proc/wakelocks first before trying /d/wakeup_sources

9 years agoMerge "KM module may consume less input than provided by finish time." into mnc-dev
Alex Klyubin [Tue, 21 Jul 2015 19:50:47 +0000 (19:50 +0000)]
Merge "KM module may consume less input than provided by finish time." into mnc-dev

9 years agoam 6391a8d4: am d9c2ff99: Merge "Add \'pm\' operation to set a package\'s app-linking...
Christopher Tate [Tue, 21 Jul 2015 19:41:19 +0000 (19:41 +0000)]
am 6391a8d4: am d9c2ff99: Merge "Add \'pm\' operation to set a package\'s app-linking state" into mnc-dev

* commit '6391a8d44684f64d9b803f7994f26935a563a1ee':
  Add 'pm' operation to set a package's app-linking state

9 years agoam 23e19066: Merge "BatteryStats: Read /proc/wakelocks first before trying /d/wakeup_...
Adam Lesinski [Tue, 21 Jul 2015 19:40:24 +0000 (19:40 +0000)]
am 23e19066: Merge "BatteryStats: Read /proc/wakelocks first before trying /d/wakeup_sources" into mnc-dev

* commit '23e19066de2caf1db1fa0759ac49a1118b59f7a5':
  BatteryStats: Read /proc/wakelocks first before trying /d/wakeup_sources

9 years agoam 358af143: am 81adda25: Merge "Always create nodes for views backed by an adapter...
Svetoslav [Tue, 21 Jul 2015 19:30:37 +0000 (19:30 +0000)]
am 358af143: am 81adda25: Merge "Always create nodes for views backed by an adapter." into mnc-dev

* commit '358af143454fdcda120e90840b6ca835bebc4120':
  Always create nodes for views backed by an adapter.

9 years agoam d9c2ff99: Merge "Add \'pm\' operation to set a package\'s app-linking state" into...
Christopher Tate [Tue, 21 Jul 2015 19:28:04 +0000 (19:28 +0000)]
am d9c2ff99: Merge "Add \'pm\' operation to set a package\'s app-linking state" into mnc-dev

* commit 'd9c2ff99bf9469f155eabf341880d055741e9db5':
  Add 'pm' operation to set a package's app-linking state

9 years agoMerge "BatteryStats: Read /proc/wakelocks first before trying /d/wakeup_sources"...
Adam Lesinski [Tue, 21 Jul 2015 19:26:43 +0000 (19:26 +0000)]
Merge "BatteryStats: Read /proc/wakelocks first before trying /d/wakeup_sources" into mnc-dev

9 years agoam 81adda25: Merge "Always create nodes for views backed by an adapter." into mnc-dev
Svetoslav [Tue, 21 Jul 2015 19:12:13 +0000 (19:12 +0000)]
am 81adda25: Merge "Always create nodes for views backed by an adapter." into mnc-dev

* commit '81adda25b396ee3db794bc9a7946b579d01c2aa0':
  Always create nodes for views backed by an adapter.

9 years agoMerge "Add 'pm' operation to set a package's app-linking state" into mnc-dev
Christopher Tate [Tue, 21 Jul 2015 19:11:34 +0000 (19:11 +0000)]
Merge "Add 'pm' operation to set a package's app-linking state" into mnc-dev

9 years agoBatteryStats: Read /proc/wakelocks first before trying /d/wakeup_sources
Adam Lesinski [Tue, 21 Jul 2015 19:08:56 +0000 (12:08 -0700)]
BatteryStats: Read /proc/wakelocks first before trying /d/wakeup_sources

Previously we tried to read /d/wakeup_sources to gather kernel wakelock data. If that
fails we used the older sys file /proc/wakelocks.
N7 has both /proc/wakelocks and /d/wakeup_sources, but /proc/wakelocks
has the actual data we need. All other devices are using /d/wakeup_sources, so
only N7 experienced a loss of kernel wakelock data.

The original regression was introduced here: ag/659258

Bug:22556242
Change-Id: I51ec68e957f587bc1466e24f0a1dbc8cd7753ac6

9 years agoMerge "Always create nodes for views backed by an adapter." into mnc-dev
Svetoslav [Tue, 21 Jul 2015 19:01:05 +0000 (19:01 +0000)]
Merge "Always create nodes for views backed by an adapter." into mnc-dev

9 years agoDon't kill apps that are multi-user aware...
Amith Yamasani [Tue, 21 Jul 2015 18:46:14 +0000 (11:46 -0700)]
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

9 years agoam 548871f2: am f2805bcb: Merge "Use RingtonePlayer to get ringtone title" into mnc-dev
Todd Kennedy [Tue, 21 Jul 2015 18:37:15 +0000 (18:37 +0000)]
am 548871f2: am f2805bcb: Merge "Use RingtonePlayer to get ringtone title" into mnc-dev

* commit '548871f202c2c68e0197cc993073ca80a60f70da':
  Use RingtonePlayer to get ringtone title

9 years agoam f2805bcb: Merge "Use RingtonePlayer to get ringtone title" into mnc-dev
Todd Kennedy [Tue, 21 Jul 2015 18:21:33 +0000 (18:21 +0000)]
am f2805bcb: Merge "Use RingtonePlayer to get ringtone title" into mnc-dev

* commit 'f2805bcbe1c99ce806448a2d8c0f12b142c7cece':
  Use RingtonePlayer to get ringtone title

9 years agoMerge "Use RingtonePlayer to get ringtone title" into mnc-dev
Todd Kennedy [Tue, 21 Jul 2015 18:11:16 +0000 (18:11 +0000)]
Merge "Use RingtonePlayer to get ringtone title" into mnc-dev

9 years agoam 894ffd10: am 673ccfd4: Merge "UsbDeviceManager: add back support for USB overlays...
Nick Kralevich [Tue, 21 Jul 2015 17:38:50 +0000 (17:38 +0000)]
am 894ffd10: am 673ccfd4: Merge "UsbDeviceManager: add back support for USB overlays" into mnc-dev

* commit '894ffd102d90a7c794e5c522818f163b92baa55d':
  UsbDeviceManager: add back support for USB overlays

9 years agoam 673ccfd4: Merge "UsbDeviceManager: add back support for USB overlays" into mnc-dev
Nick Kralevich [Tue, 21 Jul 2015 17:25:30 +0000 (17:25 +0000)]
am 673ccfd4: Merge "UsbDeviceManager: add back support for USB overlays" into mnc-dev

* commit '673ccfd45a81482d97eecf76dc0fef0dfd57be73':
  UsbDeviceManager: add back support for USB overlays

9 years agoam 7026617e: am 1fcb6d3a: Merge "Respect style boundaries when measuring text" into...
Raph Levien [Tue, 21 Jul 2015 17:17:49 +0000 (17:17 +0000)]
am 7026617e: am 1fcb6d3a: Merge "Respect style boundaries when measuring text" into mnc-dev

* commit '7026617e74cc1753ae7c1846e005dc7b3286170d':
  Respect style boundaries when measuring text

9 years agoMerge "UsbDeviceManager: add back support for USB overlays" into mnc-dev
Nick Kralevich [Tue, 21 Jul 2015 17:16:07 +0000 (17:16 +0000)]
Merge "UsbDeviceManager: add back support for USB overlays" into mnc-dev

9 years agoam 1fcb6d3a: Merge "Respect style boundaries when measuring text" into mnc-dev
Raph Levien [Tue, 21 Jul 2015 17:04:36 +0000 (17:04 +0000)]
am 1fcb6d3a: Merge "Respect style boundaries when measuring text" into mnc-dev

* commit '1fcb6d3ae27ac95388eb036d124bd4bd0c6559cc':
  Respect style boundaries when measuring text

9 years agoMerge "Respect style boundaries when measuring text" into mnc-dev
Raph Levien [Tue, 21 Jul 2015 16:55:37 +0000 (16:55 +0000)]
Merge "Respect style boundaries when measuring text" into mnc-dev

9 years agoam c273c178: am 66e66831: Merge "resolved conflicts for merge of 112d8a36 to mnc...
Diego Perez [Tue, 21 Jul 2015 16:04:20 +0000 (16:04 +0000)]
am c273c178: am 66e66831: Merge "resolved conflicts for merge of 112d8a36 to mnc-dev" into mnc-dev

* commit 'c273c178d70eda9858714d59118b05da7ffb5313':
  Render to measured size when using expand mode

9 years agoam 66e66831: Merge "resolved conflicts for merge of 112d8a36 to mnc-dev" into mnc-dev
Diego Perez [Tue, 21 Jul 2015 15:50:11 +0000 (15:50 +0000)]
am 66e66831: Merge "resolved conflicts for merge of 112d8a36 to mnc-dev" into mnc-dev

* commit '66e6683193f6a1d071710ea8a39b02f5129fc505':
  Render to measured size when using expand mode

9 years agoMerge "resolved conflicts for merge of 112d8a36 to mnc-dev" into mnc-dev
Diego Perez [Tue, 21 Jul 2015 15:41:08 +0000 (15:41 +0000)]
Merge "resolved conflicts for merge of 112d8a36 to mnc-dev" into mnc-dev

9 years agoam 7dcad6a5: am e99f20f5: Merge "Don\'t duplicate recent tasks of the same affinity...
Wale Ogunwale [Tue, 21 Jul 2015 14:52:05 +0000 (14:52 +0000)]
am 7dcad6a5: am e99f20f5: Merge "Don\'t duplicate recent tasks of the same affinity." into mnc-dev

* commit '7dcad6a5d426e1a243e36cbd084c60bc8038c56b':
  Don't duplicate recent tasks of the same affinity.

9 years agoam e99f20f5: Merge "Don\'t duplicate recent tasks of the same affinity." into mnc-dev
Wale Ogunwale [Tue, 21 Jul 2015 14:38:04 +0000 (14:38 +0000)]
am e99f20f5: Merge "Don\'t duplicate recent tasks of the same affinity." into mnc-dev

* commit 'e99f20f5873c00b35f2407e28e06ff9119f85088':
  Don't duplicate recent tasks of the same affinity.

9 years agoresolved conflicts for merge of 112d8a36 to mnc-dev
Diego Perez [Tue, 21 Jul 2015 14:28:10 +0000 (15:28 +0100)]
resolved conflicts for merge of 112d8a36 to mnc-dev

Change-Id: Ic9511a57db8a96f54dba0704800789a8602b9dd2

9 years agoMerge "Don't duplicate recent tasks of the same affinity." into mnc-dev
Wale Ogunwale [Tue, 21 Jul 2015 14:28:13 +0000 (14:28 +0000)]
Merge "Don't duplicate recent tasks of the same affinity." into mnc-dev

9 years agoDon't duplicate recent tasks of the same affinity.
Wale Ogunwale [Mon, 20 Jul 2015 22:43:37 +0000 (15:43 -0700)]
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

9 years agoam d6f2a9ef: am 7720eb18: Merge "Render to measured size when using expand mode"...
Diego Perez [Tue, 21 Jul 2015 13:20:23 +0000 (13:20 +0000)]
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

9 years agoam 7720eb18: Merge "Render to measured size when using expand mode" into lmp-mr1-dev
Diego Perez [Tue, 21 Jul 2015 13:06:52 +0000 (13:06 +0000)]
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

9 years agoMerge "Render to measured size when using expand mode" into lmp-mr1-dev
Diego Perez [Tue, 21 Jul 2015 12:56:50 +0000 (12:56 +0000)]
Merge "Render to measured size when using expand mode" into lmp-mr1-dev

9 years agoAdd 'pm' operation to set a package's app-linking state
Christopher Tate [Mon, 20 Jul 2015 22:39:39 +0000 (15:39 -0700)]
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

9 years agoam 6564934d: am b2eed1d6: Merge "TIF: Get or create the user state when failed to...
Jae Seo [Tue, 21 Jul 2015 00:28:20 +0000 (00:28 +0000)]
am 6564934d: am b2eed1d6: Merge "TIF: Get or create the user state when failed to find existing one" into mnc-dev

* commit '6564934d1a3f1020184c48bdddbe91321652a0b2':
  TIF: Get or create the user state when failed to find existing one

9 years agoam aaf67d95: am e95af4ab: Merge "TIF: Use copied track list for onTracksChanged(...
Terry Heo [Tue, 21 Jul 2015 00:28:16 +0000 (00:28 +0000)]
am aaf67d95: am e95af4ab: Merge "TIF: Use copied track list for onTracksChanged() callback" into mnc-dev

* commit 'aaf67d952711e9587df143e017618fc488c32077':
  TIF: Use copied track list for onTracksChanged() callback

9 years agoUse RingtonePlayer to get ringtone title
Todd Kennedy [Mon, 20 Jul 2015 20:32:40 +0000 (13:32 -0700)]
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

9 years agoam b2eed1d6: Merge "TIF: Get or create the user state when failed to find existing...
Jae Seo [Tue, 21 Jul 2015 00:10:47 +0000 (00:10 +0000)]
am b2eed1d6: Merge "TIF: Get or create the user state when failed to find existing one" into mnc-dev

* commit 'b2eed1d6e11f38c00ce1776ade14dfa004c6119f':
  TIF: Get or create the user state when failed to find existing one

9 years agoam e95af4ab: Merge "TIF: Use copied track list for onTracksChanged() callback" into...
Terry Heo [Tue, 21 Jul 2015 00:10:43 +0000 (00:10 +0000)]
am e95af4ab: Merge "TIF: Use copied track list for onTracksChanged() callback" into mnc-dev

* commit 'e95af4ab8bda68ee80bf4d444356e0c1afb1fe99':
  TIF: Use copied track list for onTracksChanged() callback

9 years agoam 14bdaa7f: am 6444fe12: Merge "MediaSessionRecord: do not hold a lock when calling...
Dongwon Kang [Tue, 21 Jul 2015 00:00:44 +0000 (00:00 +0000)]
am 14bdaa7f: am 6444fe12: Merge "MediaSessionRecord: do not hold a lock when calling AudioSystem.isStreamActive" into mnc-dev

* commit '14bdaa7f6b2140dadb631e67d61462219c678100':
  MediaSessionRecord: do not hold a lock when calling AudioSystem.isStreamActive

9 years agoam c0469f99: am 55786e11: Merge "Test app to emit all AccessibilityEvents to logcat...
Jorim Jaggi [Tue, 21 Jul 2015 00:00:39 +0000 (00:00 +0000)]
am c0469f99: am 55786e11: Merge "Test app to emit all AccessibilityEvents to logcat." into mnc-dev

* commit 'c0469f99723919cf1d55b34180020ef14fb36b56':
  Test app to emit all AccessibilityEvents to logcat.

9 years agoam 7cc56bb4: am 1f98c62f: Fix unnecessary layer creation for appear animation
Jorim Jaggi [Tue, 21 Jul 2015 00:00:33 +0000 (00:00 +0000)]
am 7cc56bb4: am 1f98c62f: Fix unnecessary layer creation for appear animation

* commit '7cc56bb44d2be8bc0d2cd43dba86247867992305':
  Fix unnecessary layer creation for appear animation

9 years agoam 6005f9e5: am 15d68941: Merge "[RenderScript] Add docs advising users about dstAtop...
Miao Wang [Tue, 21 Jul 2015 00:00:28 +0000 (00:00 +0000)]
am 6005f9e5: am 15d68941: Merge "[RenderScript] Add docs advising users about dstAtop bug." into mnc-dev

* commit '6005f9e5ae8e15e598d7bcb9667f1289e1d8c4fe':
  [RenderScript] Add docs advising users about dstAtop bug.

9 years agoam 00fe1b65: am 4cd72169: Fix window animation flickering
Jorim Jaggi [Tue, 21 Jul 2015 00:00:24 +0000 (00:00 +0000)]
am 00fe1b65: am 4cd72169: Fix window animation flickering

* commit '00fe1b650a8ac66838273d91ecf5facd6225bca1':
  Fix window animation flickering

9 years agoMerge "TIF: Get or create the user state when failed to find existing one" into mnc-dev
Jae Seo [Mon, 20 Jul 2015 23:59:22 +0000 (23:59 +0000)]
Merge "TIF: Get or create the user state when failed to find existing one" into mnc-dev

9 years agoMerge "TIF: Use copied track list for onTracksChanged() callback" into mnc-dev
Terry Heo [Mon, 20 Jul 2015 23:57:28 +0000 (23:57 +0000)]
Merge "TIF: Use copied track list for onTracksChanged() callback" into mnc-dev

9 years agoam 6444fe12: Merge "MediaSessionRecord: do not hold a lock when calling AudioSystem...
Dongwon Kang [Mon, 20 Jul 2015 23:56:37 +0000 (23:56 +0000)]
am 6444fe12: Merge "MediaSessionRecord: do not hold a lock when calling AudioSystem.isStreamActive" into mnc-dev

* commit '6444fe121449f1cacf4500d3098b590c74e3646d':
  MediaSessionRecord: do not hold a lock when calling AudioSystem.isStreamActive

9 years agoam 55786e11: Merge "Test app to emit all AccessibilityEvents to logcat." into mnc-dev
Jorim Jaggi [Mon, 20 Jul 2015 23:56:33 +0000 (23:56 +0000)]
am 55786e11: Merge "Test app to emit all AccessibilityEvents to logcat." into mnc-dev

* commit '55786e1164d522d878d1f493c30330669b1fd868':
  Test app to emit all AccessibilityEvents to logcat.

9 years agoMerge "MediaSessionRecord: do not hold a lock when calling AudioSystem.isStreamActive...
Dongwon Kang [Mon, 20 Jul 2015 23:49:59 +0000 (23:49 +0000)]
Merge "MediaSessionRecord: do not hold a lock when calling AudioSystem.isStreamActive" into mnc-dev

9 years agoam 1f98c62f: Fix unnecessary layer creation for appear animation
Jorim Jaggi [Mon, 20 Jul 2015 23:45:46 +0000 (23:45 +0000)]
am 1f98c62f: Fix unnecessary layer creation for appear animation

* commit '1f98c62f9a60fedd8f18bd47e3f3c4e5fcb34031':
  Fix unnecessary layer creation for appear animation

9 years agoam 15d68941: Merge "[RenderScript] Add docs advising users about dstAtop bug." into...
Miao Wang [Mon, 20 Jul 2015 23:45:42 +0000 (23:45 +0000)]
am 15d68941: Merge "[RenderScript] Add docs advising users about dstAtop bug." into mnc-dev

* commit '15d6894170f2ee1a6eae57c915fcc27a56c9de17':
  [RenderScript] Add docs advising users about dstAtop bug.

9 years agoam 4cd72169: Fix window animation flickering
Jorim Jaggi [Mon, 20 Jul 2015 23:45:37 +0000 (23:45 +0000)]
am 4cd72169: Fix window animation flickering

* commit '4cd7216967a3e6211785c8acdeca449d61d796a0':
  Fix window animation flickering

9 years agoMerge "Test app to emit all AccessibilityEvents to logcat." into mnc-dev
Jorim Jaggi [Mon, 20 Jul 2015 23:43:48 +0000 (23:43 +0000)]
Merge "Test app to emit all AccessibilityEvents to logcat." into mnc-dev

9 years agoam e58ba842: am 8924f23d: Merge "Fix SysUI crashes on svelte devices" into mnc-dev
Jorim Jaggi [Mon, 20 Jul 2015 23:40:00 +0000 (23:40 +0000)]
am e58ba842: am 8924f23d: Merge "Fix SysUI crashes on svelte devices" into mnc-dev

* commit 'e58ba842de4324c62b7e527f0b90fc6ee5ccba13':
  Fix SysUI crashes on svelte devices

9 years agoFix unnecessary layer creation for appear animation
Jorim Jaggi [Mon, 20 Jul 2015 18:43:27 +0000 (11:43 -0700)]
Fix unnecessary layer creation for appear animation

Bug: 22561692
Change-Id: I9e5a52f8113d1cbb5afba61d7979770c2dddc5ed

9 years agoMerge "[RenderScript] Add docs advising users about dstAtop bug." into mnc-dev
Miao Wang [Mon, 20 Jul 2015 23:37:44 +0000 (23:37 +0000)]
Merge "[RenderScript] Add docs advising users about dstAtop bug." into mnc-dev

9 years agoFix window animation flickering
Jorim Jaggi [Mon, 20 Jul 2015 18:54:26 +0000 (11:54 -0700)]
Fix window animation flickering

Bug: 22502673
Change-Id: I939e5840e10f3c0582148a5a01908076f994ae69

9 years agoam 8924f23d: Merge "Fix SysUI crashes on svelte devices" into mnc-dev
Jorim Jaggi [Mon, 20 Jul 2015 23:24:21 +0000 (23:24 +0000)]
am 8924f23d: Merge "Fix SysUI crashes on svelte devices" into mnc-dev

* commit '8924f23d3ecdcb2b1ce4dbc9bb4fbb9ddfa62710':
  Fix SysUI crashes on svelte devices

9 years agoRespect style boundaries when measuring text
Raph Levien [Mon, 20 Jul 2015 23:22:01 +0000 (16:22 -0700)]
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

9 years agoTIF: Get or create the user state when failed to find existing one
Jae Seo [Mon, 20 Jul 2015 23:15:01 +0000 (16:15 -0700)]
TIF: Get or create the user state when failed to find existing one

Bug: 22560640
Change-Id: Idc56dc2b16319d173f005fc236f91f70d1a93fad

9 years agoam 23305e9f: am 41668b25: Merge "Adjust padding and font size in time picker for...
Alan Viverette [Mon, 20 Jul 2015 23:15:23 +0000 (23:15 +0000)]
am 23305e9f: am 41668b25: Merge "Adjust padding and font size in time picker for Large text mode" into mnc-dev

* commit '23305e9f54207f5c945dfda7f0d576871f50b917':
  Adjust padding and font size in time picker for Large text mode

9 years agoam 783b3d9d: am 001f1e7e: Merge "Add missing invalidation check to drawable cache...
Alan Viverette [Mon, 20 Jul 2015 23:15:19 +0000 (23:15 +0000)]
am 783b3d9d: am 001f1e7e: Merge "Add missing invalidation check to drawable cache" into mnc-dev

* commit '783b3d9d0954f7bba5f69ed7a15af61c55af7cfc':
  Add missing invalidation check to drawable cache

9 years agoMerge "Fix SysUI crashes on svelte devices" into mnc-dev
Jorim Jaggi [Mon, 20 Jul 2015 23:09:44 +0000 (23:09 +0000)]
Merge "Fix SysUI crashes on svelte devices" into mnc-dev

9 years ago[RenderScript] Add docs advising users about dstAtop bug.
Miao Wang [Mon, 20 Jul 2015 22:05:31 +0000 (15:05 -0700)]
[RenderScript] Add docs advising users about dstAtop bug.

Bug: 22047392
Change-Id: I736a697276020687c20dff515aabb1be1776f8c0

9 years agoam 7b36e3ad: am 02aff29c: Merge "[Fix MANAGE_USER permission in AccountManagerService...
Simranjit Singh Kohli [Mon, 20 Jul 2015 23:01:52 +0000 (23:01 +0000)]
am 7b36e3ad: 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

* commit '7b36e3adf58b99c06bbe8691132fb6e32bb445bc':
  [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.

9 years agoam 609cb585: am a7ce2344: Merge "Fix issue #22564918: Request is inactive" into mnc-dev
Dianne Hackborn [Mon, 20 Jul 2015 23:01:48 +0000 (23:01 +0000)]
am 609cb585: am a7ce2344: Merge "Fix issue #22564918: Request is inactive" into mnc-dev

* commit '609cb5853362a742870b70d1234afdae62e2ff62':
  Fix issue #22564918: Request is inactive

9 years agoMediaSessionRecord: do not hold a lock when calling AudioSystem.isStreamActive
Dongwon Kang [Mon, 20 Jul 2015 22:59:53 +0000 (15:59 -0700)]
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

9 years agoam 41668b25: Merge "Adjust padding and font size in time picker for Large text mode...
Alan Viverette [Mon, 20 Jul 2015 22:59:37 +0000 (22:59 +0000)]
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

9 years agoam 001f1e7e: Merge "Add missing invalidation check to drawable cache" into mnc-dev
Alan Viverette [Mon, 20 Jul 2015 22:59:33 +0000 (22:59 +0000)]
am 001f1e7e: Merge "Add missing invalidation check to drawable cache" into mnc-dev

* commit '001f1e7eb35630df24d53298c1a3d2de055d7ce9':
  Add missing invalidation check to drawable cache

9 years agoMerge "Adjust padding and font size in time picker for Large text mode" into mnc-dev
Alan Viverette [Mon, 20 Jul 2015 22:48:26 +0000 (22:48 +0000)]
Merge "Adjust padding and font size in time picker for Large text mode" into mnc-dev

9 years agoFix SysUI crashes on svelte devices
Jorim Jaggi [Mon, 20 Jul 2015 21:44:55 +0000 (14:44 -0700)]
Fix SysUI crashes on svelte devices

Bug: 22602295
Change-Id: Idac0d62683c0f6f7cf7b795967632e34d771c4f7

9 years agoMerge "Add missing invalidation check to drawable cache" into mnc-dev
Alan Viverette [Mon, 20 Jul 2015 22:44:30 +0000 (22:44 +0000)]
Merge "Add missing invalidation check to drawable cache" into mnc-dev

9 years agoam 02aff29c: Merge "[Fix MANAGE_USER permission in AccountManagerService] It seems...
Simranjit Singh Kohli [Mon, 20 Jul 2015 22:44:18 +0000 (22:44 +0000)]
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.

9 years agoam a7ce2344: Merge "Fix issue #22564918: Request is inactive" into mnc-dev
Dianne Hackborn [Mon, 20 Jul 2015 22:44:13 +0000 (22:44 +0000)]
am a7ce2344: Merge "Fix issue #22564918: Request is inactive" into mnc-dev

* commit 'a7ce23440328e63f36a4add05199aa84ff04032d':
  Fix issue #22564918: Request is inactive

9 years agoUsbDeviceManager: add back support for USB overlays
Nick Kralevich [Mon, 20 Jul 2015 22:36:21 +0000 (15:36 -0700)]
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

9 years agoMerge "[Fix MANAGE_USER permission in AccountManagerService] It seems that curently...
Simranjit Singh Kohli [Mon, 20 Jul 2015 22:39:49 +0000 (22:39 +0000)]
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

9 years agoam 7800a1f8: am 86b273f1: Fix jank in swipe-up to unlock
Jorim Jaggi [Mon, 20 Jul 2015 22:36:47 +0000 (22:36 +0000)]
am 7800a1f8: am 86b273f1: Fix jank in swipe-up to unlock

* commit '7800a1f8791e32e7efef9ab917815ea2fa1b8315':
  Fix jank in swipe-up to unlock

9 years agoMerge "Fix issue #22564918: Request is inactive" into mnc-dev
Dianne Hackborn [Mon, 20 Jul 2015 22:34:46 +0000 (22:34 +0000)]
Merge "Fix issue #22564918: Request is inactive" into mnc-dev

9 years agoam 86b273f1: Fix jank in swipe-up to unlock
Jorim Jaggi [Mon, 20 Jul 2015 22:21:50 +0000 (22:21 +0000)]
am 86b273f1: Fix jank in swipe-up to unlock

* commit '86b273f1cc59185a14d5bab8a3f4db30c1a4c8a9':
  Fix jank in swipe-up to unlock

9 years agoam c0c20b26: am f8763581: Allow navigation bar drawing during window animations
Jorim Jaggi [Mon, 20 Jul 2015 22:15:13 +0000 (22:15 +0000)]
am c0c20b26: am f8763581: Allow navigation bar drawing during window animations

* commit 'c0c20b2674269f3a0ec7ab500781b8a8920c65c3':
  Allow navigation bar drawing during window animations

9 years agoam f8763581: Allow navigation bar drawing during window animations
Jorim Jaggi [Mon, 20 Jul 2015 22:01:23 +0000 (22:01 +0000)]
am f8763581: Allow navigation bar drawing during window animations

* commit 'f87635813cabbf4f7dc0236fffc6b07a2715aff3':
  Allow navigation bar drawing during window animations

9 years agoFix jank in swipe-up to unlock
Jorim Jaggi [Wed, 15 Jul 2015 01:08:43 +0000 (18:08 -0700)]
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

9 years agoFix issue #22564918: Request is inactive
Dianne Hackborn [Mon, 20 Jul 2015 21:49:58 +0000 (14:49 -0700)]
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

9 years agoAllow navigation bar drawing during window animations
Jorim Jaggi [Mon, 20 Jul 2015 19:19:52 +0000 (12:19 -0700)]
Allow navigation bar drawing during window animations

Bug: 22605259
Change-Id: I080dc7bf2dfdc6666a5f38eebecc7c9a6034d04a

9 years agoam 32f7527d: am 2dc6ebbe: Merge "Fix default value of stereoReset() in the documentat...
Roozbeh Pournader [Mon, 20 Jul 2015 21:38:32 +0000 (21:38 +0000)]
am 32f7527d: am 2dc6ebbe: Merge "Fix default value of stereoReset() in the documentation." into mnc-dev

* commit '32f7527d0cabec317476ae45ec369efab51f9343':
  Fix default value of stereoReset() in the documentation.

9 years agoam 00eb5767: am 437eb6ce: Merge "Fix: Wrong suggestion popup position in extract...
Keisuke Kuroyanagi [Mon, 20 Jul 2015 21:38:29 +0000 (21:38 +0000)]
am 00eb5767: am 437eb6ce: Merge "Fix: Wrong suggestion popup position in extract mode." into mnc-dev

* commit '00eb57678d8e6aa152ffbbf4b43f41c3287e480e':
  Fix: Wrong suggestion popup position in extract mode.

9 years agoam dacf0443: am b0e4a9e8: Merge "Support optional modem restart on certain errors...
Robert Greenwalt [Mon, 20 Jul 2015 21:38:23 +0000 (21:38 +0000)]
am dacf0443: am b0e4a9e8: Merge "Support optional modem restart on certain errors." into mnc-dev

* commit 'dacf0443d57c11c8b7021f591a20519e53dd3b9e':
  Support optional modem restart on certain errors.

9 years agoam 2dc6ebbe: Merge "Fix default value of stereoReset() in the documentation." into...
Roozbeh Pournader [Mon, 20 Jul 2015 21:23:47 +0000 (21:23 +0000)]
am 2dc6ebbe: Merge "Fix default value of stereoReset() in the documentation." into mnc-dev

* commit '2dc6ebbea8a72e90bc66cac84b15ae3ce5898536':
  Fix default value of stereoReset() in the documentation.

9 years agoam 437eb6ce: Merge "Fix: Wrong suggestion popup position in extract mode." into mnc-dev
Keisuke Kuroyanagi [Mon, 20 Jul 2015 21:23:43 +0000 (21:23 +0000)]
am 437eb6ce: Merge "Fix: Wrong suggestion popup position in extract mode." into mnc-dev

* commit '437eb6ce483a34e28c06d70c0b408ba4a495293a':
  Fix: Wrong suggestion popup position in extract mode.

9 years agoam b0e4a9e8: Merge "Support optional modem restart on certain errors." into mnc-dev
Robert Greenwalt [Mon, 20 Jul 2015 21:23:38 +0000 (21:23 +0000)]
am b0e4a9e8: Merge "Support optional modem restart on certain errors." into mnc-dev

* commit 'b0e4a9e8a4367cbc3c7f08f7f95cfa0c9397fdaf':
  Support optional modem restart on certain errors.

9 years agoMerge "Fix default value of stereoReset() in the documentation." into mnc-dev
Roozbeh Pournader [Mon, 20 Jul 2015 21:20:00 +0000 (21:20 +0000)]
Merge "Fix default value of stereoReset() in the documentation." into mnc-dev

9 years agoam 47b9d250: am 33c619bb: Merge "Fix hotspot brokenness" into mnc-dev
Jason Monk [Mon, 20 Jul 2015 21:17:37 +0000 (21:17 +0000)]
am 47b9d250: am 33c619bb: Merge "Fix hotspot brokenness" into mnc-dev

* commit '47b9d250220f7eaaef7465367fd6ff0d2c86f4e1':
  Fix hotspot brokenness

9 years agoam 48d707ae: am 26f7720e: Merge "MediaSession: Do not lock on AudioManager.getStreamV...
Jae Seo [Mon, 20 Jul 2015 21:17:32 +0000 (21:17 +0000)]
am 48d707ae: am 26f7720e: Merge "MediaSession: Do not lock on AudioManager.getStreamVolume" into mnc-dev

* commit '48d707ae07df8b03585fc00880e61ebf7cdb6a5b':
  MediaSession: Do not lock on AudioManager.getStreamVolume

9 years agoam fe7a311c: am 35ba2cdb: Merge "Inherit ABI when moving existing install." into...
Jeff Sharkey [Mon, 20 Jul 2015 21:17:28 +0000 (21:17 +0000)]
am fe7a311c: am 35ba2cdb: Merge "Inherit ABI when moving existing install." into mnc-dev

* commit 'fe7a311c421473f1b50dcd2751585f89664a4327':
  Inherit ABI when moving existing install.

9 years agoMerge "Fix: Wrong suggestion popup position in extract mode." into mnc-dev
Keisuke Kuroyanagi [Mon, 20 Jul 2015 21:12:36 +0000 (21:12 +0000)]
Merge "Fix: Wrong suggestion popup position in extract mode." into mnc-dev

9 years agoMerge "Support optional modem restart on certain errors." into mnc-dev
Robert Greenwalt [Mon, 20 Jul 2015 21:10:39 +0000 (21:10 +0000)]
Merge "Support optional modem restart on certain errors." into mnc-dev