OSDN Git Service

android-x86/frameworks-base.git
9 years agoam 27fbd360: am 7c482463: Merge "Null checks to prevent NPEs in Fragments transaction...
George Mount [Thu, 23 Jul 2015 19:20:32 +0000 (19:20 +0000)]
am 27fbd360: am 7c482463: Merge "Null checks to prevent NPEs in Fragments transactions." into mnc-dev

* commit '27fbd360a8256cf6321da9ba29bab02b3d241aba':
  Null checks to prevent NPEs in Fragments transactions.

9 years agoam fcf9acb9: am 20df6234: Merge "Add callback to voice interaction session for locksc...
Jorim Jaggi [Thu, 23 Jul 2015 19:20:27 +0000 (19:20 +0000)]
am fcf9acb9: am 20df6234: Merge "Add callback to voice interaction session for lockscreen shown" into mnc-dev

* commit 'fcf9acb95a536f939a418529f642e60f51f5886a':
  Add callback to voice interaction session for lockscreen shown

9 years agoam b30f841c: resolved conflicts for merge of c1244a29 to mnc-dr-dev
Adrian Roos [Thu, 23 Jul 2015 19:20:22 +0000 (19:20 +0000)]
am b30f841c: resolved conflicts for merge of c1244a29 to mnc-dr-dev

* commit 'b30f841cb44e132598939b0797dad41f6c0004a7':
  Touch, wake and unlock

9 years agoam 7c482463: Merge "Null checks to prevent NPEs in Fragments transactions." into...
George Mount [Wed, 22 Jul 2015 20:23:02 +0000 (20:23 +0000)]
am 7c482463: Merge "Null checks to prevent NPEs in Fragments transactions." into mnc-dev

* commit '7c482463cbea39cdbf2c3c8f481d82711cf0475b':
  Null checks to prevent NPEs in Fragments transactions.

9 years agoam 20df6234: Merge "Add callback to voice interaction session for lockscreen shown...
Jorim Jaggi [Wed, 22 Jul 2015 20:22:56 +0000 (20:22 +0000)]
am 20df6234: Merge "Add callback to voice interaction session for lockscreen shown" into mnc-dev

* commit '20df62345910ad390a3bb321990987757db0831d':
  Add callback to voice interaction session for lockscreen shown

9 years agoresolved conflicts for merge of c1244a29 to mnc-dr-dev
Adrian Roos [Wed, 22 Jul 2015 19:00:50 +0000 (12:00 -0700)]
resolved conflicts for merge of c1244a29 to mnc-dr-dev

Change-Id: I8b3e3a21e36ac5085bf1dffa90e49dabd17dd139

9 years agoam c41e3191: (-s ours) Merge "Import translations. DO NOT MERGE" into mnc-dr-dev
Geoff Mendal [Wed, 22 Jul 2015 16:09:47 +0000 (16:09 +0000)]
am c41e3191: (-s ours) Merge "Import translations. DO NOT MERGE" into mnc-dr-dev

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

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dr-dev
Geoff Mendal [Wed, 22 Jul 2015 15:56:29 +0000 (15:56 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dr-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 22 Jul 2015 15:42:52 +0000 (10:42 -0500)]
Import translations. DO NOT MERGE

Change-Id: If03e28dba328619399e4f81a01283afbebd7d50d
Auto-generated-cl: translation import

9 years agoam 920e8be6: (-s ours) Merge "Import translations. DO NOT MERGE" into mnc-dr-dev
Geoff Mendal [Wed, 22 Jul 2015 14:03:58 +0000 (14:03 +0000)]
am 920e8be6: (-s ours) Merge "Import translations. DO NOT MERGE" into mnc-dr-dev

* commit '920e8be69db7cd24a9c5566b95686a6b714447e9':
  Import translations. DO NOT MERGE

9 years agoam e573ee63: (-s ours) Merge "Import translations. DO NOT MERGE" into mnc-dr-dev
Geoff Mendal [Wed, 22 Jul 2015 14:03:54 +0000 (14:03 +0000)]
am e573ee63: (-s ours) Merge "Import translations. DO NOT MERGE" into mnc-dr-dev

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

9 years agoam b568f3fd: (-s ours) Import translations. DO NOT MERGE
Geoff Mendal [Wed, 22 Jul 2015 14:03:50 +0000 (14:03 +0000)]
am b568f3fd: (-s ours) Import translations. DO NOT MERGE

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

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dr-dev
Geoff Mendal [Wed, 22 Jul 2015 13:58:09 +0000 (13:58 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dr-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 22 Jul 2015 13:53:49 +0000 (06:53 -0700)]
Import translations. DO NOT MERGE

Change-Id: If222f66dff503d3b3f0349d76fd082a6780414d7
Auto-generated-cl: translation import

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dr-dev
Geoff Mendal [Wed, 22 Jul 2015 13:51:43 +0000 (13:51 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dr-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 22 Jul 2015 13:50:26 +0000 (06:50 -0700)]
Import translations. DO NOT MERGE

Change-Id: I064668ffb91d718c0981ecd0f221e5f3b0d364d7
Auto-generated-cl: translation import

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 22 Jul 2015 13:49:42 +0000 (06:49 -0700)]
Import translations. DO NOT MERGE

Change-Id: I51a4605c050aab170712962b4cc2a7df7ca9174d
Auto-generated-cl: translation import

9 years agoMerge "Null checks to prevent NPEs in Fragments transactions." into mnc-dev
George Mount [Tue, 21 Jul 2015 22:51:27 +0000 (22:51 +0000)]
Merge "Null checks to prevent NPEs in Fragments transactions." into mnc-dev

9 years agoMerge "Add callback to voice interaction session for lockscreen shown" into mnc-dev
Jorim Jaggi [Tue, 21 Jul 2015 22:46:30 +0000 (22:46 +0000)]
Merge "Add callback to voice interaction session for lockscreen shown" into mnc-dev

9 years agoMerge "Touch, wake and unlock" into mnc-dev
Jorim Jaggi [Tue, 21 Jul 2015 21:53:09 +0000 (21:53 +0000)]
Merge "Touch, wake and unlock" into mnc-dev

9 years agoam b020b0d9: am cf051d18: Merge "Avoid NPE when no staged installs." into mnc-dev
Jeff Sharkey [Tue, 21 Jul 2015 21:52:57 +0000 (21:52 +0000)]
am b020b0d9: am cf051d18: Merge "Avoid NPE when no staged installs." into mnc-dev

* commit 'b020b0d97d80f0ebb550ce58a5b36787cfcf6df8':
  Avoid NPE when no staged installs.

9 years agoam cf051d18: Merge "Avoid NPE when no staged installs." into mnc-dev
Jeff Sharkey [Tue, 21 Jul 2015 21:36:56 +0000 (21:36 +0000)]
am cf051d18: Merge "Avoid NPE when no staged installs." into mnc-dev

* commit 'cf051d1846c347413d8c907b42f3fce74795a815':
  Avoid NPE when no staged installs.

9 years agoNull checks to prevent NPEs in Fragments transactions.
George Mount [Tue, 21 Jul 2015 21:30:24 +0000 (14:30 -0700)]
Null checks to prevent NPEs in Fragments transactions.

Bug 22631964

Change-Id: I20bc80bfb0ba5f1081d1c349b94db7c5475bcc51

9 years agoMerge "Avoid NPE when no staged installs." into mnc-dev
Jeff Sharkey [Tue, 21 Jul 2015 21:23:56 +0000 (21:23 +0000)]
Merge "Avoid NPE when no staged installs." into mnc-dev

9 years agoam 9317d0b9: am 1fddd3ef: Merge "Mark isInUse per-window" into mnc-dev
John Reck [Tue, 21 Jul 2015 21:19:47 +0000 (21:19 +0000)]
am 9317d0b9: am 1fddd3ef: Merge "Mark isInUse per-window" into mnc-dev

* commit '9317d0b9904573bdb0d815ec563dd263447f11db':
  Mark isInUse per-window

9 years agoam cf6500b9: am 55a116d0: Merge "Updated JavaDoc for DISALLOW_MODIFY_ACCOUNTS restric...
Fyodor Kupolov [Tue, 21 Jul 2015 21:05:01 +0000 (21:05 +0000)]
am cf6500b9: am 55a116d0: Merge "Updated JavaDoc for DISALLOW_MODIFY_ACCOUNTS restriction" into mnc-dev

* commit 'cf6500b9bae461107d5c0c58de511df907d19fb3':
  Updated JavaDoc for DISALLOW_MODIFY_ACCOUNTS restriction

9 years agoam 1fddd3ef: Merge "Mark isInUse per-window" into mnc-dev
John Reck [Tue, 21 Jul 2015 21:04:45 +0000 (21:04 +0000)]
am 1fddd3ef: Merge "Mark isInUse per-window" into mnc-dev

* commit '1fddd3efa9ac10e794d7bdf457b7b52c7e4614f7':
  Mark isInUse per-window

9 years agoMerge "Mark isInUse per-window" into mnc-dev
John Reck [Tue, 21 Jul 2015 20:50:27 +0000 (20:50 +0000)]
Merge "Mark isInUse per-window" into mnc-dev

9 years agoam 55a116d0: Merge "Updated JavaDoc for DISALLOW_MODIFY_ACCOUNTS restriction" into...
Fyodor Kupolov [Tue, 21 Jul 2015 20:50:24 +0000 (20:50 +0000)]
am 55a116d0: Merge "Updated JavaDoc for DISALLOW_MODIFY_ACCOUNTS restriction" into mnc-dev

* commit '55a116d00ca3f7b84a6af1c5c3472323ad5bc6ca':
  Updated JavaDoc for DISALLOW_MODIFY_ACCOUNTS restriction

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 agoMerge "Updated JavaDoc for DISALLOW_MODIFY_ACCOUNTS restriction" into mnc-dev
Fyodor Kupolov [Tue, 21 Jul 2015 20:32:25 +0000 (20:32 +0000)]
Merge "Updated JavaDoc for DISALLOW_MODIFY_ACCOUNTS restriction" into mnc-dev

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 agoAdd callback to voice interaction session for lockscreen shown
Jorim Jaggi [Mon, 20 Jul 2015 22:51:40 +0000 (15:51 -0700)]
Add callback to voice interaction session for lockscreen shown

Bug: 22402726
Change-Id: Iaf83e2f2b0389d74b6ecf480aa91a34443803f7b

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 agoUpdated JavaDoc for DISALLOW_MODIFY_ACCOUNTS restriction
Fyodor Kupolov [Tue, 21 Jul 2015 18:48:18 +0000 (11:48 -0700)]
Updated JavaDoc for DISALLOW_MODIFY_ACCOUNTS restriction

Bug: 21521860
Change-Id: I0c2659f84589a77432317fbc89d49716027577d3

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 agoMark isInUse per-window
John Reck [Tue, 21 Jul 2015 17:23:59 +0000 (10:23 -0700)]
Mark isInUse per-window

Bug: 22509159
Change-Id: I0ae0f1fa582ee38dcb9f24ca20f0b4d0c57ccb32

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 agoTouch, wake and unlock
Jorim Jaggi [Thu, 9 Jul 2015 19:13:59 +0000 (12:13 -0700)]
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

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 agoAvoid NPE when no staged installs.
Jeff Sharkey [Mon, 20 Jul 2015 23:36:55 +0000 (16:36 -0700)]
Avoid NPE when no staged installs.

listFiles() returns null instead of empty list; deal with it.

Bug: 22608671
Change-Id: I60dabec31932af3cded915c6927a4c5e5c71775d

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