OSDN Git Service

android-x86/frameworks-base.git
11 years agoFix issue #8540550: Screenshots should never have transparency
Dianne Hackborn [Thu, 18 Apr 2013 01:06:22 +0000 (18:06 -0700)]
Fix issue #8540550: Screenshots should never have transparency

Make sure the thumbnail bitmap is initialized with a black
background.

Change-Id: I87c00d309b7d30b6085a751aa4ae22cf146c74f5

11 years agoMerge "Add input/output JSON data for baseline comparison" into jb-mr2-dev
Chris Craik [Thu, 18 Apr 2013 00:32:07 +0000 (00:32 +0000)]
Merge "Add input/output JSON data for baseline comparison" into jb-mr2-dev

11 years agoMerge "Add permission check for owner-info related LockSettings." into jb-mr2-dev
Jim Miller [Wed, 17 Apr 2013 22:47:06 +0000 (22:47 +0000)]
Merge "Add permission check for owner-info related LockSettings." into jb-mr2-dev

11 years agoAdd permission check for owner-info related LockSettings.
Jim Miller [Wed, 17 Apr 2013 22:23:55 +0000 (15:23 -0700)]
Add permission check for owner-info related LockSettings.

Fixes bug 8512972

Change-Id: I372ef892000e5de9075783f06b722e2911cfc90d

11 years agoMerge "Fixes for setClipBounds()" into jb-mr2-dev
Chet Haase [Wed, 17 Apr 2013 22:13:50 +0000 (22:13 +0000)]
Merge "Fixes for setClipBounds()" into jb-mr2-dev

11 years agoMerge "Fix message handling in RemoteControlClient" into jb-mr2-dev
Jean-Michel Trivi [Wed, 17 Apr 2013 21:09:43 +0000 (21:09 +0000)]
Merge "Fix message handling in RemoteControlClient" into jb-mr2-dev

11 years agoMerge "DO NOT MERGE Stripping some new widget API that is yet unused" into jb-mr2-dev
Adam Cohen [Wed, 17 Apr 2013 21:03:43 +0000 (21:03 +0000)]
Merge "DO NOT MERGE Stripping some new widget API that is yet unused" into jb-mr2-dev

11 years agoDO NOT MERGE Stripping some new widget API that is yet unused
Adam Cohen [Wed, 17 Apr 2013 20:48:17 +0000 (13:48 -0700)]
DO NOT MERGE Stripping some new widget API that is yet unused

Change-Id: I7a7156f30aa9105461908f66426950d13eb01408

11 years agoMerge "Move owner info from Settings.Secure to LockSettings" into jb-mr2-dev
Jim Miller [Wed, 17 Apr 2013 20:39:58 +0000 (20:39 +0000)]
Merge "Move owner info from Settings.Secure to LockSettings" into jb-mr2-dev

11 years agoMerge "Modify restrictions bundle per api council recommendations" into jb-mr2-dev
Amith Yamasani [Wed, 17 Apr 2013 18:26:49 +0000 (18:26 +0000)]
Merge "Modify restrictions bundle per api council recommendations" into jb-mr2-dev

11 years agoMerge "Fix issue #8032572: Android app permission help text "null"..." into jb-mr2-dev
Dianne Hackborn [Wed, 17 Apr 2013 18:21:04 +0000 (18:21 +0000)]
Merge "Fix issue #8032572: Android app permission help text "null"..." into jb-mr2-dev

11 years agoFix issue #8032572: Android app permission help text "null"...
Dianne Hackborn [Wed, 17 Apr 2013 18:18:10 +0000 (11:18 -0700)]
Fix issue #8032572: Android app permission help text "null"...

...for "Microphone / Record audio"

Change-Id: Ie839b055771950e1078fa66506a007203338cfb5

11 years agoMerge "Lengthen the AM timeout reading crash reports slightly" into jb-mr2-dev
Christopher Tate [Wed, 17 Apr 2013 18:08:18 +0000 (18:08 +0000)]
Merge "Lengthen the AM timeout reading crash reports slightly" into jb-mr2-dev

11 years agoModify restrictions bundle per api council recommendations
Amith Yamasani [Wed, 17 Apr 2013 01:24:51 +0000 (18:24 -0700)]
Modify restrictions bundle per api council recommendations

Use a Bundle for persisting and passing to the application, but use a
list to return data back from an application that's exposing restrictions.

Changed the xml reading/writing code to store the value type in the Bundle
so that it can be reproduced when reading. Earlier we were assuming only
String and String[].

Bug: 8633967

Change-Id: I523d5553728edcf28a1e9d432f490b4956f34215

11 years agoLengthen the AM timeout reading crash reports slightly
Christopher Tate [Tue, 16 Apr 2013 23:08:12 +0000 (16:08 -0700)]
Lengthen the AM timeout reading crash reports slightly

We're missing some (small fraction of) native crash reports from
debuggerd.  It looks like under high system load the debuggerd
reporting code just isn't quite timely enough for the very short
timeouts initially deployed, so lengthen those a bit.

Bug 8552010

Change-Id: Icbc5b6517de3bb98fff1af2ea42ffd208ef20412

11 years agoMerge "use appropriate fallback chain for style" into jb-mr2-dev
Victoria Lease [Wed, 17 Apr 2013 16:23:37 +0000 (16:23 +0000)]
Merge "use appropriate fallback chain for style" into jb-mr2-dev

11 years agoMerge "Treat the default sound Uri the same as DEFAULT_SOUND." into jb-mr2-dev
Daniel Sandler [Wed, 17 Apr 2013 16:04:33 +0000 (16:04 +0000)]
Merge "Treat the default sound Uri the same as DEFAULT_SOUND." into jb-mr2-dev

11 years agoTreat the default sound Uri the same as DEFAULT_SOUND.
Daniel Sandler [Wed, 17 Apr 2013 04:17:22 +0000 (00:17 -0400)]
Treat the default sound Uri the same as DEFAULT_SOUND.

For the purposes of deciding whether or not to invoke the
"fallback vibrate", that is. (RingtonePicker will return
content://settings/system/notification_sound when "Default"
is chosen, so if the app pops this Uri directly into
Notification.sound, we should treat it like DEFAULT_SOUND
and look to see whether the system notification sound is
not None before running the fallback vibration.)

Bug: 8627641
Change-Id: Ia469b8e4d5d7647ce1a8a179f591ed7a3443b5c5

11 years agoFix build - remove obsolete import of Animatable
Chet Haase [Wed, 17 Apr 2013 13:43:18 +0000 (06:43 -0700)]
Fix build - remove obsolete import of Animatable

Change-Id: I3133669386f50177c863f8a58733be771f819a17

11 years agoMerge "Remove Animatable interface" into jb-mr2-dev
Chet Haase [Wed, 17 Apr 2013 13:36:00 +0000 (13:36 +0000)]
Merge "Remove Animatable interface" into jb-mr2-dev

11 years agoMerge "Part of fix for bug 8629392" into jb-mr2-dev
Kristian Monsen [Wed, 17 Apr 2013 02:22:25 +0000 (02:22 +0000)]
Merge "Part of fix for bug 8629392" into jb-mr2-dev

11 years agoMove owner info from Settings.Secure to LockSettings
Jim Miller [Tue, 16 Apr 2013 01:27:54 +0000 (18:27 -0700)]
Move owner info from Settings.Secure to LockSettings

Fixes bug 8512972

Change-Id: Ic046aff0332b78489dda08b1e9e71f4c16154f10

11 years agoPart of fix for bug 8629392
Kristian Monsen [Wed, 17 Apr 2013 01:14:47 +0000 (18:14 -0700)]
Part of fix for bug 8629392

Adding extra logging to fix cts bugs that are only on bots

Change-Id: I24b4b7aad200ffc23c002f4a8f0fe9246991c4f0

11 years agoMerge "Make layer double drawing visible in overdraw debug mode" into jb-mr2-dev
Chris Craik [Wed, 17 Apr 2013 00:58:43 +0000 (00:58 +0000)]
Merge "Make layer double drawing visible in overdraw debug mode" into jb-mr2-dev

11 years agoFixes for setClipBounds()
Chet Haase [Wed, 17 Apr 2013 00:21:41 +0000 (17:21 -0700)]
Fixes for setClipBounds()

The invalidate region when the clip bounds are set needs to encompass both
the old clip bounds and the new bounds, to make sure that the right area
of the view gets erased as well as drawn.

Also, we need to keep our own internal copy of the bounds, not just use the
instance passed into the setter.

Issue #8634060 setClipBounds() problems

Change-Id: I123c49cff16e3debe8866974a5612a4efd010de4

11 years agoMerge "Fix for bug 8272673: GridLayout in battery details is cut off." into jb-mr2-dev
Philip Milne [Wed, 17 Apr 2013 00:56:55 +0000 (00:56 +0000)]
Merge "Fix for bug 8272673: GridLayout in battery details is cut off." into jb-mr2-dev

11 years agoRemove Animatable interface
Chet Haase [Wed, 17 Apr 2013 00:54:14 +0000 (17:54 -0700)]
Remove Animatable interface

Push the interface methods from the new Animatable interface back
down into Animator, from whence they came.

Issue #8634310 Remove Animatable interface

Change-Id: I79e26001709d791d54fcb02561640fe2e008b1fd

11 years agoMerge "Monitor the firewall rules file for changes" into jb-mr2-dev
Ben Gruver [Wed, 17 Apr 2013 00:44:56 +0000 (00:44 +0000)]
Merge "Monitor the firewall rules file for changes" into jb-mr2-dev

11 years agoMerge "Disable tracing from Zygote" into jb-mr2-dev
Jamie Gennis [Tue, 16 Apr 2013 23:55:33 +0000 (23:55 +0000)]
Merge "Disable tracing from Zygote" into jb-mr2-dev

11 years agoFix for bug 8272673: GridLayout in battery details is cut off.
Philip Milne [Fri, 12 Apr 2013 21:38:34 +0000 (14:38 -0700)]
Fix for bug 8272673: GridLayout in battery details is cut off.

Change-Id: Iabcc2d2c486162cf88990eb1a25aca2e7558a57c

11 years agoMerge "Fix bug #8629386 FastScroller is on the wrong side when switching to Hebrew...
Fabrice Di Meglio [Tue, 16 Apr 2013 23:15:17 +0000 (23:15 +0000)]
Merge "Fix bug #8629386 FastScroller is on the wrong side when switching to Hebrew in a RTL enabled app" into jb-mr2-dev

11 years agoFix message handling in RemoteControlClient
Jean-Michel Trivi [Tue, 16 Apr 2013 22:31:17 +0000 (15:31 -0700)]
Fix message handling in RemoteControlClient

Internal message must go through the message queue, not be
  dispatched immediately.
Missing 'break' when handling MSG_SEEK_TO message.
  This was spamming the log with fake error messages.

Bug 8120740

Change-Id: Ib53ec05ef33133637e587eb1b24dac9ea32a5680

11 years agoFix bug #8629386 FastScroller is on the wrong side when switching to Hebrew in a...
Fabrice Di Meglio [Tue, 16 Apr 2013 22:40:18 +0000 (15:40 -0700)]
Fix bug #8629386 FastScroller is on the wrong side when switching to Hebrew in a RTL enabled app

- in AbsListView, force setScrollbarPosition() when RTL properties change
- in FastScroller, invalidate the correct rectangle when in RTL mode and in STATE_EXIT

Change-Id: Ie9fe4f826e179eb993e443d10e171b9dda3b6f3f

11 years agoMerge "Unhide android.opengl.GLES30 class and contents" into jb-mr2-dev
Jesse Hall [Tue, 16 Apr 2013 22:17:19 +0000 (22:17 +0000)]
Merge "Unhide android.opengl.GLES30 class and contents" into jb-mr2-dev

11 years agoDisable tracing from Zygote
Jamie Gennis [Tue, 16 Apr 2013 01:53:24 +0000 (18:53 -0700)]
Disable tracing from Zygote

This change disables all atrace tracing in Zygote immediately after it is
initialized.  This is necessary because Zygote has no way to receive
notifications that the enabled trace tags have been changed.  Tracing is
re-enabled when other processes fork from Zygote.

Change-Id: If2983858fb0c4890ba9ab041849b1c4d98f66c13

11 years agoMake layer double drawing visible in overdraw debug mode
Chris Craik [Mon, 15 Apr 2013 23:08:28 +0000 (16:08 -0700)]
Make layer double drawing visible in overdraw debug mode

A clipped saveLayer will cause two draws - first to an onscreen
buffer, then again back to the framebuffer. This change - when in
overdraw debug - reissues draws associated with a clipped saveLayer,
but only to the stencil buffer. Operations within a saveLayer are
shown correctly to be twice drawn, and View.setAlpha() without an
associated hardware layer, or hasOverlappingRendering() are made more
visible.

Hardware layers, on any frame that they are updated, similarly draw
twice, and will also be counted against the stencil buffer doubly.

Note: greater depths of layers - e.g. a saveLayer within a saveLayer -
are not respected, as that would require additional region tracking.

Change-Id: I61fb0e61038fe66013d59914c20bb47a550dea7d

11 years agoMerge "Fix enabling networks after driver stop" into jb-mr2-dev
Irfan Sheriff [Tue, 16 Apr 2013 22:00:10 +0000 (22:00 +0000)]
Merge "Fix enabling networks after driver stop" into jb-mr2-dev

11 years agoMerge "Send tab selection event from ScrollingTabContainerView." into jb-mr2-dev
Svetoslav Ganov [Tue, 16 Apr 2013 21:41:09 +0000 (21:41 +0000)]
Merge "Send tab selection event from ScrollingTabContainerView." into jb-mr2-dev

11 years agoMerge "Add android.opengl.GLES30, hidden for now" into jb-mr2-dev
Jesse Hall [Tue, 16 Apr 2013 21:32:36 +0000 (21:32 +0000)]
Merge "Add android.opengl.GLES30, hidden for now" into jb-mr2-dev

11 years agoFix enabling networks after driver stop
Irfan Sheriff [Tue, 16 Apr 2013 20:52:32 +0000 (13:52 -0700)]
Fix enabling networks after driver stop

Bug: 8630194
Change-Id: If897fc1fe54bf2f35362b8482e56d98f80a3130c

11 years agoMerge "Add mHasQuit to fix an NPE in StateMachine." into jb-mr2-dev
Wink Saville [Tue, 16 Apr 2013 20:32:59 +0000 (20:32 +0000)]
Merge "Add mHasQuit to fix an NPE in StateMachine." into jb-mr2-dev

11 years agoAdd mHasQuit to fix an NPE in StateMachine.
Wink Saville [Tue, 16 Apr 2013 20:21:00 +0000 (13:21 -0700)]
Add mHasQuit to fix an NPE in StateMachine.

After quiting mStateStack and other variables become
null so ignore all messages.

Bug: 8627228
Change-Id: I60150fb8023340768b38c2e72a8cbc982a59e0a8

11 years agoMerge "Fix wrong index value." into jb-mr2-dev
Jaikumar Ganesh [Tue, 16 Apr 2013 18:59:31 +0000 (18:59 +0000)]
Merge "Fix wrong index value." into jb-mr2-dev

11 years agoFix wrong index value.
Jaikumar Ganesh [Tue, 16 Apr 2013 18:10:05 +0000 (11:10 -0700)]
Fix wrong index value.

Rotation vector was at the wrong index value.

b/8165631

Change-Id: I50662befabf80393965c94a0335359019b98eb85

11 years agoMerge "Rebuild quick settings tile layouts." into jb-mr2-dev
Daniel Sandler [Tue, 16 Apr 2013 18:33:09 +0000 (18:33 +0000)]
Merge "Rebuild quick settings tile layouts." into jb-mr2-dev

11 years agoMerge "BinderDied may be called after we unregistered the death recipient." into...
Svetoslav [Tue, 16 Apr 2013 18:27:43 +0000 (18:27 +0000)]
Merge "BinderDied may be called after we unregistered the death recipient." into jb-mr2-dev

11 years agoMerge "Avoid repositioning unattached overlay views" into jb-mr2-dev
Chet Haase [Tue, 16 Apr 2013 17:58:36 +0000 (17:58 +0000)]
Merge "Avoid repositioning unattached overlay views" into jb-mr2-dev

11 years agouse appropriate fallback chain for style
Victoria Lease [Mon, 15 Apr 2013 22:29:36 +0000 (15:29 -0700)]
use appropriate fallback chain for style

TextLayoutShaper was defaulting to the Regular-style fallback chain
for all unknown scripts. This became problematic in that the
codepoint->glyphID enumeration stage of shaping was always using the
Regular-style fallback chain for unknown scripts, and there's no
guarantee that glyph indices are compatible between fallback chains.

Defaulting to a style-appropriate fallback chain addresses this
issue, and probably unreported but related issues, as well.

Bug: 8189208
Change-Id: I6ecf531c74d71a8e4a5359d23439ccc950b0cf80

11 years agoMerge "FLAG_DISMISS_KEYGUARD should not hide status bar if secure." into jb-mr2-dev
John Spurlock [Tue, 16 Apr 2013 13:23:47 +0000 (13:23 +0000)]
Merge "FLAG_DISMISS_KEYGUARD should not hide status bar if secure." into jb-mr2-dev

11 years agoam ce2c3de7: am aac8d988: am 14ad06cf: am 25afd5d0: am d1dc8c70: am c6af49ef: Doc...
Dirk Dougherty [Tue, 16 Apr 2013 04:59:53 +0000 (21:59 -0700)]
am ce2c3de7: am aac8d988: am 14ad06cf: am 25afd5d0: am d1dc8c70: am c6af49ef: Doc change: Add tablet basic checks.

* commit 'ce2c3de716dd77db8f1280f939312c36ebd297ea':
  Doc change: Add tablet basic checks.

11 years agoam aac8d988: am 14ad06cf: am 25afd5d0: am d1dc8c70: am c6af49ef: Doc change: Add...
Dirk Dougherty [Tue, 16 Apr 2013 04:56:09 +0000 (21:56 -0700)]
am aac8d988: am 14ad06cf: am 25afd5d0: am d1dc8c70: am c6af49ef: Doc change: Add tablet basic checks.

* commit 'aac8d988e1f1863e51d3296f09373c2939137e09':
  Doc change: Add tablet basic checks.

11 years agoam 14ad06cf: am 25afd5d0: am d1dc8c70: am c6af49ef: Doc change: Add tablet basic...
Dirk Dougherty [Tue, 16 Apr 2013 04:52:26 +0000 (21:52 -0700)]
am 14ad06cf: am 25afd5d0: am d1dc8c70: am c6af49ef: Doc change: Add tablet basic checks.

* commit '14ad06cf2fc4b78182f6df4b4ebaa78453b68ff4':
  Doc change: Add tablet basic checks.

11 years agoam 25afd5d0: am d1dc8c70: am c6af49ef: Doc change: Add tablet basic checks.
Dirk Dougherty [Tue, 16 Apr 2013 04:49:14 +0000 (21:49 -0700)]
am 25afd5d0: am d1dc8c70: am c6af49ef: Doc change: Add tablet basic checks.

* commit '25afd5d063b7f6bcb0f5d6bf93ac1015a5a89869':
  Doc change: Add tablet basic checks.

11 years agoam d1dc8c70: am c6af49ef: Doc change: Add tablet basic checks.
Dirk Dougherty [Tue, 16 Apr 2013 04:46:52 +0000 (21:46 -0700)]
am d1dc8c70: am c6af49ef: Doc change: Add tablet basic checks.

* commit 'd1dc8c70786fdeae1c0de39d4ded896663588203':
  Doc change: Add tablet basic checks.

11 years agoam c6af49ef: Doc change: Add tablet basic checks.
Dirk Dougherty [Tue, 16 Apr 2013 04:43:56 +0000 (21:43 -0700)]
am c6af49ef: Doc change: Add tablet basic checks.

* commit 'c6af49efc467e379e7ac56246e9c7f0e6ebddc00':
  Doc change: Add tablet basic checks.

11 years agoDoc change: Add tablet basic checks.
Dirk Dougherty [Mon, 1 Apr 2013 19:10:14 +0000 (12:10 -0700)]
Doc change: Add tablet basic checks.

Change-Id: I9fab8f29515e086feffd45bcbcf9e7d6602a734d

11 years agoMerge "Re-introduce single-shot mode, set MS Assist Mode A when in single-shot mode...
Stan Chesnutt [Tue, 16 Apr 2013 02:49:45 +0000 (02:49 +0000)]
Merge "Re-introduce single-shot mode, set MS Assist Mode A when in single-shot mode." into jb-mr2-dev

11 years agoRe-introduce single-shot mode, set MS Assist Mode A when in
Stan Chesnutt [Tue, 16 Apr 2013 02:18:02 +0000 (19:18 -0700)]
Re-introduce single-shot mode, set MS Assist Mode A when in
single-shot mode.

Fixes bug http://b.corp.google.com/issue?id=8204392

Change-Id: I5594447c75abab6b71bd12706409666bb75736c5

11 years agoRebuild quick settings tile layouts.
Daniel Sandler [Fri, 12 Apr 2013 19:16:53 +0000 (15:16 -0400)]
Rebuild quick settings tile layouts.

The chief motivation here is to allow two lines of text when
necessary. So much refactoring over so small a thing, but
the result is satisfying: most quick settings tiles do not
need their own layouts. Additionally, tiles with odd-shaped
icons (I'm looking at you, alien potato mode) no longer fall
off the grid.

It should be possible to further reduce the complexity of
quick settings, but for now this will suffice.

Bug: 7216734 // vertical alignment issues
Bug: 7216868 // wrap text in QS tiles
Bug: 7365911 // NPE in some tiles
Change-Id: I0c6ef275e44f745dfac52c2a7303072ae48e3873

11 years agoMerge "Further reduce memory usage of notification archive." into jb-mr2-dev
Daniel Sandler [Tue, 16 Apr 2013 01:44:11 +0000 (01:44 +0000)]
Merge "Further reduce memory usage of notification archive." into jb-mr2-dev

11 years agoFurther reduce memory usage of notification archive.
Daniel Sandler [Tue, 16 Apr 2013 00:57:02 +0000 (20:57 -0400)]
Further reduce memory usage of notification archive.

- Max 250 notifications preserved (was 1000)
- Known heavyweight extras are removed
- print some of 'em out in dumpstate, while we're at it

Bug: 8280039
Bug: 8537938
Change-Id: I9239128c32a1d9f5ef4e0dc62dc2d23e190871e9

11 years agoMerge "Finish annotating Notification.extras." into jb-mr2-dev
Daniel Sandler [Tue, 16 Apr 2013 01:38:54 +0000 (01:38 +0000)]
Merge "Finish annotating Notification.extras." into jb-mr2-dev

11 years agoUnhide android.opengl.GLES30 class and contents
Jesse Hall [Thu, 11 Apr 2013 05:52:36 +0000 (22:52 -0700)]
Unhide android.opengl.GLES30 class and contents

Bug: 8566953
Change-Id: I5273fb3bff642da5ff1eecb5899e8051402b19ca

11 years agoAdd android.opengl.GLES30, hidden for now
Jesse Hall [Fri, 29 Mar 2013 18:02:35 +0000 (11:02 -0700)]
Add android.opengl.GLES30, hidden for now

Bug: 8566953
Change-Id: Ia5a01d5e857b4fce12a451e2dcab0359758ad648

11 years agoMerge "Fix for bug 8607049: Improve javascript dialogs for classic" into jb-mr2-dev
Kristian Monsen [Mon, 15 Apr 2013 23:54:43 +0000 (23:54 +0000)]
Merge "Fix for bug 8607049: Improve javascript dialogs for classic" into jb-mr2-dev

11 years agoMerge "Fix security issues with LocationManager where apps with coarse permissions...
David Christie [Mon, 15 Apr 2013 23:35:43 +0000 (23:35 +0000)]
Merge "Fix security issues with LocationManager where apps with coarse permissions can get location updates too frequently by repeatedly calling getLastKnownLocation or by registering/unregistering location updates frequently." into jb-mr2-dev

11 years agoBinderDied may be called after we unregistered the death recipient.
Svetoslav [Mon, 15 Apr 2013 23:26:39 +0000 (16:26 -0700)]
BinderDied may be called after we unregistered the death recipient.

It is possible that an accessibility service's package was force stopped
during whose handling the death recipient is unlinked and still get a call
on binderDied since the call was made before we unlink but was waiting on
the lock we held during the force stop handling. Added a check whether the
service is already disconnected and if so do nothing.

bug:8600388

Change-Id: I4a9ca305b9863d986b930a7c1ec8f9006b16a333

11 years agoMerge "Maybe fix issue #8620910: Win_sdk build failed and unable to create..." into...
Dianne Hackborn [Mon, 15 Apr 2013 23:23:31 +0000 (23:23 +0000)]
Merge "Maybe fix issue #8620910: Win_sdk build failed and unable to create..." into jb-mr2-dev

11 years agoMerge "Fix issue #8512015: VideoView's window animates when its position changes...
Dianne Hackborn [Mon, 15 Apr 2013 23:22:48 +0000 (23:22 +0000)]
Merge "Fix issue #8512015: VideoView's window animates when its position changes" into jb-mr2-dev

11 years agoSend tab selection event from ScrollingTabContainerView.
Alan Viverette [Mon, 15 Apr 2013 23:16:11 +0000 (16:16 -0700)]
Send tab selection event from ScrollingTabContainerView.

BUG: 8185409
Change-Id: I37c59906d2950d09e0e39ca91ffad34279dd9526

11 years agoMerge "Add logic to handle changes to file_contexts during update." into jb-mr2-dev
Geremy Condra [Mon, 15 Apr 2013 23:11:12 +0000 (23:11 +0000)]
Merge "Add logic to handle changes to file_contexts during update." into jb-mr2-dev

11 years agoMerge "Fix CTS failure due to invalid EAP update" into jb-mr2-dev
Irfan Sheriff [Mon, 15 Apr 2013 22:52:33 +0000 (22:52 +0000)]
Merge "Fix CTS failure due to invalid EAP update" into jb-mr2-dev

11 years agoam edf2ab16: am b345693f: am 5a9c5b67: am b02d529a: am 6859939f: am 99a79e80: Doc...
Dirk Dougherty [Mon, 15 Apr 2013 22:51:25 +0000 (15:51 -0700)]
am edf2ab16: am b345693f: am 5a9c5b67: am b02d529a: am 6859939f: am 99a79e80: Doc change: add policy guidelines documents.

* commit 'edf2ab16fe011667dbae8c6c351bd3ac36958326':
  Doc change: add policy guidelines documents.

11 years agoam b345693f: am 5a9c5b67: am b02d529a: am 6859939f: am 99a79e80: Doc change: add...
Dirk Dougherty [Mon, 15 Apr 2013 22:47:11 +0000 (15:47 -0700)]
am b345693f: am 5a9c5b67: am b02d529a: am 6859939f: am 99a79e80: Doc change: add policy guidelines documents.

* commit 'b345693f0ff0705ba1eedd3b49c21d14dc78c6b6':
  Doc change: add policy guidelines documents.

11 years agoam 5a9c5b67: am b02d529a: am 6859939f: am 99a79e80: Doc change: add policy guidelines...
Dirk Dougherty [Mon, 15 Apr 2013 22:44:46 +0000 (15:44 -0700)]
am 5a9c5b67: am b02d529a: am 6859939f: am 99a79e80: Doc change: add policy guidelines documents.

* commit '5a9c5b67ca6d8c35bb4522bd0618bf50f246f7ef':
  Doc change: add policy guidelines documents.

11 years agoam b02d529a: am 6859939f: am 99a79e80: Doc change: add policy guidelines documents.
Dirk Dougherty [Mon, 15 Apr 2013 22:41:56 +0000 (15:41 -0700)]
am b02d529a: am 6859939f: am 99a79e80: Doc change: add policy guidelines documents.

* commit 'b02d529a2faaca629e7c51e4c4ccd7fe34ddb376':
  Doc change: add policy guidelines documents.

11 years agoam 6859939f: am 99a79e80: Doc change: add policy guidelines documents.
Dirk Dougherty [Mon, 15 Apr 2013 22:37:56 +0000 (15:37 -0700)]
am 6859939f: am 99a79e80: Doc change: add policy guidelines documents.

* commit '6859939fe88de8b42117a3d0798dccb0c594e568':
  Doc change: add policy guidelines documents.

11 years agoMaybe fix issue #8620910: Win_sdk build failed and unable to create...
Dianne Hackborn [Mon, 15 Apr 2013 22:36:53 +0000 (15:36 -0700)]
Maybe fix issue #8620910: Win_sdk build failed and unable to create...

...the sdk platform repo

Change-Id: Ib6cd7c0dfb9b6217ae79af3e2ac25fe0442996e3

11 years agoFix CTS failure due to invalid EAP update
Irfan Sheriff [Mon, 15 Apr 2013 22:26:01 +0000 (15:26 -0700)]
Fix CTS failure due to invalid EAP update

Update EAP only when it has valid entry

Bug: 8604987
Change-Id: Ib6b10bd06c26ee91c4ecd3a231b509d728725dfc

11 years agoam 99a79e80: Doc change: add policy guidelines documents.
Dirk Dougherty [Mon, 15 Apr 2013 22:34:08 +0000 (15:34 -0700)]
am 99a79e80: Doc change: add policy guidelines documents.

* commit '99a79e807b4bab154c9904a05d05dda4b420206a':
  Doc change: add policy guidelines documents.

11 years agoFix security issues with LocationManager where apps with coarse permissions
David Christie [Mon, 15 Apr 2013 22:31:11 +0000 (15:31 -0700)]
Fix security issues with LocationManager where apps with coarse permissions
can get location updates too frequently by repeatedly calling getLastKnownLocation
or by registering/unregistering location updates frequently.

Change-Id: Ibd9ce28b0401372b995a0dbfb2f0a984dd11c0b1

11 years agoMerge "keystore: remove old APIs" into jb-mr2-dev
Kenny Root [Mon, 15 Apr 2013 22:25:21 +0000 (22:25 +0000)]
Merge "keystore: remove old APIs" into jb-mr2-dev

11 years agoAvoid repositioning unattached overlay views
Chet Haase [Mon, 15 Apr 2013 22:15:59 +0000 (15:15 -0700)]
Avoid repositioning unattached overlay views

Adding a view to an overlay usually entails removing the
view from its current parent, if it has one. ViewOverlay.add() will
do this automatically. At the same time, it will check to see whether
the parent view is in a different global location than the overlay's
host view, and will adjust the added view accordingly. This enables
the caller to simply toss a view into an overlay and have it end up
at the same global position on the screen.

the problem is that the current code doesn't bother to check whether
the old parent is attached. If that parent has been removed from the
view hierarchy before this overlay operation, then it will show up as
being at (0,0) in the window, not its old location. This results in the
view being mis-positioned in the overaly.

Fix is simple: if the view's old parent is not attached, simply remove
it from that parent before adding it to the overlay; don't try to compensate
for its position which is based on wrong information.

Issue #8620319 Overlay should only use relative window locations for onscreen parents

Change-Id: I414038a6c355dfd58f9766b007ac44d535ef1889

11 years agoFix issue #8512015: VideoView's window animates when its position changes
Dianne Hackborn [Mon, 15 Apr 2013 22:07:21 +0000 (15:07 -0700)]
Fix issue #8512015: VideoView's window animates when its position changes

Change-Id: I79eee6b9672b7d72eabe5d20be639c05a6f3d72b

11 years agoAdd logic to handle changes to file_contexts during update.
Geremy Condra [Sat, 6 Apr 2013 21:01:40 +0000 (14:01 -0700)]
Add logic to handle changes to file_contexts during update.

Bug: 8116902

(cherry picked from commit a2dffda3b3bc4f0bccb175ef4569e45a221d0eb2)

Change-Id: I57c21681d5f94e00d0214fb520ea62af4ea5b025

11 years agoMerge "Crash on non-eng builds due to lacking null check." into jb-mr2-dev
Svetoslav [Mon, 15 Apr 2013 21:52:07 +0000 (21:52 +0000)]
Merge "Crash on non-eng builds due to lacking null check." into jb-mr2-dev

11 years agoMerge "Fully setup newly bound service before state management." into jb-mr2-dev
Svetoslav [Mon, 15 Apr 2013 21:51:22 +0000 (21:51 +0000)]
Merge "Fully setup newly bound service before state management." into jb-mr2-dev

11 years agoMerge "Draw Operation merging" into jb-mr2-dev
Chris Craik [Mon, 15 Apr 2013 21:27:10 +0000 (21:27 +0000)]
Merge "Draw Operation merging" into jb-mr2-dev

11 years agoMerge "Enabling Face Unlock for user switching (bug 8495282)" into jb-mr2-dev
Brian Colonna [Mon, 15 Apr 2013 21:20:08 +0000 (21:20 +0000)]
Merge "Enabling Face Unlock for user switching (bug 8495282)" into jb-mr2-dev

11 years agoMerge "Allow non-system apps to use restricted accounts" into jb-mr2-dev
Amith Yamasani [Mon, 15 Apr 2013 20:59:50 +0000 (20:59 +0000)]
Merge "Allow non-system apps to use restricted accounts" into jb-mr2-dev

11 years agoDraw Operation merging
Chris Craik [Mon, 4 Mar 2013 18:19:31 +0000 (10:19 -0800)]
Draw Operation merging

Merge simple bitmap draw operations and text operations to avoid
issuing individual gl draws for each operation. Merging other ops to
be done eventually.

The methods are different - the bitmap merging generates a single
mesh for reused, unclipped images (esp. repeated images in a listview)

The text approach queries just defers the normal font rendering until
the last drawText in the sequence that can share the same shader.

Patches are sorted and merged, but don't yet have a multiDraw
implementation. For now, the pretending-to-merge gives better sorting
behavior by keeping similar patches together.

Change-Id: Ic300cdab0a53814cf7b09c58bf54b1bf0f58ccd6

11 years agoAllow non-system apps to use restricted accounts
Amith Yamasani [Mon, 15 Apr 2013 20:42:57 +0000 (13:42 -0700)]
Allow non-system apps to use restricted accounts

Anyway they need to request account access and user will be asked to approve access to the account
at runtime.

Bug: 8617168
Change-Id: I31de852b9bb25f496becc3e6470265b5c330e6ad

11 years agoMerge "Clarify how release of offline keys is handled in the MediaDrm API" into jb...
Jeff Tinker [Mon, 15 Apr 2013 20:11:17 +0000 (20:11 +0000)]
Merge "Clarify how release of offline keys is handled in the MediaDrm API" into jb-mr2-dev

11 years agoMerge "Remove old KeyStore call sites" into jb-mr2-dev
Kenny Root [Mon, 15 Apr 2013 19:54:55 +0000 (19:54 +0000)]
Merge "Remove old KeyStore call sites" into jb-mr2-dev

11 years agoMerge "Revert GC thread changes" into jb-mr2-dev
Jason Sams [Mon, 15 Apr 2013 19:40:47 +0000 (19:40 +0000)]
Merge "Revert GC thread changes" into jb-mr2-dev

11 years agoCrash on non-eng builds due to lacking null check.
Svetoslav [Mon, 15 Apr 2013 19:28:42 +0000 (12:28 -0700)]
Crash on non-eng builds due to lacking null check.

On eng builds we have an event consistency verifier to log any
inconsistent event stream states due to mishandling of intercepted
events by an accessibility service. On non-eng builds this verifier
is null and a null check was lacking.

bug:8616711

Change-Id: Ib083a405dfa8340025090a65e50155eb10526a90

11 years agoMerge "Import translations. DO NOT MERGE" into jb-mr2-dev
Baligh Uddin [Mon, 15 Apr 2013 19:25:10 +0000 (19:25 +0000)]
Merge "Import translations. DO NOT MERGE" into jb-mr2-dev

11 years agoFully setup newly bound service before state management.
Svetoslav [Mon, 15 Apr 2013 19:10:36 +0000 (12:10 -0700)]
Fully setup newly bound service before state management.

If the connected service is not entirely setup when calling the method for
handling a change in the current user state we get a potential NPE since
the management method may have discarded the service, thus nullifying the
connection to it. Now the service is fully configured before calling the
state change management method.

bug:8600489

Change-Id: Ib0bf7c6d575e15c620da419d43ece22f4187fd34

11 years agoFinish annotating Notification.extras.
Daniel Sandler [Mon, 15 Apr 2013 19:05:08 +0000 (15:05 -0400)]
Finish annotating Notification.extras.

This covers all useful data from the basic Builder as well
as each of the Styles that is not otherwise captured on the
Notification object itself.

Extras are now prettyprinted in dump() output.

Bug: 8270485
Change-Id: I47fc50860dab6409793f57e904cc60296310d5cf

11 years agoMerge "fix javadoc build" into jb-mr2-dev
Scott Main [Mon, 15 Apr 2013 18:13:17 +0000 (18:13 +0000)]
Merge "fix javadoc build" into jb-mr2-dev