OSDN Git Service
Dianne Hackborn [Wed, 10 Apr 2013 17:48:20 +0000 (17:48 +0000)]
Merge "Reduce duration of rotation xfade animation." into jb-mr2-dev
Stephen Hines [Wed, 10 Apr 2013 17:17:50 +0000 (17:17 +0000)]
Merge "Defer RS cache creation until a ScriptC is built." into jb-mr2-dev
Jean-Michel Trivi [Wed, 10 Apr 2013 16:29:18 +0000 (16:29 +0000)]
Merge "Handle seek requests in AudioService" into jb-mr2-dev
Derek Sollenberger [Wed, 10 Apr 2013 12:11:14 +0000 (12:11 +0000)]
Merge "Ensure that a canvas is always backed by some form of SkDevice." into jb-mr2-dev
Jeff Brown [Wed, 10 Apr 2013 08:03:19 +0000 (01:03 -0700)]
Rewrite touch navigation dpad synthesis.
The new implementation more accurately tracks the velocity
of flings and takes care to avoid obvious discontinuities.
The main goal is for a fling to appear to be a linear
extension of the movement already in progress. The minimum
fling velocity is set to ensure that flings appear to be
fairly smooth despite being discretized.
Use sequences of repeated key events instead of individual
down/up events to represent continuous motions in one
direction which can be helpful for stopping flings at boundaries
such as when flinging the cursor position within a text view.
Compute the movement thresholds based on the physical
size of the touch pad, if known. If not known, we assume a
nominal size.
Support stopping flings with a tap just like we do for
normal touch events elsewhere in the framework.
Moved the detection of ASSIST swipes into the InputReader
where it belongs. These swipes must be detected globally
to ensure consistent behavior across the all applications.
Added a custom protocol in EventHub to enable input device
drivers to override the timestamp of the following events
in a packet. This change enables input device drivers
that have a better idea of when an input event was actually
generated to pass this information to the input system.
Particularly useful with uinput.
Bug:
8583760
Change-Id: I8ef4e827804786d549cfaa00793a2b9dd0fda465
Jeff Brown [Wed, 10 Apr 2013 03:13:12 +0000 (20:13 -0700)]
Add touchnavigation to input debugging command.
Bug:
8583760
Change-Id: I9b150133e3d9ca9fe970550f5c0d7c18e6c7b558
Jeff Brown [Wed, 10 Apr 2013 00:46:25 +0000 (17:46 -0700)]
Split up the event synthesis code by source.
The goal is to better encapsulate this code to make it easier
to maintain and to facilitate some upcoming changes.
Some of the variables have been renamed but the logic is unchanged.
Bug:
8583760
Change-Id: I45501f7dabebcb938e42c386291d615d088a4c8c
Stephen Hines [Wed, 10 Apr 2013 06:51:56 +0000 (23:51 -0700)]
Defer RS cache creation until a ScriptC is built.
Bug:
8582926
Change-Id: If017f41382f023f8f6ddd78ba198402d427c95f8
Jason Sams [Wed, 10 Apr 2013 05:17:29 +0000 (05:17 +0000)]
Merge "Fix docs with deprecated resize1D" into jb-mr2-dev
Ying Wang [Wed, 10 Apr 2013 05:16:14 +0000 (05:16 +0000)]
Merge "Add liblog" into jb-mr2-dev
Jason Sams [Wed, 10 Apr 2013 05:08:40 +0000 (22:08 -0700)]
Fix docs with deprecated resize1D
Change-Id: Id1774e1e8be1c1600efaa535cf330e659addb703
Ying Wang [Wed, 10 Apr 2013 04:54:12 +0000 (21:54 -0700)]
Add liblog
Bug:
8580410
Change-Id: I746aa8258866508c3a725d0773faf4518096548f
Jason Sams [Wed, 10 Apr 2013 04:21:01 +0000 (04:21 +0000)]
Merge "Implement RS GC worker thread." into jb-mr2-dev
Jason Sams [Wed, 10 Apr 2013 04:19:13 +0000 (04:19 +0000)]
Merge "Cleanup Allocation and add 3D copies." into jb-mr2-dev
Adam Powell [Wed, 10 Apr 2013 02:30:32 +0000 (02:30 +0000)]
Merge "Integrate inverted menu panel assets" into jb-mr2-dev
Adam Powell [Wed, 10 Apr 2013 02:18:50 +0000 (19:18 -0700)]
Integrate inverted menu panel assets
Add assets for menu panels when holo menus appear above their anchor
rather than below.
Bug
7049080
Change-Id: I7803f9414c2b2cb96274bf062adeccfc302a0d43
Mathias Agopian [Wed, 10 Apr 2013 02:03:06 +0000 (02:03 +0000)]
Merge "rework GLSurfaceView so it can use the choreographer" into jb-mr2-dev
Adam Powell [Wed, 10 Apr 2013 01:35:22 +0000 (01:35 +0000)]
Merge "Fix a monkey bug with AbsListView data set observers" into jb-mr2-dev
Mathias Agopian [Thu, 4 Apr 2013 00:28:14 +0000 (17:28 -0700)]
rework GLSurfaceView so it can use the choreographer
GLSurfaceView will now automatically use the Choreographer to
schedule render updates on VSYNC. This happens only in
RENDERMODE_CONTINUOUSLY.
GLSurfaceView was rewriten to use a Looper and a HandlerThread
instead of a custom thread.
The basic mode of operation is unchanged, however the implementation
is largely different.
Removed support for older GPUs which had a limited number of contexts.
Bug:
8485730
Change-Id: I7b270f7ad7bb1259e858429054b1c8c9cc159dc6
Adam Powell [Wed, 10 Apr 2013 00:46:15 +0000 (17:46 -0700)]
Fix a monkey bug with AbsListView data set observers
Several conditions can cause an AbsListView's data set observer to be
removed and nulled out. If for some reason the view receives duplicate
onDetachedFromWindow events this could cause AbsListView to attempt to
unregister a null observer. Skip this unregister process if this
happens.
Bug
7088152
Change-Id: Ib0c630d1ee598640512023e4ef158f01e3ed474d
Robert Greenwalt [Wed, 10 Apr 2013 00:08:01 +0000 (00:08 +0000)]
Merge "Fix crash bug with mismatched iface names" into jb-mr2-dev
Adam Powell [Tue, 9 Apr 2013 23:40:12 +0000 (23:40 +0000)]
Merge "Fix for ActionBar#setSelectedNavigationItem() in collapsed tab mode" into jb-mr2-dev
Wink Saville [Tue, 9 Apr 2013 23:19:27 +0000 (16:19 -0700)]
Update function comment for getAllCellInfo
Bug:
8235566
Change-Id: Iae9b11480605d5302ee45601d1357fc07f9bd3e1
Tim Murray [Tue, 9 Apr 2013 21:33:32 +0000 (14:33 -0700)]
Implement RS GC worker thread.
Bug
8579360
Change-Id: I98a5509b68e592bcbb4958f2ca72c236a22910b5
Jason Sams [Tue, 9 Apr 2013 22:59:24 +0000 (15:59 -0700)]
Cleanup Allocation and add 3D copies.
bug
8567058
Change-Id: Ib05ff3de851bccfea1531ca6c1801153632a2a85
Wink Saville [Tue, 9 Apr 2013 22:50:00 +0000 (22:50 +0000)]
Merge "Add FW support for CellInfo RIL commands." into jb-mr2-dev
Jamie Gennis [Tue, 9 Apr 2013 22:30:52 +0000 (22:30 +0000)]
Merge "Add APIs for application-generated systrace events" into jb-mr2-dev
Jean-Michel Trivi [Tue, 9 Apr 2013 18:10:18 +0000 (11:10 -0700)]
Handle seek requests in AudioService
AudioService handles seek requests to RemoteControlClients.
Discard old or unprocessed seek requests when handling a new one.
Update javadoc for OnPlaybackPositionUpdateListener interface.
bug
8120740
Change-Id: Id17c2852b24d4b8af85e472a177484b98cfeba05
Romain Guy [Tue, 9 Apr 2013 21:18:45 +0000 (21:18 +0000)]
Merge "Change the dither texture's swizzling" into jb-mr2-dev
Chiao Cheng [Wed, 20 Mar 2013 23:54:06 +0000 (16:54 -0700)]
Adding public api support for finding contact changes.
DeletedContacts holds a log of deleted contacts which will be pruned
after a certain amount of time.
A timestamp field has been added to contacts so clients can query
for changes.
Bug:
8182147
Change-Id: Ic6e56e567892712da3c3941400dfb3ddc565aaac
Adam Powell [Tue, 9 Apr 2013 20:57:22 +0000 (13:57 -0700)]
Fix for ActionBar#setSelectedNavigationItem() in collapsed tab mode
Make sure the selected item is properly propagated to the collapsed
spinner.
Bug
6754308
Change-Id: Iaa4e331b00106b31c5984980d33e3ac88853ae4d
Derek Sollenberger [Tue, 9 Apr 2013 20:36:55 +0000 (16:36 -0400)]
Ensure that a canvas is always backed by some form of SkDevice.
bug:
8518884
Change-Id: Id6c597179878ce5b938c00422e88bef5f12e2e1f
Jonathan Dixon [Tue, 9 Apr 2013 20:09:28 +0000 (20:09 +0000)]
Merge "Hide PlusinsEnabled/PluginsPath methods" into jb-mr2-dev
Jamie Gennis [Mon, 25 Mar 2013 21:18:25 +0000 (14:18 -0700)]
Add APIs for application-generated systrace events
This change adds new APIs to enable applications to generate custom Systrace
begin/end events. Application-generated events use the ATRACE_APP_TAG tag,
which is enabled only if either the application has declared itself debuggable
in its manifest or ro.debuggable is set to 1 on the device.
Change-Id: I311d09e2e6ed1a30f5ffa84907f250e11cc0d48d
Robert Greenwalt [Tue, 9 Apr 2013 18:15:06 +0000 (18:15 +0000)]
Merge "Turn back on global proxy support." into jb-mr2-dev
Scott Main [Tue, 9 Apr 2013 17:50:29 +0000 (10:50 -0700)]
am
405c6e2d: am
d3724e02: am
2568d7f0: am
0bf013fd: am
f417fc4a: fix xml error in sample
* commit '
405c6e2d656b628262ff3e3d0b79f58a46c839ec':
fix xml error in sample
Scott Main [Tue, 9 Apr 2013 17:47:50 +0000 (10:47 -0700)]
am
d3724e02: am
2568d7f0: am
0bf013fd: am
f417fc4a: fix xml error in sample
* commit '
d3724e02d898b66a5b94cf0f2d3bbfaec5295b32':
fix xml error in sample
Scott Main [Tue, 9 Apr 2013 17:43:38 +0000 (10:43 -0700)]
am
2568d7f0: am
0bf013fd: am
f417fc4a: fix xml error in sample
* commit '
2568d7f0cb9ee568309a0347805a12b9e771b689':
fix xml error in sample
Scott Main [Tue, 9 Apr 2013 17:41:03 +0000 (10:41 -0700)]
am
0bf013fd: am
f417fc4a: fix xml error in sample
* commit '
0bf013fdbd11a18c010147aed5899034172feb9a':
fix xml error in sample
Scott Main [Tue, 9 Apr 2013 17:38:18 +0000 (10:38 -0700)]
am
f417fc4a: fix xml error in sample
* commit '
f417fc4a4f6aa577e0af08776825aa4569638f51':
fix xml error in sample
Dianne Hackborn [Tue, 9 Apr 2013 17:38:00 +0000 (17:38 +0000)]
Merge "Kill processes when permissions are revoked." into jb-mr2-dev
Baligh Uddin [Tue, 9 Apr 2013 17:34:24 +0000 (17:34 +0000)]
Merge "Import translations. DO NOT MERGE" into jb-mr2-dev
Scott Main [Tue, 9 Apr 2013 17:29:00 +0000 (10:29 -0700)]
fix xml error in sample
Change-Id: I59ca15028c52e0be081f4e65308f88e06115f7fd
Romain Guy [Tue, 9 Apr 2013 02:45:40 +0000 (19:45 -0700)]
Change the dither texture's swizzling
This is a more elegant way to sample from a float alpha texture.
Instead of sampling from the red channel in the fragment shader
we can set the alpha channel swizzle to redirect it to the
red channel. This lets us sample from the alpha channel in the
fragment shader and get the correct value.
Change-Id: I95bbf7a82964e1bf42c0fee1b782b6bdbbcef618
Raph Levien [Tue, 9 Apr 2013 17:10:56 +0000 (17:10 +0000)]
Merge "Update Droid Serif" into jb-mr2-dev
Daniel Sandler [Tue, 9 Apr 2013 14:34:19 +0000 (14:34 +0000)]
Merge "Fix [-] buttons in the notification builder test." into jb-mr2-dev
Daniel Sandler [Tue, 9 Apr 2013 05:20:02 +0000 (01:20 -0400)]
Fix [-] buttons in the notification builder test.
(Broken by change I9fae5a4a).
Bug:
8564511
Change-Id: I0d5b65e6678018630c812c5616e9b3f068029e66
Michael Jurka [Tue, 9 Apr 2013 06:04:35 +0000 (06:04 +0000)]
Merge "Fix janky icon fade-in animation in Recents" into jb-mr2-dev
Dianne Hackborn [Tue, 9 Apr 2013 05:28:59 +0000 (22:28 -0700)]
Kill processes when permissions are revoked.
Some permissions are associated with gids, so we need to
kill any running processes if their permission is revoked.
We will do this for any permission being revoked, since
the association between gids and permissions can change
over time.
Change-Id: Ieb7408e032539c4f21eb089d65a7a7e6c289f010
Ying Wang [Tue, 9 Apr 2013 02:02:01 +0000 (19:02 -0700)]
Fix tests build.
Change-Id: I24d65c18018a8d6df6fa3414306fc0d586d4cfa2
Michael Jurka [Mon, 8 Apr 2013 22:44:00 +0000 (15:44 -0700)]
Fix janky icon fade-in animation in Recents
Change-Id: I15d2274add8903820dac3da0fa47c9e54f6ec97d
Robert Greenwalt [Tue, 9 Apr 2013 01:02:02 +0000 (18:02 -0700)]
Fix crash bug with mismatched iface names
The copied-to LinkProperties needs the same iface name as the copied from.
Since we were copying into an empty LP this was trivial, but I
changed the params to tighten up this contract - don't want to
accidentally change an LP's iface name when we shouldn't.
bug:
8569797
Change-Id: I5f88826e37271a0549c14d004bb2f16983b950e6
Eric Rowe [Tue, 9 Apr 2013 00:11:51 +0000 (00:11 +0000)]
Merge "Change dropbox tag for native crashes." 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
Jeff Brown [Mon, 8 Apr 2013 23:59:24 +0000 (23:59 +0000)]
Merge "Queues, queues, queues and input." into jb-mr2-dev
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
Marco Nelissen [Mon, 8 Apr 2013 23:39:29 +0000 (23:39 +0000)]
Merge "Add support for common encryption" into jb-mr2-dev
Jonathan Dixon [Fri, 8 Mar 2013 01:20:08 +0000 (17:20 -0800)]
Hide PlusinsEnabled/PluginsPath methods
These have been deprecated since API level 8 / 9. Plugins are deprecated
overall now, so there's no requirement for apps to call these any more.
Change-Id: I1a27557644238477df00979f9badc9aab0a526c6
Robert Greenwalt [Sat, 6 Apr 2013 00:14:19 +0000 (17:14 -0700)]
Turn back on global proxy support.
This reverts 138626.
Bug:
8557674
Change-Id: I7b117d313c424d75bdeeea507541a96342f256f0
Kenny Root [Mon, 8 Apr 2013 23:10:50 +0000 (23:10 +0000)]
Merge "Check outInfo is not null" into jb-mr2-dev
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
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
Chet Haase [Mon, 8 Apr 2013 22:53:11 +0000 (22:53 +0000)]
Merge "Amend getOverlay() docs for SurfaceView/TextureView" into jb-mr2-dev
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
Wink Saville [Fri, 5 Apr 2013 22:03:31 +0000 (15:03 -0700)]
Add FW support for CellInfo RIL commands.
Bug:
8235566
Change-Id: I7ad7dabc4b6c38bfba4461b08e6e30d0eb9efea1
Eric Rowe [Mon, 8 Apr 2013 22:00:27 +0000 (15:00 -0700)]
Change dropbox tag for native crashes.
Change-Id: Id2738fc758c3d144e5fdd2c7f1c8617dad129338
Ben Gruver [Mon, 8 Apr 2013 21:40:26 +0000 (21:40 +0000)]
Merge "Implement event logging for intent firewall" into jb-mr2-dev
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
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
Marco Nelissen [Mon, 8 Apr 2013 21:28:55 +0000 (14:28 -0700)]
Add support for common encryption
Change-Id: I2d56a6a90dff3ce1c37296934fca01b8a2ca0f89
Raph Levien [Mon, 8 Apr 2013 21:32:24 +0000 (14:32 -0700)]
Update Droid Serif
This patch updates the Droid Serif fonts to version
20130131. This
fixes bug
6180699 and should expand the range of combining marks
(e.g. Polytonic Greek, African, Canadian aboriginal languages)
significantly.
Change-Id: I31975d0b35f5164b2da9fd7a5df0474aaed3ed5c
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
Yorke Lee [Mon, 8 Apr 2013 21:22:06 +0000 (21:22 +0000)]
Merge "Update DataUsageStatColumns" 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
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
Nick Kralevich [Mon, 8 Apr 2013 20:08:59 +0000 (20:08 +0000)]
Merge "AppSecurityPermissions: minor UI changes" into jb-mr2-dev
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
John Spurlock [Mon, 8 Apr 2013 20:05:50 +0000 (20:05 +0000)]
Merge "Awaken dreams on home + recents." 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
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
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
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
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
ztenghui [Mon, 8 Apr 2013 18:42:53 +0000 (11:42 -0700)]
HTML5Audio should handle content URI
Change-Id: Ib7ef4ad5fdd5b6b051ae32b0968a9bddef5c65ba
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
Baligh Uddin [Mon, 8 Apr 2013 17:26:44 +0000 (10:26 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ia150446de499f4272f73b1c5f30bf5adc7b0ae39
Auto-generated-cl: translation import
ztenghui [Mon, 8 Apr 2013 17:22:28 +0000 (17:22 +0000)]
Merge "Update the documentiation for MediaMuxer::writeSampleData()" into jb-mr2-dev
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
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
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
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
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
Ben Gruver [Sat, 6 Apr 2013 02:21:19 +0000 (19:21 -0700)]
Implement event logging for intent firewall
Change-Id: If79052d07f3e5c02cfdbd0dd00026b01110045c2
Nick Kralevich [Sun, 7 Apr 2013 18:13:16 +0000 (11:13 -0700)]
fix build
Change-Id: I7f3b8a4df84630f40f5a3f19434df86b6287fb75
Nick Kralevich [Sun, 7 Apr 2013 17:53:27 +0000 (17:53 +0000)]
Merge "AppSecurityPermissions: add support for revoking permissions" into jb-mr2-dev
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
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
Raph Levien [Fri, 5 Apr 2013 23:53:21 +0000 (23:53 +0000)]
Merge "Update Roboto to version 1.200311" into jb-mr2-dev
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
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