OSDN Git Service
Chet Haase [Wed, 11 Sep 2013 21:33:05 +0000 (14:33 -0700)]
Hide translucent activity conversion API
This API and functionality is not yet completely baked. It's worth
thinking more about this mechanism before exposing it as public API.
Issue #
10461415 KLP API Review: Activity convert to translucent
Change-Id: I94d986b62443b3bfa7a9a19807ecebe36bf57e07
Craig Mautner [Tue, 10 Sep 2013 22:11:57 +0000 (22:11 +0000)]
Merge "When waiting for activity to finish don't reset" into klp-dev
John Reck [Tue, 10 Sep 2013 21:03:48 +0000 (21:03 +0000)]
Merge "Fix scissor for functor invocation" into klp-dev
Tim Murray [Tue, 10 Sep 2013 21:00:37 +0000 (21:00 +0000)]
Merge "Fix FontRenderer bug." into klp-dev
Tim Murray [Tue, 10 Sep 2013 20:46:49 +0000 (13:46 -0700)]
Fix FontRenderer bug.
bug
10691313
Change-Id: Icd5341a3c2066e337911f040ddc935c48c8d7cd1
John Reck [Tue, 10 Sep 2013 20:12:09 +0000 (13:12 -0700)]
Fix scissor for functor invocation
Bug:
10677765
enableScissor() must precede setScissorFromClip() as
otherwise setScissorFromClip() doesn't do anything.
Also make sure to call setScissorFromClip() if
enableScissor() returns true as enableScissor() calls
resetScissor() if the scissor state has changed.
Change-Id: I9226b20bb256c92066aae344e4e6407540b6eae9
David Braun [Tue, 10 Sep 2013 20:33:27 +0000 (20:33 +0000)]
Merge "Factor out read/write SMS settings seperate from send/receive." into klp-dev
Jason Monk [Tue, 10 Sep 2013 20:27:23 +0000 (20:27 +0000)]
Merge "Verify inputs to PAC resolving." into klp-dev
David Braun [Tue, 10 Sep 2013 20:14:46 +0000 (13:14 -0700)]
Factor out read/write SMS settings seperate from send/receive.
Change-Id: I161782b1508be433c910ec13c0b18e728bf7d2ba
Alan Viverette [Tue, 10 Sep 2013 20:05:59 +0000 (20:05 +0000)]
Merge "Make ListView's illegal state exception more helpful" into klp-dev
Zhijun He [Tue, 10 Sep 2013 19:41:10 +0000 (19:41 +0000)]
Merge "MediaMuxer: Add setLocation API" into klp-dev
Igor Murashkin [Tue, 10 Sep 2013 19:29:27 +0000 (19:29 +0000)]
Merge "camera2: Don't NPE in onStatusChanged" into klp-dev
Chet Haase [Tue, 10 Sep 2013 18:44:21 +0000 (18:44 +0000)]
Merge "Fix for transition layout suppression" into klp-dev
Adam Powell [Tue, 10 Sep 2013 18:38:52 +0000 (11:38 -0700)]
Fix some bizarre Spinner behavior
* Make sure the recycler is cleared when the adapter is changed.
Bug
10689596
* Don't add views to measure the baseline.
Bug
10690353
Change-Id: I841dc05652eef3319721631f96332f7900d1a631
Chet Haase [Tue, 10 Sep 2013 18:30:22 +0000 (11:30 -0700)]
Fix for transition layout suppression
The ChangeBounds transition causes its target view parents to suppress
layout for the duration of the transition. This is done to avoid artifacts
caused by running layout while layout bounds are being animated between
different scene values.
In order to react correctly to new transition/scene information (such as
running a new transition while another is already running), the transition
system calls pause() on all running transitions to allow layout (among other
things) to work correctly, then resume() after this is finished. This works
in general, but pause/resume do not take account of child transitions that
have already played and ended. ChangeBounds, uses pause/resume to
restore normal layout and re-enable layout suppression. This means that
when resume() is called on a ChangeBounds transition that has already
ended, that transition will leave the parent in a suppressed-layout
state, basically forever. This can cause artifacts like we're seeing in
recent ActionBar changes where the account spinner is never repopulated because
layout is never allowed to run.
The fix is to note when a transition ends and noop future calls to pause/resume.
Issue #
10648936 Transitions don't work with new ActionBar functionality
Change-Id: Id9d41c0352b2270d46cfd5ad4dba130767bbf303
Alan Viverette [Tue, 10 Sep 2013 18:22:53 +0000 (11:22 -0700)]
Make ListView's illegal state exception more helpful
Change-Id: I3d3205d32c6992c184a218248ba72ebf6c45a2d1
Vinit Deshapnde [Tue, 10 Sep 2013 17:32:52 +0000 (17:32 +0000)]
Merge "Set country code on P2p interfaces as well" into klp-dev
Yuhao Zheng [Tue, 10 Sep 2013 17:12:00 +0000 (17:12 +0000)]
Merge "Add a hidden API to toggle airplane mode." into klp-dev
Martijn Coenen [Tue, 10 Sep 2013 17:04:31 +0000 (17:04 +0000)]
Merge "Remove legacy HCE APIs." into klp-dev
Yuhao Zheng [Tue, 10 Sep 2013 00:00:04 +0000 (17:00 -0700)]
Add a hidden API to toggle airplane mode.
Added a hidden API under ConnectivityManager to toggle airplane mode.
This may be a temp solution for b/
10653570.
bug:
10653570
Change-Id: I0b2b42230073289eb8dc6891317d62b84e26c133
Glenn Kasten [Tue, 10 Sep 2013 16:36:23 +0000 (16:36 +0000)]
Merge "AudioTrack.getTimestamp() return type is now boolean" into klp-dev
John Reck [Tue, 10 Sep 2013 16:25:14 +0000 (16:25 +0000)]
Merge "Remove FD optimization case for decodeStream" into klp-dev
Marco Nelissen [Tue, 10 Sep 2013 16:09:16 +0000 (16:09 +0000)]
Merge "Use correct timescale for "date taken" field" into klp-dev
Amith Yamasani [Tue, 10 Sep 2013 15:59:37 +0000 (15:59 +0000)]
Merge "Don't leave space for summary text if it's an empty string" into klp-dev
Zhijun He [Mon, 9 Sep 2013 22:47:06 +0000 (15:47 -0700)]
MediaMuxer: Add setLocation API
This API could be used for camera recording when MediaMuxer is used to write
output media file.
Bug:
10594784
Change-Id: Ide2d6e1d87b246100a5def49bfb8646dc984a512
Craig Mautner [Fri, 6 Sep 2013 18:59:38 +0000 (11:59 -0700)]
When waiting for activity to finish don't reset
In cases where the client is waiting for an activity to launch
(startActivityMayWait()) it is a bad idea to clear
ActivityRecord.displayStartTime when going into the pause state. If
displayStartTime is cleared before the activity is displayed,
the client will never be released.
This fix keeps pause from clearing displayStartTime if any client
is waiting for the activity to be displayed.
Fixes bug
10095558. But not a permanent fix, startActivityMayWait()
should not be called by any production code.
Change-Id: I7cbdcb04256f4a26233867c52aedd3bc4151adc3
Stephen Hines [Tue, 10 Sep 2013 05:23:10 +0000 (05:23 +0000)]
Merge "Don't set Allocation mSize when we have no Type." into klp-dev
Baligh Uddin [Tue, 10 Sep 2013 05:00:52 +0000 (05:00 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Tue, 10 Sep 2013 04:58:04 +0000 (04:58 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev
Jeff Sharkey [Tue, 10 Sep 2013 04:41:53 +0000 (04:41 +0000)]
Merge "Fix getCallingPackage() to handle reentrance." into klp-dev
Jeff Sharkey [Tue, 10 Sep 2013 04:40:41 +0000 (04:40 +0000)]
Merge changes I7b3f4c68,I9f022a08 into klp-dev
* changes:
Rename offer() to add(), remove/hide some APIs.
Sort order is sticky for session, back leaves.
Jeff Brown [Tue, 10 Sep 2013 03:35:55 +0000 (03:35 +0000)]
Merge "Clarify InputDevice#getControllerNumber documentation" into klp-dev
Sandeep Siddhartha [Tue, 10 Sep 2013 02:15:28 +0000 (19:15 -0700)]
Fix checkbuild error due to javadoc reference to hidden class
Change-Id: I128b8a6dd725468d0c9503b8229f8939fddb51bc
Jeff Sharkey [Tue, 10 Sep 2013 01:52:48 +0000 (18:52 -0700)]
Fix getCallingPackage() to handle reentrance.
Keep any previous value in the stack frame and restore when the
current call is finished.
Bug:
10659409
Change-Id: I02b760ae9ca06a4b3602725e02f649f1ada460a0
Xia Wang [Fri, 6 Sep 2013 22:19:03 +0000 (15:19 -0700)]
Remove system user id for cm tests
Change-Id: I51f500c8e7b4e2963093e20c6f20bcfe020995c9
(cherry picked from commit
575495c29007503566e28004bf60018a824b1f1b)
Stephen Hines [Tue, 10 Sep 2013 00:56:07 +0000 (17:56 -0700)]
Don't set Allocation mSize when we have no Type.
Bug:
10667740
A3D creates Allocations before knowing the underlying Type (and thus size).
Moving the mSize calculation to be conditional for concrete Allocations
eliminates the bug. In the future, we could let A3D dynamically update the
Allocation size if it is necessary to improve heap behavior.
Change-Id: I520246806b6ead0387a1a41372dade1a6e7c2271
Jeff Sharkey [Tue, 10 Sep 2013 00:46:54 +0000 (17:46 -0700)]
Rename offer() to add(), remove/hide some APIs.
Change MatrixCursor offer() to add() based on review feedback. Remove
some now-unused XML metadata. Hide document creation, since it's not
supported in initial version.
Bug:
10577809,
10461706,
10678563
Change-Id: I7b3f4c6899c28f633471ef816bee22bf032aa0d2
Jeff Sharkey [Tue, 10 Sep 2013 00:35:46 +0000 (17:35 -0700)]
Sort order is sticky for session, back leaves.
Instead of persisting sort order per-directory, the order is now
sticky for that session. Any user selected sort order takes
precedence over an ordering hinted by a backend.
When a restored DocumentStack is untouched, the back key now leaves
the dialog, instead of popping from the restored stack.
Persist list/grid mode changes async.
Bug:
10659604,
10672973
Change-Id: I9f022a081c014537447c9c2af10e19d8cd9566aa
Jeff Sharkey [Tue, 10 Sep 2013 00:08:17 +0000 (00:08 +0000)]
Merge "Disabled states, more UX work, bug fixes." into klp-dev
Jeff Sharkey [Mon, 9 Sep 2013 23:51:06 +0000 (16:51 -0700)]
Disabled states, more UX work, bug fixes.
Fix drawable state to correctly show dimmed disabled state. Update
disabled state for all children to grey out text.
Block multi-selection of documents not matching MIME filter. Load
thumbnails in parallel. Show thumbnails in list mode based on MIME
type to match spec.
Give each footer a unique view type to avoid recycler crashes.
Show breadcrumb icons in recent create paths. Fix timestamp bug when
querying/updating recent paths.
Make ContentProviderClient.closeQuietly() really be quiet.
Bug:
10668364,
10510022,
10668701,
10534224,
10667726
Change-Id: I3c705412fb211519f15ad41a273a7533b878e9e5
John Reck [Mon, 9 Sep 2013 23:37:57 +0000 (16:37 -0700)]
Remove FD optimization case for decodeStream
Bug:
10677727
The problem is that the FileInputStream may be wrapping a pipe or
AssetFileDescriptor which fails if handed to decodeFileDescriptor.
The problem is that AFDs can start in the middle of a file, whereas
decodeFileDescriptor assumes it can mmap() the FD and start at
the beginning.
Change-Id: I98a3c5f789865145e25a99b32d205e290808c1cf
Tim Murray [Mon, 9 Sep 2013 23:34:38 +0000 (23:34 +0000)]
Merge "Add flags word to initialization." into klp-dev
Vinit Deshapnde [Mon, 9 Sep 2013 23:28:31 +0000 (16:28 -0700)]
Set country code on P2p interfaces as well
This change will set country code on P2p interfaces as well, so the
drivers are free to use channels that are permitted regionally. This
is required for FCC style compliance and Miracast certification.
Bug:
10513263
Change-Id: I88c645bd488066d5167e23e2772f2e0e1f40fa8a
Sandeep Siddhartha [Mon, 9 Sep 2013 23:25:26 +0000 (23:25 +0000)]
Merge "Move public consts to HotwordRecognitionService" into klp-dev
Tim Murray [Mon, 9 Sep 2013 23:15:56 +0000 (16:15 -0700)]
Add flags word to initialization.
bug
10427951
Change-Id: I1356b9b96315ead44aa3898de5604d75f9bb8be5
Chet Haase [Mon, 9 Sep 2013 23:03:28 +0000 (23:03 +0000)]
Merge "Add updateListener to ViewPropertyAnimator" into klp-dev
Chris Craik [Mon, 9 Sep 2013 23:00:48 +0000 (23:00 +0000)]
Merge "Create a pixelref wrapper for reused bitmaps" into klp-dev
Andy McFadden [Mon, 9 Sep 2013 22:55:35 +0000 (22:55 +0000)]
Merge "Fix pixel test" into klp-dev
Glenn Kasten [Mon, 9 Sep 2013 21:39:02 +0000 (14:39 -0700)]
AudioTrack.getTimestamp() return type is now boolean
Change-Id: Ie231652dc0959343f0726dcb985b6715bfe014f6
Matthew Williams [Mon, 9 Sep 2013 22:06:05 +0000 (22:06 +0000)]
Merge "Preserve CTS fail behaviour on null bundle for old API" into klp-dev
Craig Mautner [Mon, 9 Sep 2013 21:55:20 +0000 (21:55 +0000)]
Merge "Do not enter resumeTopActivity recursively." into klp-dev
Amith Yamasani [Mon, 9 Sep 2013 21:46:07 +0000 (14:46 -0700)]
Don't leave space for summary text if it's an empty string
Bug:
10639567
Change-Id: Ifeb71ea0779a86e39fe55fb0bc6cd267dba4a92e
Matthew Williams [Mon, 9 Sep 2013 21:35:27 +0000 (14:35 -0700)]
Preserve CTS fail behaviour on null bundle for old API
For ContentResolver.requestSync() a null bundle should not be
allowed. However we don't want to enforce this for the new API,
so we remove this check from the SyncRequest.Builder#build()
Change-Id: I69353d24edbd686da6ded2856c0920315cb76e85
Christopher Tate [Mon, 9 Sep 2013 21:26:50 +0000 (21:26 +0000)]
Merge "Fix clearApplicationUserData() to allow a null observer" into klp-dev
Christopher Tate [Mon, 9 Sep 2013 21:17:27 +0000 (14:17 -0700)]
Fix clearApplicationUserData() to allow a null observer
The services themselves already handle 'null' to mean "no observer";
it was just the non-AIDL marshalling code that wasn't doing the
right thing.
Bug
9588299
Change-Id: I99e26cd207f91e8060d9fc113aef90a106640b64
Chet Haase [Mon, 9 Sep 2013 21:10:56 +0000 (21:10 +0000)]
Merge "Show view overlays in hierarchyviewer" into klp-dev
Chris Craik [Fri, 6 Sep 2013 21:40:30 +0000 (14:40 -0700)]
Create a pixelref wrapper for reused bitmaps
Reused bitmaps may gain a color table when reused, so we wrap a new
AndroidPixelRef that holds the color table around the old.
bug:
10608305
Change-Id: I35288edf3158cfda21c500360ad1abdf5654af8d
Svetoslav Ganov [Mon, 9 Sep 2013 21:06:37 +0000 (21:06 +0000)]
Merge "AccessibilityNodeInfo incorrectly cloned." into klp-dev
Leon Scroggins III [Mon, 9 Sep 2013 20:57:12 +0000 (20:57 +0000)]
Merge "Register jni objs in CreateJavaOutputStreamAdaptor" into klp-dev
Chris Craik [Mon, 9 Sep 2013 20:53:18 +0000 (20:53 +0000)]
Merge "Update doc for BitmapFactory.Options to include BitmapRegionDecoder" into klp-dev
Mindy Pereira [Mon, 9 Sep 2013 20:51:16 +0000 (20:51 +0000)]
Merge "Update default ramp up time for autoscroller." into klp-dev
Svetoslav Ganov [Mon, 9 Sep 2013 20:36:43 +0000 (13:36 -0700)]
AccessibilityNodeInfo incorrectly cloned.
The code that creates a clone of an AccessibilityNodeInfo was not cloning
the extension objects (CollectionInfo, CollectionItemInfo, and RangeInfo)
and as a result if the original accessibility node info is recycled the
extension objects of the clone are also recycled and now if one tries to
recycle the clone gets an exception that the extension objects are already
recycled. Fun!
bug:
10642952
Change-Id: I84192466bff0e865de04b79079e6ceecdffb37a6
Svetoslav Ganov [Mon, 9 Sep 2013 20:41:28 +0000 (20:41 +0000)]
Merge "Add dumping the state of the print sub-system." into klp-dev
Dianne Hackborn [Mon, 9 Sep 2013 20:37:01 +0000 (20:37 +0000)]
Merge "Fix issue #
10671878: Proc stats needs to remove old data structures" into klp-dev
Alan Viverette [Mon, 9 Sep 2013 20:31:14 +0000 (20:31 +0000)]
Merge "Add WebVTT caption renderer" into klp-dev
Svetoslav Ganov [Sun, 8 Sep 2013 05:42:47 +0000 (22:42 -0700)]
Add dumping the state of the print sub-system.
Being able to dump the state of the print sub-system especially when
taking a bugreport is very useful for bug fixing and observing whether
the print system operates properly.
bug:
10659019
Change-Id: Id098b788f474ab17766966a4563ffdfc0171c76b
Craig Mautner [Mon, 9 Sep 2013 19:57:47 +0000 (12:57 -0700)]
Do not enter resumeTopActivity recursively.
Changes for translucent activity were causing activities to be
launched twice due to a recursive call into resumeTopActivity.
Putting the translucent action onto a handler removes the recursivity
and fixes the multiple launch problem.
Fixes bug
10556969.
Change-Id: I2bb53cd555b0aaf093ab35db2859acb10b58211e
Eric Rowe [Mon, 9 Sep 2013 19:57:19 +0000 (19:57 +0000)]
Merge "Add PID and application to Java crash printout" into klp-dev
Tom O'Neill [Mon, 9 Sep 2013 19:36:48 +0000 (19:36 +0000)]
Merge "Explain what warnIfCallingFromSystemProcess() is about" into klp-dev
Deepanshu Gupta [Mon, 9 Sep 2013 19:35:03 +0000 (19:35 +0000)]
Merge "Add isPremultiplied option to Bitmap_Delegate in LayoutLib" into klp-dev
Eric Rowe [Tue, 3 Sep 2013 17:51:15 +0000 (10:51 -0700)]
Add PID and application to Java crash printout
Bug:
10568405
Change-Id: I508e89bf7ea58e15a8460099036e270139b2e2a9
Eric Rowe [Mon, 9 Sep 2013 18:29:38 +0000 (18:29 +0000)]
Merge "Add PID to ANR logcat printout." into klp-dev
Dirk Dougherty [Mon, 9 Sep 2013 17:48:03 +0000 (10:48 -0700)]
am
cbe6482a: am
b096bee1: am
dd93ae32: Doc change: fix typo.
* commit '
cbe6482a842946eaad3dc4f964ec1da10ba18b57':
Doc change: fix typo.
Dirk Dougherty [Mon, 9 Sep 2013 17:45:57 +0000 (10:45 -0700)]
am
b096bee1: am
dd93ae32: Doc change: fix typo.
* commit '
b096bee155cc089144d59640494adba0b31d56ed':
Doc change: fix typo.
Chet Haase [Sat, 7 Sep 2013 01:29:56 +0000 (18:29 -0700)]
Add updateListener to ViewPropertyAnimator
New method setUpdateListener() on ViewPropertyAnimator that will
send out update events to the provided listener.
Issue #
10118113 Offer update listener on ViewPropertyAnimator
Change-Id: Ib9f8fc6dbbc3c1c58113246d9a3b01e7ac27b14c
Dirk Dougherty [Mon, 9 Sep 2013 17:42:47 +0000 (10:42 -0700)]
am
dd93ae32: Doc change: fix typo.
* commit '
dd93ae32a8d50147a95a270cc99f9474dbf9ee27':
Doc change: fix typo.
Chet Haase [Mon, 9 Sep 2013 17:36:48 +0000 (17:36 +0000)]
Merge "Propagate pivot values of 0 to native layer" into klp-dev
Dirk Dougherty [Mon, 9 Sep 2013 17:36:37 +0000 (10:36 -0700)]
Doc change: fix typo.
Change-Id: Idd14111f1b62430560a11c5803a864f2bad5eff0
Chet Haase [Mon, 9 Sep 2013 17:36:13 +0000 (17:36 +0000)]
Merge "TextChange transition now uses CharSequence instead of String" into klp-dev
Eric Rowe [Fri, 30 Aug 2013 21:19:20 +0000 (14:19 -0700)]
Add PID to ANR logcat printout.
Bug:
10568033
Change-Id: I7131520c887df1f897b7a135b04509bdad9bdb88
Alan Viverette [Mon, 9 Sep 2013 17:24:32 +0000 (17:24 +0000)]
Merge "Only activate FastScroller when it's needed" into klp-dev
Alan Viverette [Mon, 9 Sep 2013 17:24:08 +0000 (17:24 +0000)]
Merge "Increase visibility of accessibility focus highlight" into klp-dev
Alan Viverette [Mon, 9 Sep 2013 17:24:04 +0000 (17:24 +0000)]
Merge "Add drag-to-open for action bar submenus" into klp-dev
Andy McFadden [Mon, 9 Sep 2013 17:19:44 +0000 (10:19 -0700)]
Fix pixel test
A deprecated format was dropped entirely.
Bug
10666734
Change-Id: I6b64bd27db8965a1696d72387232b7de4bce6574
Jeff Sharkey [Mon, 9 Sep 2013 17:04:46 +0000 (17:04 +0000)]
Merge "Remember mode and sort on per-directory basis." into klp-dev
Dianne Hackborn [Mon, 9 Sep 2013 16:44:05 +0000 (09:44 -0700)]
Fix issue #
10671878: Proc stats needs to remove old data structures
We now keep track of which process and service states are actively
in use, and remove any that are not in use during a commit. The
activity manager needed to be tweaked to report this data, and ensure
it does not try to operate on one of these structures when not in
use.
Also some other fixes:
- We now keep track of process names associated with services, for
display in the UI.
- Keep track of total run time for each service, also for UI.
- The parceled format is more efficient, not storing duplicates of
process/package names, and writing times as ints when possible.
- Reduced commit period from 1 day to 12 hours, so that our UI can
be a little closer at its attempt to display the stats over 1 day.
Change-Id: Ifeda0ffe963a7b49d8eb2a3f6923f3a5e71a4e43
Amith Yamasani [Mon, 9 Sep 2013 16:43:16 +0000 (16:43 +0000)]
Merge "Throw an exception if isValidFragment is not overridden for KK targets" into klp-dev
Baligh Uddin [Mon, 9 Sep 2013 16:39:13 +0000 (09:39 -0700)]
Import translations. DO NOT MERGE
Change-Id: I8825a1c9aa0d9d85efa50e9ce2849a0e1ee287da
Auto-generated-cl: translation import
Tom O'Neill [Mon, 9 Sep 2013 16:34:58 +0000 (09:34 -0700)]
Explain what warnIfCallingFromSystemProcess() is about
- Helps the next person to hit a bug like b/
10621831
Change-Id: Id44dc57472516ec5f574d22d4c131ab9870648db
Jeff Sharkey [Sat, 7 Sep 2013 21:45:03 +0000 (14:45 -0700)]
Remember mode and sort on per-directory basis.
Persist the last user-selected list/grid mode and sort order for
each directory. Remembered user choice always overrides provider
hinting.
Filter out recent documents that don't match requested MIME type, and
show recents in grid mode when picking images. Hide mode and sort
order in recents.
Add hinting flag for backend to indicate a directory would like to be
sorted by last modified. Include explicit root in DocumentStack and
clearly mark derived fields.
Bug:
10392047,
10608506
Change-Id: I2dd3a0e4112852ebf87e7dbb08b3781c86587dcf
Baligh Uddin [Mon, 9 Sep 2013 15:56:32 +0000 (08:56 -0700)]
Import translations. DO NOT MERGE
Change-Id: I90186decd93532170eaad0aebffa3a23b4970ae5
Auto-generated-cl: translation import
Chet Haase [Tue, 11 Jun 2013 05:28:58 +0000 (22:28 -0700)]
Propagate pivot values of 0 to native layer
Logic in pivotXY setters noops when the new value equals
the previous value. However, the initial value is "0" even
though we actually use a value of the view's midpoint by
default. If an app sets a new value of 0, we don't send it
down to the native layer because it's the same as the initial
value, even though we're actually using a midpoint value instead.
This causes a conflict between the matrix used for invalidations
(which use the actual values the app set) and the matrix used
for rendering (which uses the default midpoint values).
The fix is to make sure we send down the initial value, even when it
equals the default value, by checking to see whether this is the
first time we're setting the pivot.
Issue #
9337635 Clipping and bad rendering of view corners when y pivot is set
Change-Id: I4aa20c4a3c9a866ca17df3e067232b832d0ef504
John Spurlock [Mon, 9 Sep 2013 15:17:41 +0000 (15:17 +0000)]
Merge "Restore alpha animation to status bar rhs icons." into klp-dev
John Spurlock [Mon, 9 Sep 2013 15:13:40 +0000 (15:13 +0000)]
Merge "Draw status bar battery icon bolt in code." into klp-dev
Wink Saville [Mon, 9 Sep 2013 01:32:44 +0000 (01:32 +0000)]
Merge "Tighten test for warm sim and add more debug." into klp-dev
Wink Saville [Mon, 9 Sep 2013 01:32:00 +0000 (01:32 +0000)]
Merge "For NETWORK_MODE_LTE_CMDA_EVDO_GSM_WCDMA default to PHONE_TYPE_GSM" into klp-dev
Christopher Tate [Sun, 8 Sep 2013 22:41:32 +0000 (15:41 -0700)]
Fix permission checks around setBackupEnabled()
...by making sure to drop binder identity before writing our new
state to secure settings etc.
Bug
10506933
Change-Id: I00505cc5215c8fe5f30f2f35698b30645fe14c87
Dianne Hackborn [Sun, 8 Sep 2013 20:08:42 +0000 (20:08 +0000)]
Merge "Fix build." into klp-dev
Dianne Hackborn [Sun, 8 Sep 2013 20:07:32 +0000 (13:07 -0700)]
Fix build.
Change-Id: Ifeac5d09a654ee1183ae26519c8b44f560afd636
Christopher Tate [Sun, 8 Sep 2013 20:07:20 +0000 (20:07 +0000)]
Merge "Don't crash attempting restore of uninstalled live wallpaper" into klp-dev