OSDN Git Service

android-x86/frameworks-base.git
8 years agoam 7a097ff1: Merge "Shared user retains permissions no longer used by any app on...
Svetoslav Ganov [Mon, 12 Oct 2015 23:42:51 +0000 (23:42 +0000)]
am 7a097ff1: Merge "Shared user retains permissions no longer used by any app on an app update" into mnc-dr-dev

* commit '7a097ff159466c4e887f1c821aeaa545f80e54b6':
  Shared user retains permissions no longer used by any app on an app update

8 years agoMerge "Shared user retains permissions no longer used by any app on an app update...
Svetoslav Ganov [Mon, 12 Oct 2015 23:39:14 +0000 (23:39 +0000)]
Merge "Shared user retains permissions no longer used by any app on an app update" into mnc-dr-dev

8 years agoam 11af1878: Merge "Add animation and positional stability to intent chooser UI"...
Adam Powell [Mon, 12 Oct 2015 23:33:33 +0000 (23:33 +0000)]
am 11af1878: Merge "Add animation and positional stability to intent chooser UI" into mnc-dr-dev

* commit '11af18783d32f8646428500a0ff3a2a57a77bf95':
  Add animation and positional stability to intent chooser UI

8 years agoMerge "Add animation and positional stability to intent chooser UI" into mnc-dr-dev
Adam Powell [Mon, 12 Oct 2015 23:28:36 +0000 (23:28 +0000)]
Merge "Add animation and positional stability to intent chooser UI" into mnc-dr-dev

8 years agoShared user retains permissions no longer used by any app on an app update
Svetoslav [Mon, 12 Oct 2015 22:58:06 +0000 (15:58 -0700)]
Shared user retains permissions no longer used by any app on an app update

If an app in a shared user uses permission A and B and these are granted
to the shared user and now an app update is installed that only uses A,
the shared user still ratains the B grant. A shared user should have only
permissions declared as used by its currenlty installed apps.

bug:24736912

Change-Id: Idea6c06bdc236fd481a860cddb379e6ce660ee87

8 years agoam 34c120dc: Merge ""Fix" issue #24357296: Debug.getMemoryInfo doesn\'t include EGL...
Dianne Hackborn [Mon, 12 Oct 2015 23:00:45 +0000 (23:00 +0000)]
am 34c120dc: Merge ""Fix" issue #24357296: Debug.getMemoryInfo doesn\'t include EGL mtrack..." into mnc-dr-dev

* commit '34c120dc6142c861cb131c900cdee3c19f81ce51':
  "Fix" issue #24357296: Debug.getMemoryInfo doesn't include EGL mtrack...

8 years agoMerge ""Fix" issue #24357296: Debug.getMemoryInfo doesn't include EGL mtrack..."...
Dianne Hackborn [Mon, 12 Oct 2015 22:55:10 +0000 (22:55 +0000)]
Merge ""Fix" issue #24357296: Debug.getMemoryInfo doesn't include EGL mtrack..." into mnc-dr-dev

8 years agoam bde2707f: Merge "Add additional density enums to android:screenDensity attribute...
Adam Lesinski [Mon, 12 Oct 2015 22:14:37 +0000 (22:14 +0000)]
am bde2707f: Merge "Add additional density enums to android:screenDensity attribute" into mnc-dr-dev

* commit 'bde2707f7cb8a5f97b3b077cd49bb034f1a359ff':
  Add additional density enums to android:screenDensity attribute

8 years ago"Fix" issue #24357296: Debug.getMemoryInfo doesn't include EGL mtrack...
Dianne Hackborn [Mon, 12 Oct 2015 22:14:16 +0000 (15:14 -0700)]
"Fix" issue #24357296: Debug.getMemoryInfo doesn't include EGL mtrack...

...due to lack of permissions

Still doesn't, but an alternative is now offered.

Change-Id: I7b9da709c96ed7790c70d686c30c7855f3979778

8 years agoMerge "Add additional density enums to android:screenDensity attribute" into mnc...
Adam Lesinski [Mon, 12 Oct 2015 22:11:51 +0000 (22:11 +0000)]
Merge "Add additional density enums to android:screenDensity attribute" into mnc-dr-dev

8 years agoam ca296978: Merge "MidiManager: fix double BTLE callback" into mnc-dr-dev
Phil Burk [Mon, 12 Oct 2015 22:04:43 +0000 (22:04 +0000)]
am ca296978: Merge "MidiManager: fix double BTLE callback" into mnc-dr-dev

* commit 'ca296978e7f2a1f70b8dca32b1db9372c2392458':
  MidiManager: fix double BTLE callback

8 years agoMerge "MidiManager: fix double BTLE callback" into mnc-dr-dev
Phil Burk [Mon, 12 Oct 2015 22:01:03 +0000 (22:01 +0000)]
Merge "MidiManager: fix double BTLE callback" into mnc-dr-dev

8 years agoam e39def48: MidiService: update listener with current status when registered
Phil Burk [Mon, 12 Oct 2015 21:36:49 +0000 (21:36 +0000)]
am e39def48: MidiService: update listener with current status when registered

* commit 'e39def480fd2d1bcc3a89751dd492d4634c38194':
  MidiService: update listener with current status when registered

8 years agoMidiManager: fix double BTLE callback
Phil Burk [Fri, 21 Aug 2015 22:22:35 +0000 (15:22 -0700)]
MidiManager: fix double BTLE callback

Stop openBluetoothDevice() from calling its callback twice.

Bug: 23218338
Change-Id: I2e738b22a124c0336c46bef05680a82ee1f59e79
Signed-off-by: Phil Burk <philburk@google.com>
(cherry picked from commit 0ca998d79fe95ded26ec4ff0a1e0a8dc4802684b)

8 years agoMidiService: update listener with current status when registered
Phil Burk [Thu, 6 Aug 2015 06:32:54 +0000 (23:32 -0700)]
MidiService: update listener with current status when registered

This will give an app an opportunity to learn whether an input port is busy
before the user tries to connect and then fails.

Bug: 22825043
Change-Id: Ifede60f166dfe66ea15453044fce06f4a8452b18
Signed-off-by: Phil Burk <philburk@google.com>
(cherry picked from commit b2355940e3e697deeecd1b6511cd5094f9dc553a)

8 years agoam c83a6121: Merge "Move ASSIST_BLOCKED flag to avoid collision with SCROLL_INDICATOR...
Alan Viverette [Mon, 12 Oct 2015 19:48:49 +0000 (19:48 +0000)]
am c83a6121: Merge "Move ASSIST_BLOCKED flag to avoid collision with SCROLL_INDICATOR" into mnc-dr-dev

* commit 'c83a6121d214631c0a52be5b2c5c8ce2f6470ed0':
  Move ASSIST_BLOCKED flag to avoid collision with SCROLL_INDICATOR

8 years agoMerge "Move ASSIST_BLOCKED flag to avoid collision with SCROLL_INDICATOR" into mnc...
Alan Viverette [Mon, 12 Oct 2015 19:41:10 +0000 (19:41 +0000)]
Merge "Move ASSIST_BLOCKED flag to avoid collision with SCROLL_INDICATOR" into mnc-dr-dev

8 years agoam 6cc3735a: Merge "Fix issue #23581553: Ignore Battery Optimization not work for...
Dianne Hackborn [Mon, 12 Oct 2015 19:16:23 +0000 (19:16 +0000)]
am 6cc3735a: Merge "Fix issue #23581553: Ignore Battery Optimization not work for re-install app" into mnc-dr-dev

* commit '6cc3735a492abd1c17f15a46287de70e62bf116d':
  Fix issue #23581553: Ignore Battery Optimization not work for re-install app

8 years agoMerge "Fix issue #23581553: Ignore Battery Optimization not work for re-install app...
Dianne Hackborn [Mon, 12 Oct 2015 19:11:46 +0000 (19:11 +0000)]
Merge "Fix issue #23581553: Ignore Battery Optimization not work for re-install app" into mnc-dr-dev

8 years agoAdd additional density enums to android:screenDensity attribute
Adam Lesinski [Fri, 9 Oct 2015 20:14:07 +0000 (13:14 -0700)]
Add additional density enums to android:screenDensity attribute

Bug:24804021
Change-Id: I70c34da9ca5d186aa1ffaacf7f15180d4c4b81e1

8 years agoam 5c18d051: Use effectiveUid instead of callingUid to set lockTaskMode
Wale Ogunwale [Mon, 12 Oct 2015 18:04:43 +0000 (18:04 +0000)]
am 5c18d051: Use effectiveUid instead of callingUid to set lockTaskMode

* commit '5c18d0517749cf2e65d19ea6bec938a4eb6c39e5':
  Use effectiveUid instead of callingUid to set lockTaskMode

8 years agoFix issue #23581553: Ignore Battery Optimization not work for re-install app
Dianne Hackborn [Mon, 12 Oct 2015 17:59:47 +0000 (10:59 -0700)]
Fix issue #23581553: Ignore Battery Optimization not work for re-install app

Remove from whitelist as appropriate.  Also be sure we can find whitelisted
apps even if they are not installed in the primary user.

Change-Id: I3ed13dca99b3ba177af8f7bd26a75258df9b6949

8 years agoUse effectiveUid instead of callingUid to set lockTaskMode
Wale Ogunwale [Mon, 12 Oct 2015 17:34:14 +0000 (10:34 -0700)]
Use effectiveUid instead of callingUid to set lockTaskMode

The callingUid can be different from that of the app been locked
(e.g. was launched from launcher) there by leading to the app crashing
when it tries to exit lockTaskMode.

Bug: 24146132
Change-Id: I03346fabd1d7e61b29178220c72f747a0600f5ec

8 years agoam c4c42d55: Merge "[RenderScript] pass correct length of ains to BLAS functions...
Miao Wang [Mon, 12 Oct 2015 16:53:33 +0000 (16:53 +0000)]
am c4c42d55: Merge "[RenderScript] pass correct length of ains to BLAS functions" into mnc-dr-dev

* commit 'c4c42d55f0c1a4130da7e8f70a2338a4282b3ae5':
  [RenderScript] pass correct length of ains to BLAS functions

8 years agoMerge "[RenderScript] pass correct length of ains to BLAS functions" into mnc-dr-dev
Miao Wang [Mon, 12 Oct 2015 16:46:55 +0000 (16:46 +0000)]
Merge "[RenderScript] pass correct length of ains to BLAS functions" into mnc-dr-dev

8 years agoam fe9c950a: Merge "Fix parole scheduling bugs." into mnc-dr-dev
Jeff Sharkey [Mon, 12 Oct 2015 16:39:52 +0000 (16:39 +0000)]
am fe9c950a: Merge "Fix parole scheduling bugs." into mnc-dr-dev

* commit 'fe9c950a49a9bcdb9e35f709a7d1fffad58aa414':
  Fix parole scheduling bugs.

8 years agoam a03ecf7d: Merge "Push firewall rules up to ConnectivityService." into mnc-dr-dev
Jeff Sharkey [Mon, 12 Oct 2015 16:39:45 +0000 (16:39 +0000)]
am a03ecf7d: Merge "Push firewall rules up to ConnectivityService." into mnc-dr-dev

* commit 'a03ecf7d7c8ff2844caf5feecc6d29f1f7346ff9':
  Push firewall rules up to ConnectivityService.

8 years agoam fe45f1b9: Merge "Default location is "internalOnly" when undefined." into mnc...
Jeff Sharkey [Mon, 12 Oct 2015 16:39:39 +0000 (16:39 +0000)]
am fe45f1b9: Merge "Default location is "internalOnly" when undefined." into mnc-dr-dev

* commit 'fe45f1b97a1f572ce453193035f1fabf7957cc03':
  Default location is "internalOnly" when undefined.

8 years agoMerge "Fix parole scheduling bugs." into mnc-dr-dev
Jeff Sharkey [Mon, 12 Oct 2015 16:34:37 +0000 (16:34 +0000)]
Merge "Fix parole scheduling bugs." into mnc-dr-dev

8 years agoMerge "Push firewall rules up to ConnectivityService." into mnc-dr-dev
Jeff Sharkey [Mon, 12 Oct 2015 16:34:19 +0000 (16:34 +0000)]
Merge "Push firewall rules up to ConnectivityService." into mnc-dr-dev

8 years agoMerge "Default location is "internalOnly" when undefined." into mnc-dr-dev
Jeff Sharkey [Mon, 12 Oct 2015 16:34:03 +0000 (16:34 +0000)]
Merge "Default location is "internalOnly" when undefined." into mnc-dr-dev

8 years agoam 6be61a98: wm: call displayReady for all built in displays when system is ready.
Vinu Deokaran [Mon, 12 Oct 2015 16:10:56 +0000 (16:10 +0000)]
am 6be61a98: wm: call displayReady for all built in displays when system is ready.

* commit '6be61a98fccbadfdcfcefe9aa51d90bfb6c13901':
  wm: call displayReady for all built in displays when system is ready.

8 years agowm: call displayReady for all built in displays when system is ready.
Vinu Deokaran [Tue, 16 Dec 2014 15:52:52 +0000 (10:52 -0500)]
wm: call displayReady for all built in displays when system is ready.

When system has more than one built in display, displayReady needs
to be called for all built in displays when window manager is ready.
Otherwise, some system services, such as presentation, mediarouter,
etc, won't work on these displays.

Bug: 24103683
Change-Id: Ibf08074eff555c14a318236bd06e7b4855503140

8 years agoam ac3b53a7: (-s ours) Import translations. DO NOT MERGE
Geoff Mendal [Mon, 12 Oct 2015 14:20:49 +0000 (14:20 +0000)]
am ac3b53a7: (-s ours) Import translations. DO NOT MERGE

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

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 12 Oct 2015 14:03:29 +0000 (07:03 -0700)]
Import translations. DO NOT MERGE

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

8 years agoam 4e4d59ee: Connect the DHCP UDP socket to the server.
Lorenzo Colitti [Sun, 11 Oct 2015 08:42:29 +0000 (08:42 +0000)]
am 4e4d59ee: Connect the DHCP UDP socket to the server.

* commit '4e4d59eeef86fa8560d35c00168869b0a066f962':
  Connect the DHCP UDP socket to the server.

8 years agoam eb0bbd45: Merge changes Id6a0b0de,I5f03b8b2,I62464b92 into mnc-dr-dev
Lorenzo Colitti [Sun, 11 Oct 2015 08:42:23 +0000 (08:42 +0000)]
am eb0bbd45: Merge changes Id6a0b0de,I5f03b8b2,I62464b92 into mnc-dr-dev

* commit 'eb0bbd45f62fcaff26151b54a7b3ea16bb67e3be':
  Support DHCP replies with multiple default gateways.
  Accept DHCP responses from non-67 server source ports
  Improve logging of DHCP parse errors using exceptions.

8 years agoConnect the DHCP UDP socket to the server.
Lorenzo Colitti [Thu, 10 Sep 2015 09:12:18 +0000 (18:12 +0900)]
Connect the DHCP UDP socket to the server.

This makes it so that the socket cannot receive datagrams from
anybody except the DHCP server. This does not improve security,
because we never read from the UDP socket anyway, but it does
make ListeningPortsTest pass.

Bug: 23906864
Bug: 23933386
Change-Id: Ib090273a417f7eb2ac1ee3309260249b72fb8345

8 years agoMerge changes Id6a0b0de,I5f03b8b2,I62464b92 into mnc-dr-dev
Lorenzo Colitti [Sun, 11 Oct 2015 06:48:33 +0000 (06:48 +0000)]
Merge changes Id6a0b0de,I5f03b8b2,I62464b92 into mnc-dr-dev

* changes:
  Support DHCP replies with multiple default gateways.
  Accept DHCP responses from non-67 server source ports
  Improve logging of DHCP parse errors using exceptions.

8 years agoam 09e405d6: Merge "Fix issue #24743380: VoiceInteractionManagerService doesn\'t...
Dianne Hackborn [Sat, 10 Oct 2015 00:49:06 +0000 (00:49 +0000)]
am 09e405d6: Merge "Fix issue #24743380: VoiceInteractionManagerService doesn\'t use current..." into mnc-dr-dev

* commit '09e405d660c0fe696402d10732084888192ca446':
  Fix issue #24743380: VoiceInteractionManagerService doesn't use current...

8 years agoMerge "Fix issue #24743380: VoiceInteractionManagerService doesn't use current.....
Dianne Hackborn [Sat, 10 Oct 2015 00:42:02 +0000 (00:42 +0000)]
Merge "Fix issue #24743380: VoiceInteractionManagerService doesn't use current..." into mnc-dr-dev

8 years agoFix issue #24743380: VoiceInteractionManagerService doesn't use current...
Dianne Hackborn [Fri, 9 Oct 2015 23:09:25 +0000 (16:09 -0700)]
Fix issue #24743380: VoiceInteractionManagerService doesn't use current...

...user for service info

Now it does.

The actual change is basically one line, passing in the current user
when building the service info.  The rest is more debugging output to
be able to see what is going on.

Change-Id: I451884e0780aac6ee92fd2cd520071894afdf586

8 years ago[RenderScript] pass correct length of ains to BLAS functions
Miao Wang [Wed, 30 Sep 2015 22:38:07 +0000 (15:38 -0700)]
[RenderScript] pass correct length of ains to BLAS functions

bug: 24540091
Change-Id: Ia541bcbee07125c4caf3e0f4863702a3c0b929d5
(cherry picked from commit 0b34f2a3c545cb112a23072c92214e359a8df8c6)

8 years agoDefault location is "internalOnly" when undefined.
Jeff Sharkey [Fri, 9 Oct 2015 20:22:09 +0000 (13:22 -0700)]
Default location is "internalOnly" when undefined.

When an app doesn't define installLocation, the default behavior
should be to treat it as internal only.  This matches all the
published developer documentation.

Without this, apps could be unwittingly be moved to adopted storage
devices.

Bug: 24771264
Change-Id: Iaf38ab45329aad6cb5d6deac81fb1781f680189b

8 years agoam 1078942e: Safely handle interrupts during Thread.join()
Pirama Arumuga Nainar [Fri, 9 Oct 2015 17:04:20 +0000 (17:04 +0000)]
am 1078942e: Safely handle interrupts during Thread.join()

* commit '1078942ed8b4029665e950ae576baa024f69e782':
  Safely handle interrupts during Thread.join()

8 years agoam 93db3d4b: Retry if interrupted before mMessageThread has joined
Pirama Arumuga Nainar [Fri, 9 Oct 2015 17:04:14 +0000 (17:04 +0000)]
am 93db3d4b: Retry if interrupted before mMessageThread has joined

* commit '93db3d4bfd0062024a0cc05623e7e84df7313d86':
  Retry if interrupted before mMessageThread has joined

8 years agoSafely handle interrupts during Thread.join()
Pirama Arumuga Nainar [Fri, 2 Oct 2015 23:38:08 +0000 (16:38 -0700)]
Safely handle interrupts during Thread.join()

Bug: 24342101

Interrupt current thread if InterruptedException is received during
Thread.join().  Also, log the interruption.

Change-Id: I452124915ea3f19610e6d4a3411d741f2f604af2
(cherry picked from commit 83461d73bc50d41f631e1db5c195d12b4eb9e6cf)

8 years agoRetry if interrupted before mMessageThread has joined
Pirama Arumuga Nainar [Fri, 2 Oct 2015 19:06:10 +0000 (12:06 -0700)]
Retry if interrupted before mMessageThread has joined

Bug: 24342101

If interrupted during mMessageThread.join(), retry the join instead of
assuming the thread has joined and continuing.  Continuing to destroy
the context will cause a segfault when the message thread attempts to
use the destroyed context.

Change-Id: I3213091a0e996449bceb403dffca3063786d5a65
(cherry picked from commit 2f25ce7753f7f1f6a0cc549a0df0082286bd5f85)

8 years agoam 29433f70: Merge "Actually apply after no sims change." into mnc-dr-dev
Jason Monk [Thu, 8 Oct 2015 20:27:53 +0000 (20:27 +0000)]
am 29433f70: Merge "Actually apply after no sims change." into mnc-dr-dev

* commit '29433f701f6722e1f175dd3b735ed025309907b0':
  Actually apply after no sims change.

8 years agoMerge "Actually apply after no sims change." into mnc-dr-dev
Jason Monk [Thu, 8 Oct 2015 20:21:00 +0000 (20:21 +0000)]
Merge "Actually apply after no sims change." into mnc-dr-dev

8 years agoam d473a144: Merge "Hold wake-lock during copy operations." into mnc-dr-dev
Jeff Sharkey [Thu, 8 Oct 2015 17:02:57 +0000 (17:02 +0000)]
am d473a144: Merge "Hold wake-lock during copy operations." into mnc-dr-dev

* commit 'd473a1446e520616c4079594bbcf3c6fbe88ed4f':
  Hold wake-lock during copy operations.

8 years agoMerge "Hold wake-lock during copy operations." into mnc-dr-dev
Jeff Sharkey [Thu, 8 Oct 2015 16:58:54 +0000 (16:58 +0000)]
Merge "Hold wake-lock during copy operations." into mnc-dr-dev

8 years agoActually apply after no sims change.
Jason Monk [Thu, 8 Oct 2015 14:09:21 +0000 (10:09 -0400)]
Actually apply after no sims change.

Bug: 24244260
Change-Id: I922d45e6dcc4eb85fc7d93824e7d01645a90266e

8 years agoam 0a1f0e56: Merge "Add ESC mapping for Pixel C keyboard" into mnc-dr-dev
Puneet Kumar [Thu, 8 Oct 2015 09:08:54 +0000 (09:08 +0000)]
am 0a1f0e56: Merge "Add ESC mapping for Pixel C keyboard" into mnc-dr-dev

* commit '0a1f0e56b4ea8c78a1fac3218cfa4efa4cbe3117':
  Add ESC mapping for Pixel C keyboard

8 years agoam 06d1254c: Merge "Add layout and keymap for Pixel C Bluetooth keyboard" into mnc...
Puneet Kumar [Thu, 8 Oct 2015 09:08:48 +0000 (09:08 +0000)]
am 06d1254c: Merge "Add layout and keymap for Pixel C Bluetooth keyboard" into mnc-dr-dev

* commit '06d1254c9b63f0f3304ef4dd1de8602655ef9a3f':
  Add layout and keymap for Pixel C Bluetooth keyboard

8 years agoMerge "Add ESC mapping for Pixel C keyboard" into mnc-dr-dev
Puneet Kumar [Thu, 8 Oct 2015 08:17:38 +0000 (08:17 +0000)]
Merge "Add ESC mapping for Pixel C keyboard" into mnc-dr-dev

8 years agoMerge "Add layout and keymap for Pixel C Bluetooth keyboard" into mnc-dr-dev
Puneet Kumar [Thu, 8 Oct 2015 08:17:23 +0000 (08:17 +0000)]
Merge "Add layout and keymap for Pixel C Bluetooth keyboard" into mnc-dr-dev

8 years agoSupport DHCP replies with multiple default gateways.
Lorenzo Colitti [Wed, 16 Sep 2015 22:55:29 +0000 (07:55 +0900)]
Support DHCP replies with multiple default gateways.

Just use the first one for compatibility with the legacy client.

Bug: 23975855
Change-Id: Id6a0b0de32e8947c12c02eb9a3be417e2f82c99a

8 years agoAccept DHCP responses from non-67 server source ports
Erik Kline [Tue, 6 Oct 2015 09:43:17 +0000 (18:43 +0900)]
Accept DHCP responses from non-67 server source ports

Bug: 24687559
Change-Id: I5f03b8b2780c558281d8a50d0893fd64f2812add

8 years agoImprove logging of DHCP parse errors using exceptions.
Erik Kline [Wed, 16 Sep 2015 06:44:54 +0000 (15:44 +0900)]
Improve logging of DHCP parse errors using exceptions.

Bug: 23975855
Change-Id: I62464b92f0bb568e57bf5e1a63bc75f22c75aac1

8 years agoam 01356906: Merge "Ensure SurfaceView requests WM relayout when size changes." into...
Tim Murray [Wed, 7 Oct 2015 23:28:36 +0000 (23:28 +0000)]
am 01356906: Merge "Ensure SurfaceView requests WM relayout when size changes." into mnc-dr-dev

* commit '0135690688c8285e022a2a8191c8582f2e6ea759':
  Ensure SurfaceView requests WM relayout when size changes.

8 years agoMerge "Ensure SurfaceView requests WM relayout when size changes." into mnc-dr-dev
Tim Murray [Wed, 7 Oct 2015 23:21:14 +0000 (23:21 +0000)]
Merge "Ensure SurfaceView requests WM relayout when size changes." into mnc-dr-dev

8 years agoam ab781275: Merge "MediaActionSound: Fix video stop sound" into mnc-dr-dev
Chien-Yu Chen [Wed, 7 Oct 2015 23:11:35 +0000 (23:11 +0000)]
am ab781275: Merge "MediaActionSound: Fix video stop sound" into mnc-dr-dev

* commit 'ab7812750bca947abc9e8b1ce73a3041dbc2f2a9':
  MediaActionSound: Fix video stop sound

8 years agoMerge "MediaActionSound: Fix video stop sound" into mnc-dr-dev
Chien-Yu Chen [Wed, 7 Oct 2015 23:03:52 +0000 (23:03 +0000)]
Merge "MediaActionSound: Fix video stop sound" into mnc-dr-dev

8 years agoMediaActionSound: Fix video stop sound
Chien-Yu Chen [Wed, 7 Oct 2015 22:17:19 +0000 (15:17 -0700)]
MediaActionSound: Fix video stop sound

Bug: 24745252
Change-Id: I803679d52750e09c7fc7b881523becf9259b558b

8 years agoam 9d688336: am a636be6c: Camera: fix wrong FULL feature string
Yin-Chia Yeh [Wed, 7 Oct 2015 21:42:17 +0000 (21:42 +0000)]
am 9d688336: am a636be6c: Camera: fix wrong FULL feature string

* commit '9d68833686e04ff5ff910a9d90fe99bc1347aaca':
  Camera: fix wrong FULL feature string

8 years agoam a636be6c: Camera: fix wrong FULL feature string
Yin-Chia Yeh [Wed, 7 Oct 2015 21:36:35 +0000 (21:36 +0000)]
am a636be6c: Camera: fix wrong FULL feature string

* commit 'a636be6c9a8a9192f72a111c2b3084a226d37b7e':
  Camera: fix wrong FULL feature string

8 years agoEnsure SurfaceView requests WM relayout when size changes.
Robert Carr [Wed, 7 Oct 2015 18:24:31 +0000 (11:24 -0700)]
Ensure SurfaceView requests WM relayout when size changes.

In the case of scaled SurfaceViews with a fixed size.
It is possible for the surface layout size to change
without a change to the surface size or position. In this
case we need to inform the window manager so it can update
frames and scaling. This has presented in Camera and required
workarounds such as changing the fixed surface size to trigger
an update (leading to visual artifacts).

Bug:23974105
Change-Id: I195aa0832907c32874b294101b56e198e853dce5
(cherry picked from commit a8fe43f09c0ed2119e55139a482f7f12fbe7d725)

8 years agoam 2a6f1d4a: Merge "ZenModeHelper: fix cross deadlock with AudioService" into mnc...
Eric Laurent [Wed, 7 Oct 2015 13:47:00 +0000 (13:47 +0000)]
am 2a6f1d4a: Merge "ZenModeHelper: fix cross deadlock with AudioService" into mnc-dr-dev

* commit '2a6f1d4af39a72abecf16cc0a95feda7431afc07':
  ZenModeHelper: fix cross deadlock with AudioService

8 years agoMerge "ZenModeHelper: fix cross deadlock with AudioService" into mnc-dr-dev
Eric Laurent [Wed, 7 Oct 2015 13:39:51 +0000 (13:39 +0000)]
Merge "ZenModeHelper: fix cross deadlock with AudioService" into mnc-dr-dev

8 years agoCamera: fix wrong FULL feature string
Yin-Chia Yeh [Tue, 6 Oct 2015 20:45:20 +0000 (13:45 -0700)]
Camera: fix wrong FULL feature string

Bug: 24678065
Change-Id: I2ca49565b919c87005d941863e22e3852a01a6c6

8 years agoam 714a61cd: Merge "Ambient display now comes up immediately when a notification...
Selim Cinek [Tue, 6 Oct 2015 02:06:44 +0000 (02:06 +0000)]
am 714a61cd: Merge "Ambient display now comes up immediately when a notification comes in" into mnc-dr-dev

* commit '714a61cd586c789b18acfd0567cfea2b4ea170dd':
  Ambient display now comes up immediately when a notification comes in

8 years agoMerge "Ambient display now comes up immediately when a notification comes in" into...
Selim Cinek [Tue, 6 Oct 2015 01:59:50 +0000 (01:59 +0000)]
Merge "Ambient display now comes up immediately when a notification comes in" into mnc-dr-dev

8 years agoam 8461f2fa: am 46684d2c: Merge "Add anydpi to the providing-resources docs" into...
Adam Lesinski [Tue, 6 Oct 2015 00:57:51 +0000 (00:57 +0000)]
am 8461f2fa: am 46684d2c: Merge "Add anydpi to the providing-resources docs" into mnc-dev

* commit '8461f2fa02c4c2ca2eef5bae391f1d1ff2c28593':
  Add anydpi to the providing-resources docs

8 years agoam 46684d2c: Merge "Add anydpi to the providing-resources docs" into mnc-dev
Adam Lesinski [Tue, 6 Oct 2015 00:51:13 +0000 (00:51 +0000)]
am 46684d2c: Merge "Add anydpi to the providing-resources docs" into mnc-dev

* commit '46684d2caeef93f43be260d996e925ea6e4147ea':
  Add anydpi to the providing-resources docs

8 years agoam 0155856a: Fix AudioService rotation helper thread
Jean-Michel Trivi [Tue, 6 Oct 2015 00:14:18 +0000 (00:14 +0000)]
am 0155856a: Fix AudioService rotation helper thread

* commit '0155856a1d1cb272d83b6175953dd7151fe65daa':
  Fix AudioService rotation helper thread

8 years agoMerge "Add anydpi to the providing-resources docs" into mnc-dev
Adam Lesinski [Mon, 5 Oct 2015 22:31:22 +0000 (22:31 +0000)]
Merge "Add anydpi to the providing-resources docs" into mnc-dev

8 years agoFix AudioService rotation helper thread
Jean-Michel Trivi [Mon, 5 Oct 2015 22:26:21 +0000 (15:26 -0700)]
Fix AudioService rotation helper thread

Fix a race condition where the wait index can be incremented inbetween
  the while() loop and the lock
Fix when updateOrientation() is called: after the sleep, otherwise
  the last sleep is useless.

Bug 24677424

Change-Id: I03770a0fc8af57f4696ebee7e9c9110e17c55a24

8 years agoAdd anydpi to the providing-resources docs
Adam Lesinski [Tue, 8 Sep 2015 21:16:49 +0000 (14:16 -0700)]
Add anydpi to the providing-resources docs

Change-Id: Ic108d9da2e39b9f8581311fe610a1959a24a732f

8 years agoZenModeHelper: fix cross deadlock with AudioService
Eric Laurent [Thu, 1 Oct 2015 00:44:28 +0000 (17:44 -0700)]
ZenModeHelper: fix cross deadlock with AudioService

Processing ZenModeHelper.setConfig() synchronously in
ZenModeConditions.onConditionChanged() can cause a cross deadlock between
ConditionProviders.mMutex and AudioService.mSettingsLock.

Add a method to set Zen mode config asynchronously.

Bug: 24528290.
Change-Id: I9c1701ca6bef084527821175d84002b612241995

8 years agoMove ASSIST_BLOCKED flag to avoid collision with SCROLL_INDICATOR
Alan Viverette [Mon, 5 Oct 2015 15:10:04 +0000 (11:10 -0400)]
Move ASSIST_BLOCKED flag to avoid collision with SCROLL_INDICATOR

Bug: 24657825
Change-Id: Ifa61fe934b3e2467e86c71b37b4f3ede40989e96

8 years agoam faebbe82: (-s ours) Import translations. DO NOT MERGE
Geoff Mendal [Mon, 5 Oct 2015 14:04:16 +0000 (14:04 +0000)]
am faebbe82: (-s ours) Import translations. DO NOT MERGE

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

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Mon, 5 Oct 2015 13:58:33 +0000 (06:58 -0700)]
Import translations. DO NOT MERGE

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

8 years agoam 79176379: Merge "Send POWER_HINT_INTERACTION on rotate." into mnc-dr-dev
Tim Murray [Fri, 2 Oct 2015 20:48:12 +0000 (20:48 +0000)]
am 79176379: Merge "Send POWER_HINT_INTERACTION on rotate." into mnc-dr-dev

* commit '791763796e5f21e34c3ae81c1faad2a4c1a515dd':
  Send POWER_HINT_INTERACTION on rotate.

8 years agoMerge "Send POWER_HINT_INTERACTION on rotate." into mnc-dr-dev
Tim Murray [Fri, 2 Oct 2015 20:43:30 +0000 (20:43 +0000)]
Merge "Send POWER_HINT_INTERACTION on rotate." into mnc-dr-dev

8 years agoam 8c66fa94: Merge "Add minimum time for double tap gesture" into mnc-dr-dev
Jorim Jaggi [Fri, 2 Oct 2015 20:00:49 +0000 (20:00 +0000)]
am 8c66fa94: Merge "Add minimum time for double tap gesture" into mnc-dr-dev

* commit '8c66fa94361b51f39f87530f6d1f714120437cc6':
  Add minimum time for double tap gesture

8 years agoMerge "Add minimum time for double tap gesture" into mnc-dr-dev
Jorim Jaggi [Fri, 2 Oct 2015 19:55:26 +0000 (19:55 +0000)]
Merge "Add minimum time for double tap gesture" into mnc-dr-dev

8 years agoAdd animation and positional stability to intent chooser UI
Adam Powell [Mon, 28 Sep 2015 17:45:00 +0000 (10:45 -0700)]
Add animation and positional stability to intent chooser UI

Dejank the process of bringing in new ChooserTargets from queried
services. Animate the service target rows in upward so that if the
user's finger is already headed for a visible choice we don't inject
something wrong right under them at the last second. Keep things sane
if the user is dragging the UI while we're bringing in new items.

To animate this, since we can't use RecyclerView from the framework we
treat the height of rows as a conceptual data set change for
ListView. To get away with doing this per-frame we pre-measure the
item height (which remains constant) instead of doing more expensive
wrap_content calculations. ResolverDrawerLayout is now aware of how to
account for a cheat-measured ListView to compensate.

Bug 24038066

Change-Id: I01414a5746815255ff948a6d0887bb5ad0897285

8 years agoHold wake-lock during copy operations.
Jeff Sharkey [Thu, 1 Oct 2015 22:14:57 +0000 (15:14 -0700)]
Hold wake-lock during copy operations.

If the CPU goes to sleep during the copy, certain devices will
collapse the USB OTG power domain, which can cause user data loss.

Bug: 24574575
Change-Id: I8e26caac8784490d2dee324b38e6085cd55eb8bb

8 years agoam 24806db8: AudioService: alternative way of handling device rotation
Jean-Michel Trivi [Fri, 2 Oct 2015 02:52:55 +0000 (02:52 +0000)]
am 24806db8: AudioService: alternative way of handling device rotation

* commit '24806db8f6f523542510097ce0af4a32beeda83b':
  AudioService: alternative way of handling device rotation

8 years agoAudioService: alternative way of handling device rotation
Jean-Michel Trivi [Thu, 1 Oct 2015 22:00:59 +0000 (15:00 -0700)]
AudioService: alternative way of handling device rotation

For devices that monitor orientation (primarily for channel assignment
 to stereo speakers):
The com.android.server.policy.WindowOrientationListener API is more
 power efficient than simply monitoring the device's orientation. When
 supported, use it instead of android.view.OrientationEventListener.
When WindowOrientationListener reports an orientation change, start
 a thread to poll the UI orientation, as its change may lag behind
 the observed rotation. Gradually increasing delays between polls
 are stored in a table.

Bug 24415763

Change-Id: I69bf68da6107af24cd02a48961dd17ceab557816

8 years agoSend POWER_HINT_INTERACTION on rotate.
Tim Murray [Fri, 2 Oct 2015 00:07:12 +0000 (17:07 -0700)]
Send POWER_HINT_INTERACTION on rotate.

Send a POWER_HINT_INTERACTION to improve redraw performance when the
phone is rotated.

bug 24583227

Change-Id: I1978f0dfb9a25c00ad4da5b44d10410ad7412001

8 years agoAdd minimum time for double tap gesture
Jorim Jaggi [Thu, 1 Oct 2015 21:13:04 +0000 (14:13 -0700)]
Add minimum time for double tap gesture

Bug: 24304031
Change-Id: I15629d6b05175aea9b0d02571f6245966094f162

8 years agoam 6ffe9f05: am 2813b0fa: Camera2: Update video stabilization API doc.
Jianing Wei [Thu, 1 Oct 2015 16:47:36 +0000 (16:47 +0000)]
am 6ffe9f05: am 2813b0fa: Camera2: Update video stabilization API doc.

* commit '6ffe9f05de81fab8e3cb4031a784e26c2c0acce1':
  Camera2: Update video stabilization API doc.

8 years agoam 2813b0fa: Camera2: Update video stabilization API doc.
Jianing Wei [Thu, 1 Oct 2015 16:40:21 +0000 (16:40 +0000)]
am 2813b0fa: Camera2: Update video stabilization API doc.

* commit '2813b0fae99fed1096dc23c3899e223459a54cec':
  Camera2: Update video stabilization API doc.

8 years agoam 30fd0628: Merge "Relax auto-launch checks for GET_CONTENT." into mnc-dr-dev
Jeff Sharkey [Wed, 30 Sep 2015 20:11:30 +0000 (20:11 +0000)]
am 30fd0628: Merge "Relax auto-launch checks for GET_CONTENT." into mnc-dr-dev

* commit '30fd0628970b418dea382b388120f52504ff2243':
  Relax auto-launch checks for GET_CONTENT.

8 years agoam e69ff2a8: Merge "Clean stale entries when deleting files." into mnc-dr-dev
Jeff Sharkey [Wed, 30 Sep 2015 20:11:24 +0000 (20:11 +0000)]
am e69ff2a8: Merge "Clean stale entries when deleting files." into mnc-dr-dev

* commit 'e69ff2a878ee7635a467259995e2924fb96a3a72':
  Clean stale entries when deleting files.

8 years agoam a6bf0ebd: (-s ours) Import translations. DO NOT MERGE
Geoff Mendal [Wed, 30 Sep 2015 20:11:18 +0000 (20:11 +0000)]
am a6bf0ebd: (-s ours) Import translations. DO NOT MERGE

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

8 years agoMerge "Relax auto-launch checks for GET_CONTENT." into mnc-dr-dev
Jeff Sharkey [Wed, 30 Sep 2015 16:22:17 +0000 (16:22 +0000)]
Merge "Relax auto-launch checks for GET_CONTENT." into mnc-dr-dev

8 years agoMerge "Clean stale entries when deleting files." into mnc-dr-dev
Jeff Sharkey [Wed, 30 Sep 2015 16:20:40 +0000 (16:20 +0000)]
Merge "Clean stale entries when deleting files." into mnc-dr-dev