OSDN Git Service

android-x86/frameworks-base.git
11 years agoam 3c09715c: Merge "Change dropbox tag for native crashes." into jb-mr2-dev
Eric Rowe [Tue, 9 Apr 2013 00:15:33 +0000 (17:15 -0700)]
am 3c09715c: Merge "Change dropbox tag for native crashes." into jb-mr2-dev

* commit '3c09715cedc737cc6e36c201d9f9188c3615e9a5':
  Change dropbox tag for native crashes.

11 years agoMerge "Change dropbox tag for native crashes." into jb-mr2-dev
Eric Rowe [Tue, 9 Apr 2013 00:11:51 +0000 (00:11 +0000)]
Merge "Change dropbox tag for native crashes." into jb-mr2-dev

11 years agoam 97b968b6: Merge "Fix trackball interpretation of precision." into jb-mr2-dev
Jeff Brown [Tue, 9 Apr 2013 00:03:22 +0000 (17:03 -0700)]
am 97b968b6: Merge "Fix trackball interpretation of precision." into jb-mr2-dev

* commit '97b968b6b3baf40e8cfd5ff147f81cd81398638a':
  Fix trackball interpretation of precision.

11 years agoam 3a2854bc: Merge "Queues, queues, queues and input." into jb-mr2-dev
Jeff Brown [Tue, 9 Apr 2013 00:03:20 +0000 (17:03 -0700)]
am 3a2854bc: Merge "Queues, queues, queues and input." into jb-mr2-dev

* commit '3a2854bcee08e3af3ca1b042c1fef6ca68f8c70a':
  Queues, queues, queues and input.

11 years agoMerge "Fix trackball interpretation of precision." into jb-mr2-dev
Jeff Brown [Tue, 9 Apr 2013 00:00:38 +0000 (00:00 +0000)]
Merge "Fix trackball interpretation of precision." into jb-mr2-dev

11 years agoMerge "Queues, queues, queues and input." into jb-mr2-dev
Jeff Brown [Mon, 8 Apr 2013 23:59:24 +0000 (23:59 +0000)]
Merge "Queues, queues, queues and input." into jb-mr2-dev

11 years agoFix trackball interpretation of precision.
Jeff Brown [Mon, 8 Apr 2013 23:44:19 +0000 (16:44 -0700)]
Fix trackball interpretation of precision.

The trackball to dpad synthesis was using the MotionEvent's precision
field to determine a threshold for movement but the calculations
involved did not actually make sense for any value of precision
less than 2.0.  This worked fine before since the InputReader
hardcodes the trackball's precision to 6.

Injected trackball events may have a different precision which can
result in the thresholds being set inappropriately.  For example,
it was not possible to move focus by one unit at a time when
the precision was set to 1.0.

The old code was probably using precision as a way to set a
threshold based on the trackball moving by some minimum number
of physical ticks, in this case 2.  But the code will work just
as well if we set an absolute threshold based on distance
traveled given that the input system is already expected to
normalize the trackball movements before delivering them to the
application.

So stop using precision.

Bug: 8473020
Change-Id: I3c6f7fb1b507f8cf5608b47550e7345fea3352fa

11 years agoam c4ad3cb0: Merge "Add support for common encryption" into jb-mr2-dev
Marco Nelissen [Mon, 8 Apr 2013 23:42:17 +0000 (16:42 -0700)]
am c4ad3cb0: Merge "Add support for common encryption" into jb-mr2-dev

* commit 'c4ad3cb07ed76c5697c60285456d9c49675174d9':
  Add support for common encryption

11 years agoMerge "Add support for common encryption" into jb-mr2-dev
Marco Nelissen [Mon, 8 Apr 2013 23:39:29 +0000 (23:39 +0000)]
Merge "Add support for common encryption" into jb-mr2-dev

11 years agoam 0eee410e: Merge "Check outInfo is not null" into jb-mr2-dev
Kenny Root [Mon, 8 Apr 2013 23:16:44 +0000 (16:16 -0700)]
am 0eee410e: Merge "Check outInfo is not null" into jb-mr2-dev

* commit '0eee410e473c1546af80c63ec866655a28833f33':
  Check outInfo is not null

11 years agoMerge "Check outInfo is not null" into jb-mr2-dev
Kenny Root [Mon, 8 Apr 2013 23:10:50 +0000 (23:10 +0000)]
Merge "Check outInfo is not null" into jb-mr2-dev

11 years agoCheck outInfo is not null
Kenny Root [Mon, 8 Apr 2013 23:05:00 +0000 (16:05 -0700)]
Check outInfo is not null

Only call keystore if outInfo is not null

Bug: 8568820
Change-Id: I24ab625ad02b8510da489911064453de642b6748

11 years agoam 605994d6: Merge "Fix off by one in ListView\'s upward focus traversal" into jb...
Michael Wright [Mon, 8 Apr 2013 23:01:01 +0000 (16:01 -0700)]
am 605994d6: Merge "Fix off by one in ListView\'s upward focus traversal" into jb-mr2-dev

* commit '605994d6703c1856c4fad397e5b99d299fc80075':
  Fix off by one in ListView's upward focus traversal

11 years agoam b9604a34: Merge "Amend getOverlay() docs for SurfaceView/TextureView" into jb...
Chet Haase [Mon, 8 Apr 2013 22:57:29 +0000 (15:57 -0700)]
am b9604a34: Merge "Amend getOverlay() docs for SurfaceView/TextureView" into jb-mr2-dev

* commit 'b9604a34ab2afd52b675769ae737ee0dba875393':
  Amend getOverlay() docs for SurfaceView/TextureView

11 years agoMerge "Fix off by one in ListView's upward focus traversal" into jb-mr2-dev
Michael Wright [Mon, 8 Apr 2013 22:57:01 +0000 (22:57 +0000)]
Merge "Fix off by one in ListView's upward focus traversal" into jb-mr2-dev

11 years agoMerge "Amend getOverlay() docs for SurfaceView/TextureView" into jb-mr2-dev
Chet Haase [Mon, 8 Apr 2013 22:53:11 +0000 (22:53 +0000)]
Merge "Amend getOverlay() docs for SurfaceView/TextureView" into jb-mr2-dev

11 years agoQueues, queues, queues and input.
Jeff Brown [Fri, 5 Apr 2013 06:04:03 +0000 (23:04 -0700)]
Queues, queues, queues and input.

Redesigned how ViewRootImpl delivers input events to views,
the IME and to native activities to fix several issues.

The prior change to make IME input event delegation use
InputChannels failed to take into account that InputMethodManager
is a singleton attached to the main looper whereas UI may be
attached to any looper.  Consequently interactions with the
InputChannel might occur on the wrong thread.  Fixed this
problem by checking the current thread and posting input
events or callbacks to the correct looper when necessary.

NativeActivity has also been broken for a while because the
default event handling logic for joysticks and touch navigation
was unable to dispatch events back into the native activity.
In particular, this meant that DPad synthesis from touch navigation
would not work in any native activity.  The plan is to fix
this problem by passing all events through ViewRootImpl as usual
then forwarding them to native activity as needed.  This should
greatly simplify IME pre-dispatch and system key handling
and make everything more robust overall.

Fixed issues related to when input events are synthesized.
In particular, added a more robust mechanism to ensure that
synthetic events are canceled appropriately when we discover
that events are no longer being resynthesized (because the
application or IME is handling or dropping them).

The new design is structured as a pipeline with a chain of
responsibility consisting of InputStage objects.  Each InputStage
is responsible for some part of handling each input event
such as dispatching to the view hierarchy or to the IME.
As a stage processes an input event, it has the option of
finishing the event, forwarding the event to the next stage
or handling the event asynchronously.  Some queueing logic
takes care to ensure that events are forwarded downstream in
the correct order even if they are handled out of order
by a given stage.

Cleaned up the InputMethodManager singleton initialization logic
to make it clearer that it must be attached to the main looper.
We don't actually need to pass this looper around.

Deleted the LatencyTimer class since no one uses it and we have
better ways of measuring latency these days using systrace.

Added a hidden helper to Looper to determine whether the current
thread is the indicated Looper thread.

Note: NativeActivity's IME dispatch is broken by this patch.
This will be fixed later in another patch.

Bug: 8473020
Change-Id: Iac2a1277545195a7a0137bbbdf04514c29165c60

11 years agoChange dropbox tag for native crashes.
Eric Rowe [Mon, 8 Apr 2013 22:00:27 +0000 (15:00 -0700)]
Change dropbox tag for native crashes.

Change-Id: Id2738fc758c3d144e5fdd2c7f1c8617dad129338

11 years agoam 89454f83: Merge "Implement event logging for intent firewall" into jb-mr2-dev
Ben Gruver [Mon, 8 Apr 2013 21:44:46 +0000 (14:44 -0700)]
am 89454f83: Merge "Implement event logging for intent firewall" into jb-mr2-dev

* commit '89454f8331cd7d582eafca87c6586feb5db509c7':
  Implement event logging for intent firewall

11 years agoam b1a90d3b: Merge "Remove the sender package filter from the intent firewall" into...
Ben Gruver [Mon, 8 Apr 2013 21:41:06 +0000 (14:41 -0700)]
am b1a90d3b: Merge "Remove the sender package filter from the intent firewall" into jb-mr2-dev

* commit 'b1a90d3b1422b0eb469e8960e6398a49ec036e0b':
  Remove the sender package filter from the intent firewall

11 years agoMerge "Implement event logging for intent firewall" into jb-mr2-dev
Ben Gruver [Mon, 8 Apr 2013 21:40:26 +0000 (21:40 +0000)]
Merge "Implement event logging for intent firewall" into jb-mr2-dev

11 years agoFix off by one in ListView's upward focus traversal
Michael Wright [Mon, 8 Apr 2013 21:37:01 +0000 (14:37 -0700)]
Fix off by one in ListView's upward focus traversal

Bug: 7985315
Change-Id: Ic67c8e346d6b51a5cfb05cc7d0c2b145b591b2db

11 years agoMerge "Remove the sender package filter from the intent firewall" into jb-mr2-dev
Ben Gruver [Mon, 8 Apr 2013 21:36:37 +0000 (21:36 +0000)]
Merge "Remove the sender package filter from the intent firewall" into jb-mr2-dev

11 years agoAdd support for common encryption
Marco Nelissen [Mon, 8 Apr 2013 21:28:55 +0000 (14:28 -0700)]
Add support for common encryption

Change-Id: I2d56a6a90dff3ce1c37296934fca01b8a2ca0f89

11 years agoAmend getOverlay() docs for SurfaceView/TextureView
Chet Haase [Mon, 8 Apr 2013 21:30:31 +0000 (14:30 -0700)]
Amend getOverlay() docs for SurfaceView/TextureView

SurfaceView and TextureView do not currently support overlays
correctly; the docs now reflect this constraint.

Change-Id: I79183c02b51ae4cd14638198d0668b2c2e3e22e1

11 years agoam cf837a6e: Merge "Update DataUsageStatColumns" into jb-mr2-dev
Yorke Lee [Mon, 8 Apr 2013 21:25:39 +0000 (14:25 -0700)]
am cf837a6e: Merge "Update DataUsageStatColumns" into jb-mr2-dev

* commit 'cf837a6e9034f0af3e58216578a1dad4cb635602':
  Update DataUsageStatColumns

11 years agoMerge "Update DataUsageStatColumns" into jb-mr2-dev
Yorke Lee [Mon, 8 Apr 2013 21:22:06 +0000 (21:22 +0000)]
Merge "Update DataUsageStatColumns" into jb-mr2-dev

11 years agoReconcile with jb-mr2-release - do not merge
The Android Open Source Project [Mon, 8 Apr 2013 20:35:55 +0000 (13:35 -0700)]
Reconcile with jb-mr2-release - do not merge

Change-Id: I5031bf39aad4c57563c24a17a12c9c33ab259a32

11 years agoam 9e176c8b: Merge "Fix SignalStrength response." into jb-mr2-dev
Wink Saville [Mon, 8 Apr 2013 20:30:01 +0000 (13:30 -0700)]
am 9e176c8b: Merge "Fix SignalStrength response." into jb-mr2-dev

* commit '9e176c8b0e0770598469f4580e54ab1e47a06fe8':
  Fix SignalStrength response.

11 years agoMerge "Fix SignalStrength response." into jb-mr2-dev
Wink Saville [Mon, 8 Apr 2013 20:26:02 +0000 (20:26 +0000)]
Merge "Fix SignalStrength response." into jb-mr2-dev

11 years agoam bc948101: Merge "Have audio service clean up new receivers in crashing processes...
Dianne Hackborn [Mon, 8 Apr 2013 20:20:02 +0000 (13:20 -0700)]
am bc948101: Merge "Have audio service clean up new receivers in crashing processes." into jb-mr2-dev

* commit 'bc948101043b3c4b57eb6e0e2421494fd7c1d41e':
  Have audio service clean up new receivers in crashing processes.

11 years agoam 8e181c56: Merge "AppSecurityPermissions: minor UI changes" into jb-mr2-dev
Nick Kralevich [Mon, 8 Apr 2013 20:13:06 +0000 (13:13 -0700)]
am 8e181c56: Merge "AppSecurityPermissions: minor UI changes" into jb-mr2-dev

* commit '8e181c56b3abc4e57f178849a8b6cef750913d5a':
  AppSecurityPermissions: minor UI changes

11 years agoMerge "Have audio service clean up new receivers in crashing processes." into jb...
Dianne Hackborn [Mon, 8 Apr 2013 20:09:18 +0000 (20:09 +0000)]
Merge "Have audio service clean up new receivers in crashing processes." into jb-mr2-dev

11 years agoam 04c83357: Merge "Awaken dreams on home + recents." into jb-mr2-dev
John Spurlock [Mon, 8 Apr 2013 20:09:35 +0000 (13:09 -0700)]
am 04c83357: Merge "Awaken dreams on home + recents." into jb-mr2-dev

* commit '04c83357c3dee87f08e63a11e67e89d78df81938':
  Awaken dreams on home + recents.

11 years agoMerge "AppSecurityPermissions: minor UI changes" into jb-mr2-dev
Nick Kralevich [Mon, 8 Apr 2013 20:08:59 +0000 (20:08 +0000)]
Merge "AppSecurityPermissions: minor UI changes" into jb-mr2-dev

11 years agoHave audio service clean up new receivers in crashing processes.
Dianne Hackborn [Fri, 5 Apr 2013 01:50:23 +0000 (18:50 -0700)]
Have audio service clean up new receivers in crashing processes.

The new media button receiver with only a pending intent (no
component name) could be left hanging if the process that
registered it went away.  These semantically need to be tied
to the calling process's lifetime; we now clean them up when
the calling process goes away.

Also added some additional cleanup of media button receivers
when packages change (updated, cleared).

And on top of that, a new "media" command for doing media
things.  Currently lets you send media keys and monitor
remote display data.

Oh and finally added a new BaseCommand base class for
implementing these command line utilities.

Change-Id: Iba1d56f10bab1eec4a94a7bb1d1c2ae614c8bcf5

11 years agoMerge "Awaken dreams on home + recents." into jb-mr2-dev
John Spurlock [Mon, 8 Apr 2013 20:05:50 +0000 (20:05 +0000)]
Merge "Awaken dreams on home + recents." into jb-mr2-dev

11 years agoam 7ce7b006: Merge "HTML5Audio should handle content URI" into jb-mr2-dev
ztenghui [Mon, 8 Apr 2013 20:00:35 +0000 (13:00 -0700)]
am 7ce7b006: Merge "HTML5Audio should handle content URI" into jb-mr2-dev

* commit '7ce7b0068c869408003f512a4e04cc73be2f7c69':
  HTML5Audio should handle content URI

11 years agoam dcaa9436: Merge "Always take padding and margins into account Bug #8565842" into...
Romain Guy [Mon, 8 Apr 2013 20:00:33 +0000 (13:00 -0700)]
am dcaa9436: Merge "Always take padding and margins into account Bug #8565842" into jb-mr2-dev

* commit 'dcaa9436fe8d5f4baeea5a09106cdf8a445d9a9b':
  Always take padding and margins into account Bug #8565842

11 years agoMerge "HTML5Audio should handle content URI" into jb-mr2-dev
ztenghui [Mon, 8 Apr 2013 19:58:22 +0000 (19:58 +0000)]
Merge "HTML5Audio should handle content URI" into jb-mr2-dev

11 years agoMerge "Always take padding and margins into account Bug #8565842" into jb-mr2-dev
Romain Guy [Mon, 8 Apr 2013 19:57:03 +0000 (19:57 +0000)]
Merge "Always take padding and margins into account Bug #8565842" into jb-mr2-dev

11 years agoAlways take padding and margins into account
Romain Guy [Mon, 8 Apr 2013 17:51:35 +0000 (10:51 -0700)]
Always take padding and margins into account
Bug #8565842

Change-Id: I8ee398b5c36b3011950265eb7e22cc8338f1aeee

11 years agoam dc634351: Merge "Clean up language in forced foreground service notifications...
Daniel Sandler [Mon, 8 Apr 2013 19:51:33 +0000 (12:51 -0700)]
am dc634351: Merge "Clean up language in forced foreground service notifications." into jb-mr2-dev

* commit 'dc634351d4f8a59e4b5743c58571d1ef04da668a':
  Clean up language in forced foreground service notifications.

11 years agoMerge "Clean up language in forced foreground service notifications." into jb-mr2-dev
Daniel Sandler [Mon, 8 Apr 2013 19:46:01 +0000 (19:46 +0000)]
Merge "Clean up language in forced foreground service notifications." into jb-mr2-dev

11 years agoAwaken dreams on home + recents.
John Spurlock [Mon, 8 Apr 2013 16:59:26 +0000 (12:59 -0400)]
Awaken dreams on home + recents.

Fixes the KEYCODE_HOME case, awakes when home is
started for any reason.

Also awaken when toggling recents (and not locked).

Bug:8557212
Change-Id: I6578ae3971740a03c27596b838d27a5ab9b03752

11 years agoHTML5Audio should handle content URI
ztenghui [Mon, 8 Apr 2013 18:42:53 +0000 (11:42 -0700)]
HTML5Audio should handle content URI

Change-Id: Ib7ef4ad5fdd5b6b051ae32b0968a9bddef5c65ba

11 years agoFix SignalStrength response.
Wink Saville [Mon, 8 Apr 2013 18:35:47 +0000 (11:35 -0700)]
Fix SignalStrength response.

Add makeSignalStrengthFromRilParcel for use by
RIL responseRilSignalStrength.

Bug: 8561333
Change-Id: Ie6eb3b0335e8d7ea114ec70b3fb72e917094632e

11 years agoam 50b9eb1c: Merge "Update the documentiation for MediaMuxer::writeSampleData()"...
ztenghui [Mon, 8 Apr 2013 17:27:18 +0000 (10:27 -0700)]
am 50b9eb1c: Merge "Update the documentiation for MediaMuxer::writeSampleData()" into jb-mr2-dev

* commit '50b9eb1c7375a87525d44a036337a8ba18eba55b':
  Update the documentiation for MediaMuxer::writeSampleData()

11 years agoMerge "Update the documentiation for MediaMuxer::writeSampleData()" into jb-mr2-dev
ztenghui [Mon, 8 Apr 2013 17:22:28 +0000 (17:22 +0000)]
Merge "Update the documentiation for MediaMuxer::writeSampleData()" into jb-mr2-dev

11 years agoAppSecurityPermissions: minor UI changes
Nick Kralevich [Mon, 8 Apr 2013 17:02:08 +0000 (10:02 -0700)]
AppSecurityPermissions: minor UI changes

1) Make the box with the permission really go away when a
permission is revoked, not just invisible.
2) Change the order of the buttons, making the negative
button the "revoke" button, and the positive button "ok".

Change-Id: I73694583cbd014d3820f8df6c6b770caae299499

11 years agoClean up language in forced foreground service notifications.
Daniel Sandler [Mon, 8 Apr 2013 16:23:27 +0000 (12:23 -0400)]
Clean up language in forced foreground service notifications.

Old:  [ IC ] %s running
      [ ON ] %s is running

New:  [ IC ] %s is running
      [ ON ] Touch for more information or to stop the app.

Additionally, disallow these misbehaving services from
supplying their own content views; if you attempt to run a
foreground service with icon == 0, this is the notification
you will get, period.

Bug: 8525548
Change-Id: I2bfd7340396ef925885e8c2160a720f9eff07a35

11 years agoam 26c13439: Set FLAG_SHOW_LIGHTS if *either* on or off is nonzero.
Daniel Sandler [Mon, 8 Apr 2013 15:17:10 +0000 (08:17 -0700)]
am 26c13439: Set FLAG_SHOW_LIGHTS if *either* on or off is nonzero.

* commit '26c134398422a4f4e703cdf7b87fb1cb08d542c4':
  Set FLAG_SHOW_LIGHTS if *either* on or off is nonzero.

11 years agoam 0e78de6c: Add tag "foo" to builder test\'s notifications.
Daniel Sandler [Mon, 8 Apr 2013 15:17:07 +0000 (08:17 -0700)]
am 0e78de6c: Add tag "foo" to builder test\'s notifications.

* commit '0e78de6c0fadd70277eb29f56ccce97c1dffc4f2':
  Add tag "foo" to builder test's notifications.

11 years agoSet FLAG_SHOW_LIGHTS if *either* on or off is nonzero.
Daniel Sandler [Thu, 4 Apr 2013 15:01:04 +0000 (11:01 -0400)]
Set FLAG_SHOW_LIGHTS if *either* on or off is nonzero.

Previously they each had to be nonzero, which prevented
using the builder methods to create solid-on LED
notifications.

Change-Id: I30314ec33daa28ee2e1f0b87a184c3540254471c

11 years agoAdd tag "foo" to builder test's notifications.
Daniel Sandler [Thu, 4 Apr 2013 14:58:02 +0000 (10:58 -0400)]
Add tag "foo" to builder test's notifications.

This allows them to be conveniently cleared via adb:

  $ adb shell service call notification 5 \
    s16 com.android.statusbartest \
s16 foo \
i32 <NOTIFICATIONID> \
i32 <USERID>

Bug: 8564511
Change-Id: I9fae5a4a0be64d6707cc06ca938adeb8b3c0b735

11 years agoam edf6f4b4: Make adding views specific to a ViewGroup\'s overlay
Chet Haase [Mon, 8 Apr 2013 14:35:07 +0000 (07:35 -0700)]
am edf6f4b4: Make adding views specific to a ViewGroup\'s overlay

* commit 'edf6f4b49f6e77c349f5055372ce381b74f12efb':
  Make adding views specific to a ViewGroup's overlay

11 years agoMake adding views specific to a ViewGroup's overlay
Chet Haase [Tue, 26 Mar 2013 14:55:30 +0000 (07:55 -0700)]
Make adding views specific to a ViewGroup's overlay

Adding views to views (possible with the new Overlay API) is weird.
This change moves the view-management facilities of Overlay to a subclass
that is specific to the overlay returned from ViewGroup.getOverlay().
So now you can add drawables to all view overlays, but only add/remove
views to/from the overlay returned from ViewGroup.getOverlay().

Also, the previous approach of using an interface for Overlay was
changed to classes for both ViewOverlay and ViewGroupOverlay.

Finally, this change makes not handling touch correctly the proper,
and documented, behavior of overlay views. There are various tricky issues
to sort out with input in overlays (including click handling as well as focus)
and we don't want developers starting to use overlays as some kind of general
container hierarchy, so we're purposely constraining overlays to have visual-only
behavior.

Issue #8459085 Overlay needs to handle touch correctly

Change-Id: I207b8dbf528f87c92369d270d8b0a6556826d207

11 years agomerge in jb-mr2-release history after reset to jb-mr2-dev
The Android Automerger [Mon, 8 Apr 2013 12:56:16 +0000 (05:56 -0700)]
merge in jb-mr2-release history after reset to jb-mr2-dev

11 years agoImplement event logging for intent firewall
Ben Gruver [Sat, 6 Apr 2013 02:21:19 +0000 (19:21 -0700)]
Implement event logging for intent firewall

Change-Id: If79052d07f3e5c02cfdbd0dd00026b01110045c2

11 years agoam a56b78dc: fix build
Nick Kralevich [Sun, 7 Apr 2013 18:17:25 +0000 (11:17 -0700)]
am a56b78dc: fix build

* commit 'a56b78dcd1292a4291d85113bdeeda8496c1a0c0':
  fix build

11 years agofix build
Nick Kralevich [Sun, 7 Apr 2013 18:13:16 +0000 (11:13 -0700)]
fix build

Change-Id: I7f3b8a4df84630f40f5a3f19434df86b6287fb75

11 years agoam d7c4186a: Merge "AppSecurityPermissions: add support for revoking permissions...
Nick Kralevich [Sun, 7 Apr 2013 17:56:57 +0000 (10:56 -0700)]
am d7c4186a: Merge "AppSecurityPermissions: add support for revoking permissions" into jb-mr2-dev

* commit 'd7c4186ae040ed297634b0be11f78592ffc7585f':
  AppSecurityPermissions: add support for revoking permissions

11 years agoMerge "AppSecurityPermissions: add support for revoking permissions" into jb-mr2-dev
Nick Kralevich [Sun, 7 Apr 2013 17:53:27 +0000 (17:53 +0000)]
Merge "AppSecurityPermissions: add support for revoking permissions" into jb-mr2-dev

11 years agoam 8b51475c: Revert "Remove AndroidKeyStore from API"
Kenny Root [Sat, 6 Apr 2013 17:09:52 +0000 (10:09 -0700)]
am 8b51475c: Revert "Remove AndroidKeyStore from API"

* commit '8b51475c97f8f2742047976283afbe1f9ef9fcbf':
  Revert "Remove AndroidKeyStore from API"

11 years agoRevert "Remove AndroidKeyStore from API"
Kenny Root [Mon, 4 Feb 2013 17:35:16 +0000 (09:35 -0800)]
Revert "Remove AndroidKeyStore from API"

This reverts commit ce24985ad636c38b6ee01ec9cdecfb038bfeaeb6.

Change-Id: I02d6492c8db869619694c7209bb37522a7ec5a29

11 years agoAppSecurityPermissions: add support for revoking permissions
Nick Kralevich [Sat, 6 Apr 2013 01:32:07 +0000 (18:32 -0700)]
AppSecurityPermissions: add support for revoking permissions

Add UI support for revoking optional permissions. When the user
taps on an optional permission, two new boxes will appear:

  [Cancel] | [Revoke]

Selecting [Revoke] will revoke the permission from the app.

The [Cancel] / [Revoke] options are only shown for apps which support
optional permissions.

Bug: 8332307
Change-Id: I27e374773747737e3a6d7f48ea1448a0178e3393

11 years agoam 42967042: Merge "Update Roboto to version 1.200311" into jb-mr2-dev
Raph Levien [Fri, 5 Apr 2013 23:59:20 +0000 (16:59 -0700)]
am 42967042: Merge "Update Roboto to version 1.200311" into jb-mr2-dev

* commit '4296704208a9eeb40f4e5fa8d6d1f79c72c322ee':
  Update Roboto to version 1.200311

11 years agoam e0e2f4fd: Fix accessibility in action bars and add extra customization
Adam Powell [Fri, 5 Apr 2013 23:55:41 +0000 (16:55 -0700)]
am e0e2f4fd: Fix accessibility in action bars and add extra customization

* commit 'e0e2f4fd3ac8e70e341ae52d6376d8d67bd9edce':
  Fix accessibility in action bars and add extra customization

11 years agoMerge "Update Roboto to version 1.200311" into jb-mr2-dev
Raph Levien [Fri, 5 Apr 2013 23:53:21 +0000 (23:53 +0000)]
Merge "Update Roboto to version 1.200311" into jb-mr2-dev

11 years agoFix accessibility in action bars and add extra customization
Adam Powell [Fri, 5 Apr 2013 23:27:35 +0000 (16:27 -0700)]
Fix accessibility in action bars and add extra customization

Fix a bug where the content description of the big unified Home/Up
button was not getting set properly.

Add the ability to change the home-as-up glyph from ActionBar.

Add the ability to set a custom action description for the home-as-up
button, useful if the above functionality is used.

Bug 8548229

Change-Id: I0635799772c7234b68247dfc105dce7f11acda32

11 years agoam 212af6db: Merge "Add /data/security path for mac_permissions.xml."
Geremy Condra [Fri, 5 Apr 2013 23:40:59 +0000 (16:40 -0700)]
am 212af6db: Merge "Add /data/security path for mac_permissions.xml."

* commit '212af6dbd7b002bdfcc869fc0ee06d5d3d711fd6':
  Add /data/security path for mac_permissions.xml.

11 years agoMerge "Add /data/security path for mac_permissions.xml."
Geremy Condra [Fri, 5 Apr 2013 23:32:31 +0000 (23:32 +0000)]
Merge "Add /data/security path for mac_permissions.xml."

11 years agoam bdc87d50: Merge "Remove all public mention of RS graphics from docs." into jb...
Tim Murray [Fri, 5 Apr 2013 22:53:06 +0000 (15:53 -0700)]
am bdc87d50: Merge "Remove all public mention of RS graphics from docs." into jb-mr2-dev

* commit 'bdc87d50db42999fbfeb0d75a98d1cb0e3730bc0':
  Remove all public mention of RS graphics from docs.

11 years agoam 36b859a6: Merge "Specify SDK version for RS graphics tests." into jb-mr2-dev
Tim Murray [Fri, 5 Apr 2013 22:53:04 +0000 (15:53 -0700)]
am 36b859a6: Merge "Specify SDK version for RS graphics tests." into jb-mr2-dev

* commit '36b859a61f05539ada25a51b77b641d1a6904061':
  Specify SDK version for RS graphics tests.

11 years agoMerge "Remove all public mention of RS graphics from docs." into jb-mr2-dev
Tim Murray [Fri, 5 Apr 2013 22:47:29 +0000 (22:47 +0000)]
Merge "Remove all public mention of RS graphics from docs." into jb-mr2-dev

11 years agoMerge "Specify SDK version for RS graphics tests." into jb-mr2-dev
Tim Murray [Fri, 5 Apr 2013 22:46:05 +0000 (22:46 +0000)]
Merge "Specify SDK version for RS graphics tests." into jb-mr2-dev

11 years agoCorrectly manage the lifecycle of IME InputChannels.
Jeff Brown [Fri, 5 Apr 2013 05:45:12 +0000 (22:45 -0700)]
Correctly manage the lifecycle of IME InputChannels.

InputChannels are normally duplicated when sent to a remote process
over Binder but this does not happen if the recipient is running within
the system server process.  This causes problems for KeyGuard because the
InputMethodManagerService may accidentally dispose the channel
that KeyGuard is using.

Fixed the lifecycle of InputChannels that are managed by the IME
framework.  We now return a duplicate of the channel to the application
and then take care to dispose of the duplicate when necessary.
In particular, InputBindResult disposes its InputChannel automatically
when returned through Binder (using PARCELABLE_WRITE_RETURN_VALUE).

Bug: 8493879
Change-Id: I08ec3d13268c76f3b56706b4523508bcefa3be79

11 years agoNew NotificationListenerService.
Daniel Sandler [Sat, 23 Mar 2013 01:29:23 +0000 (18:29 -0700)]
New NotificationListenerService.

This is the best and only way for apps to listen for
notifications: create a NotificationListenerService, wait
for the NoMan to bind to you (as a result of the user
checking a box somewhere in Settings and agreeing to a
scary dialog box), and you'll start receiving notification
posted and dismissed callbacks. Your service, while enabled,
will also be able to clear one or all notifications.

Use this power wisely.

This change moves StatusBarNotification out of
com.android.internal into android.service.notification.
[Internal customers, including System UI and early users of
the system-only listener binder API, will need to be
updated.]

Bug: 8199624
Change-Id: I1be46f823d4b3ddc901109ec1e085cd6deb740c2

11 years agoam e8d9d2b3: Merge "AudioService: do not use virtual call for bt sco" into jb-mr2-dev
Eric Laurent [Fri, 5 Apr 2013 22:29:46 +0000 (15:29 -0700)]
am e8d9d2b3: Merge "AudioService: do not use virtual call for bt sco" into jb-mr2-dev

* commit 'e8d9d2b3352bdeba0a455666bda9eb64b75198f7':
  AudioService: do not use virtual call for bt sco

11 years agoam a1ca6fac: Merge "Fix crash in ConfigUpdater when the target dir doesn\'t exist...
Geremy Condra [Fri, 5 Apr 2013 22:29:43 +0000 (15:29 -0700)]
am a1ca6fac: Merge "Fix crash in ConfigUpdater when the target dir doesn\'t exist." into jb-mr2-dev

* commit 'a1ca6faceed2eb8fba81bd7e30b3a5bae82cd484':
  Fix crash in ConfigUpdater when the target dir doesn't exist.

11 years agoam bdb706e4: Merge "Pipe through device resolution information" into jb-mr2-dev
Michael Wright [Fri, 5 Apr 2013 22:29:37 +0000 (15:29 -0700)]
am bdb706e4: Merge "Pipe through device resolution information" into jb-mr2-dev

* commit 'bdb706e48d71af498156efbb10d0f0c1fcef8878':
  Pipe through device resolution information

11 years agoam 8299f683: Merge "Use float textures to render gradients when possible" into jb...
Romain Guy [Fri, 5 Apr 2013 22:29:34 +0000 (15:29 -0700)]
am 8299f683: Merge "Use float textures to render gradients when possible" into jb-mr2-dev

* commit '8299f683f3fbe7ba0f5387b062b31de117882dba':
  Use float textures to render gradients when possible

11 years agoRemove all public mention of RS graphics from docs.
Tim Murray [Fri, 5 Apr 2013 22:06:43 +0000 (22:06 +0000)]
Remove all public mention of RS graphics from docs.

Change-Id: Ie43b5fb0353149aa9af433b6f5c5141349388ea0

11 years agoSpecify SDK version for RS graphics tests.
Tim Murray [Fri, 5 Apr 2013 22:17:09 +0000 (15:17 -0700)]
Specify SDK version for RS graphics tests.

Change-Id: Ia61c753392432b91f91260a9b8769dfd396c259f

11 years agoMerge "AudioService: do not use virtual call for bt sco" into jb-mr2-dev
Eric Laurent [Fri, 5 Apr 2013 22:14:12 +0000 (22:14 +0000)]
Merge "AudioService: do not use virtual call for bt sco" into jb-mr2-dev

11 years agoMerge "Fix crash in ConfigUpdater when the target dir doesn't exist." into jb-mr2-dev
Geremy Condra [Fri, 5 Apr 2013 21:52:36 +0000 (21:52 +0000)]
Merge "Fix crash in ConfigUpdater when the target dir doesn't exist." into jb-mr2-dev

11 years agoMerge "Pipe through device resolution information" into jb-mr2-dev
Michael Wright [Fri, 5 Apr 2013 21:43:31 +0000 (21:43 +0000)]
Merge "Pipe through device resolution information" into jb-mr2-dev

11 years agoMerge "Use float textures to render gradients when possible" into jb-mr2-dev
Romain Guy [Fri, 5 Apr 2013 21:31:57 +0000 (21:31 +0000)]
Merge "Use float textures to render gradients when possible" into jb-mr2-dev

11 years agoAudioService: do not use virtual call for bt sco
Eric Laurent [Fri, 5 Apr 2013 19:13:54 +0000 (12:13 -0700)]
AudioService: do not use virtual call for bt sco

Do not use startScoUsingVirtualVoiceCall() BluetoothHeadset
API to connect SCO audio. This will cause headsets to act as if an incoming
call was received which is not what we want for voice commands.

Bug 8157702

Change-Id: I271909d4d1f3822758740a8484e3d2d8b4f34c00

11 years agoam c51628aa: Merge "Fix AlertDialog in RTL mode" into jb-mr2-dev
Fabrice Di Meglio [Fri, 5 Apr 2013 21:22:49 +0000 (14:22 -0700)]
am c51628aa: Merge "Fix AlertDialog in RTL mode" into jb-mr2-dev

* commit 'c51628aa6f61822c03e13af50741b076c588d3c7':
  Fix AlertDialog in RTL mode

11 years agoMerge "Fix AlertDialog in RTL mode" into jb-mr2-dev
Fabrice Di Meglio [Fri, 5 Apr 2013 21:17:50 +0000 (21:17 +0000)]
Merge "Fix AlertDialog in RTL mode" into jb-mr2-dev

11 years agoUse float textures to render gradients when possible
Romain Guy [Fri, 5 Apr 2013 18:17:55 +0000 (11:17 -0700)]
Use float textures to render gradients when possible

Float textures offer better precision for dithering.

In addition this change removes two uniforms from gradient shaders.
These uniforms were used to dither gradients but their value is
a build time constant. Instead we hardcode the value directly in
the shader source at compile time.

Change-Id: I05e9fd3eef93771843bbd91b453274452dfaefee

11 years agoam 4a706bc6: Merge "Correctly manage the lifecycle of IME InputChannels." into jb...
Jeff Brown [Fri, 5 Apr 2013 21:03:06 +0000 (14:03 -0700)]
am 4a706bc6: Merge "Correctly manage the lifecycle of IME InputChannels." into jb-mr2-dev

* commit '4a706bc6f1dcf4483b282d5758e22482cf02506f':
  Correctly manage the lifecycle of IME InputChannels.

11 years agoMerge "Correctly manage the lifecycle of IME InputChannels." into jb-mr2-dev
Jeff Brown [Fri, 5 Apr 2013 20:57:01 +0000 (20:57 +0000)]
Merge "Correctly manage the lifecycle of IME InputChannels." into jb-mr2-dev

11 years agoFix crash in ConfigUpdater when the target dir doesn't exist.
Geremy Condra [Fri, 5 Apr 2013 00:48:09 +0000 (17:48 -0700)]
Fix crash in ConfigUpdater when the target dir doesn't exist.

Change-Id: I44ee0e3791938da0bf890fb38cd886330c0ee01d

11 years agoam 5feceebb: New NotificationListenerService.
Daniel Sandler [Fri, 5 Apr 2013 19:58:43 +0000 (12:58 -0700)]
am 5feceebb: New NotificationListenerService.

* commit '5feceebb892d4cb5777cea3c6174b206705d456b':
  New NotificationListenerService.

11 years agoNew NotificationListenerService.
Daniel Sandler [Sat, 23 Mar 2013 01:29:23 +0000 (18:29 -0700)]
New NotificationListenerService.

This is the best and only way for apps to listen for
notifications: create a NotificationListenerService, wait
for the NoMan to bind to you (as a result of the user
checking a box somewhere in Settings and agreeing to a
scary dialog box), and you'll start receiving notification
posted and dismissed callbacks. Your service, while enabled,
will also be able to clear one or all notifications.

Use this power wisely.

This change moves StatusBarNotification out of
com.android.internal into android.service.notification.
[Internal customers, including System UI and early users of
the system-only listener binder API, will need to be
updated.]

Bug: 8199624
Change-Id: I1be46f823d4b3ddc901109ec1e085cd6deb740c2

11 years agoRemove the sender package filter from the intent firewall
Ben Gruver [Fri, 5 Apr 2013 16:56:51 +0000 (09:56 -0700)]
Remove the sender package filter from the intent firewall

Change-Id: I3124c6969984eef646f22216c709bdfb324d6679

11 years agoAdd /data/security path for mac_permissions.xml.
Stephen Smalley [Fri, 5 Apr 2013 15:27:19 +0000 (11:27 -0400)]
Add /data/security path for mac_permissions.xml.

/data/security is now the preferred location for updated policy files.
Add it for mac_permissions.xml.
Separate change will remove the old /data/system location.

Change-Id: I2774661e84c858c9b698ec60e224bbbcdac732f3
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
11 years agoam bab9687e: Merge "Make the min layer go down through all windows" into jb-mr2-dev
Craig Mautner [Fri, 5 Apr 2013 17:31:35 +0000 (10:31 -0700)]
am bab9687e: Merge "Make the min layer go down through all windows" into jb-mr2-dev

* commit 'bab9687e6473072d6ff4f7ea5a7b21bcfbf95744':
  Make the min layer go down through all windows