OSDN Git Service

android-x86/frameworks-base.git
10 years agoMerge "Remove legacy HCE APIs." into klp-dev
Martijn Coenen [Tue, 10 Sep 2013 17:04:31 +0000 (17:04 +0000)]
Merge "Remove legacy HCE APIs." into klp-dev

10 years agoMerge "AudioTrack.getTimestamp() return type is now boolean" into klp-dev
Glenn Kasten [Tue, 10 Sep 2013 16:36:23 +0000 (16:36 +0000)]
Merge "AudioTrack.getTimestamp() return type is now boolean" into klp-dev

10 years agoMerge "Remove FD optimization case for decodeStream" 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

10 years agoMerge "Use correct timescale for "date taken" field" 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

10 years agoMerge "Don't leave space for summary text if it's an empty string" 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

10 years agoMerge "Don't set Allocation mSize when we have no Type." into klp-dev
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

10 years agoMerge "Import translations. DO NOT MERGE" 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

10 years agoMerge "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

10 years agoMerge "Fix getCallingPackage() to handle reentrance." 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

10 years agoMerge changes I7b3f4c68,I9f022a08 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.

10 years agoMerge "Clarify InputDevice#getControllerNumber documentation" into klp-dev
Jeff Brown [Tue, 10 Sep 2013 03:35:55 +0000 (03:35 +0000)]
Merge "Clarify InputDevice#getControllerNumber documentation" into klp-dev

10 years agoFix checkbuild error due to javadoc reference to hidden class
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

10 years agoFix getCallingPackage() to handle reentrance.
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

10 years agoRemove system user id for cm tests
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)

10 years agoDon't set Allocation mSize when we have no Type.
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

10 years agoRename offer() to add(), remove/hide some APIs.
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: 105778091046170610678563
Change-Id: I7b3f4c6899c28f633471ef816bee22bf032aa0d2

10 years agoSort order is sticky for session, back leaves.
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: 1065960410672973
Change-Id: I9f022a081c014537447c9c2af10e19d8cd9566aa

10 years agoMerge "Disabled states, more UX work, bug fixes." into klp-dev
Jeff Sharkey [Tue, 10 Sep 2013 00:08:17 +0000 (00:08 +0000)]
Merge "Disabled states, more UX work, bug fixes." into klp-dev

10 years agoDisabled states, more UX work, bug fixes.
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: 1066836410510022106687011053422410667726
Change-Id: I3c705412fb211519f15ad41a273a7533b878e9e5

10 years agoRemove FD optimization case for decodeStream
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

10 years agoMerge "Add flags word to initialization." into klp-dev
Tim Murray [Mon, 9 Sep 2013 23:34:38 +0000 (23:34 +0000)]
Merge "Add flags word to initialization." into klp-dev

10 years agoMerge "Move public consts to HotwordRecognitionService" into klp-dev
Sandeep Siddhartha [Mon, 9 Sep 2013 23:25:26 +0000 (23:25 +0000)]
Merge "Move public consts to HotwordRecognitionService" into klp-dev

10 years agoAdd flags word to initialization.
Tim Murray [Mon, 9 Sep 2013 23:15:56 +0000 (16:15 -0700)]
Add flags word to initialization.

bug 10427951

Change-Id: I1356b9b96315ead44aa3898de5604d75f9bb8be5

10 years agoMerge "Add updateListener to ViewPropertyAnimator" into klp-dev
Chet Haase [Mon, 9 Sep 2013 23:03:28 +0000 (23:03 +0000)]
Merge "Add updateListener to ViewPropertyAnimator" into klp-dev

10 years agoMerge "Create a pixelref wrapper for reused bitmaps" 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

10 years agoMerge "Fix pixel test" into klp-dev
Andy McFadden [Mon, 9 Sep 2013 22:55:35 +0000 (22:55 +0000)]
Merge "Fix pixel test" into klp-dev

10 years agoAudioTrack.getTimestamp() return type is now boolean
Glenn Kasten [Mon, 9 Sep 2013 21:39:02 +0000 (14:39 -0700)]
AudioTrack.getTimestamp() return type is now boolean

Change-Id: Ie231652dc0959343f0726dcb985b6715bfe014f6

10 years agoMerge "Preserve CTS fail behaviour on null bundle for old API" into klp-dev
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

10 years agoMerge "Do not enter resumeTopActivity recursively." 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

10 years agoDon't leave space for summary text if it's an empty string
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

10 years agoPreserve CTS fail behaviour on null bundle for old API
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

10 years agoMerge "Fix clearApplicationUserData() to allow a null observer" into klp-dev
Christopher Tate [Mon, 9 Sep 2013 21:26:50 +0000 (21:26 +0000)]
Merge "Fix clearApplicationUserData() to allow a null observer" into klp-dev

10 years agoFix clearApplicationUserData() to allow a null observer
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

10 years agoMerge "Show view overlays in hierarchyviewer" into klp-dev
Chet Haase [Mon, 9 Sep 2013 21:10:56 +0000 (21:10 +0000)]
Merge "Show view overlays in hierarchyviewer" into klp-dev

10 years agoCreate a pixelref wrapper for reused bitmaps
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

10 years agoMerge "AccessibilityNodeInfo incorrectly cloned." into klp-dev
Svetoslav Ganov [Mon, 9 Sep 2013 21:06:37 +0000 (21:06 +0000)]
Merge "AccessibilityNodeInfo incorrectly cloned." into klp-dev

10 years agoMerge "Register jni objs in CreateJavaOutputStreamAdaptor" 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

10 years agoMerge "Update doc for BitmapFactory.Options to include BitmapRegionDecoder" into...
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

10 years agoMerge "Update default ramp up time for autoscroller." 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

10 years agoAccessibilityNodeInfo incorrectly cloned.
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

10 years agoMerge "Add dumping the state of the print sub-system." into klp-dev
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

10 years agoMerge "Fix issue #10671878: Proc stats needs to remove old data structures" into...
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

10 years agoMerge "Add WebVTT caption renderer" into klp-dev
Alan Viverette [Mon, 9 Sep 2013 20:31:14 +0000 (20:31 +0000)]
Merge "Add WebVTT caption renderer" into klp-dev

10 years agoAdd dumping the state of the print sub-system.
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

10 years agoDo not enter resumeTopActivity recursively.
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

10 years agoMerge "Add PID and application to Java crash printout" into klp-dev
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

10 years agoMerge "Explain what warnIfCallingFromSystemProcess() is about" 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

10 years agoMerge "Add isPremultiplied option to Bitmap_Delegate in LayoutLib" 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

10 years agoAdd PID and application to Java crash printout
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

10 years agoMerge "Add PID to ANR logcat printout." into klp-dev
Eric Rowe [Mon, 9 Sep 2013 18:29:38 +0000 (18:29 +0000)]
Merge "Add PID to ANR logcat printout." into klp-dev

10 years agoam cbe6482a: am b096bee1: am dd93ae32: Doc change: fix typo.
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.

10 years agoam b096bee1: am dd93ae32: 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.

10 years agoAdd updateListener to ViewPropertyAnimator
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

10 years agoam dd93ae32: Doc change: fix typo.
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.

10 years agoMerge "Propagate pivot values of 0 to native layer" into klp-dev
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

10 years agoDoc change: fix typo.
Dirk Dougherty [Mon, 9 Sep 2013 17:36:37 +0000 (10:36 -0700)]
Doc change: fix typo.

Change-Id: Idd14111f1b62430560a11c5803a864f2bad5eff0

10 years agoMerge "TextChange transition now uses CharSequence instead of String" into klp-dev
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

10 years agoAdd PID to ANR logcat printout.
Eric Rowe [Fri, 30 Aug 2013 21:19:20 +0000 (14:19 -0700)]
Add PID to ANR logcat printout.

Bug: 10568033
Change-Id: I7131520c887df1f897b7a135b04509bdad9bdb88

10 years agoMerge "Only activate FastScroller when it's needed" into klp-dev
Alan Viverette [Mon, 9 Sep 2013 17:24:32 +0000 (17:24 +0000)]
Merge "Only activate FastScroller when it's needed" into klp-dev

10 years agoMerge "Increase visibility of accessibility focus highlight" 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

10 years agoMerge "Add drag-to-open for action bar submenus" 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

10 years agoFix pixel test
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

10 years agoMerge "Remember mode and sort on per-directory basis." into klp-dev
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

10 years agoFix issue #10671878: Proc stats needs to remove old data structures
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

10 years agoMerge "Throw an exception if isValidFragment is not overridden for KK targets" into...
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

10 years agoImport translations. DO NOT MERGE
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

10 years agoExplain what warnIfCallingFromSystemProcess() is about
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

10 years agoRemember mode and sort on per-directory basis.
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: 1039204710608506
Change-Id: I2dd3a0e4112852ebf87e7dbb08b3781c86587dcf

10 years agoImport translations. DO NOT MERGE
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

10 years agoPropagate pivot values of 0 to native layer
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

10 years agoMerge "Restore alpha animation to status bar rhs icons." into klp-dev
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

10 years agoMerge "Draw status bar battery icon bolt in code." 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

10 years agoMerge "Tighten test for warm sim and add more debug." 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

10 years agoMerge "For NETWORK_MODE_LTE_CMDA_EVDO_GSM_WCDMA default to PHONE_TYPE_GSM" 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

10 years agoFix permission checks around setBackupEnabled()
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

10 years agoMerge "Fix build." into klp-dev
Dianne Hackborn [Sun, 8 Sep 2013 20:08:42 +0000 (20:08 +0000)]
Merge "Fix build." into klp-dev

10 years agoFix build.
Dianne Hackborn [Sun, 8 Sep 2013 20:07:32 +0000 (13:07 -0700)]
Fix build.

Change-Id: Ifeac5d09a654ee1183ae26519c8b44f560afd636

10 years agoMerge "Don't crash attempting restore of uninstalled live wallpaper" into klp-dev
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

10 years agoDon't crash attempting restore of uninstalled live wallpaper
Christopher Tate [Sun, 8 Sep 2013 20:01:28 +0000 (13:01 -0700)]
Don't crash attempting restore of uninstalled live wallpaper

Bug 10658041

Change-Id: I08b38cc81fbb89907a4ffe5b6f94e9a507226011

10 years agoMerge "Work on issue #10130785: Restore silence and vibrate settings..." into klp-dev
Dianne Hackborn [Sun, 8 Sep 2013 19:31:06 +0000 (19:31 +0000)]
Merge "Work on issue #10130785: Restore silence and vibrate settings..." into klp-dev

10 years agoRestore alpha animation to status bar rhs icons.
John Spurlock [Sun, 8 Sep 2013 15:00:06 +0000 (11:00 -0400)]
Restore alpha animation to status bar rhs icons.

Avoid the view group to prevent stomping on an existing animation.

Bug:10653941
Change-Id: I3d2bdd6360699d3d70c158ec1b8f832bd7205147

10 years agoDraw status bar battery icon bolt in code.
John Spurlock [Sat, 7 Sep 2013 16:39:49 +0000 (12:39 -0400)]
Draw status bar battery icon bolt in code.

Use high-res polygon points, punching a hole in the rest of drawing
with PorterDuff.Mode.CLEAR.

Remove the now obsolete lightning.png and associated color filters.

Bug:10640891
Change-Id: I8f2d4dd157f9866f37ed9b3480bb79ee9f109975

10 years agoMerge "Printers for a disappearing print serivce incorrectly removed." into klp-dev
Svetoslav Ganov [Sat, 7 Sep 2013 22:05:14 +0000 (22:05 +0000)]
Merge "Printers for a disappearing print serivce incorrectly removed." into klp-dev

10 years agoMerge "Item layout tweaking, hook up more assets." into klp-dev
Jeff Sharkey [Sat, 7 Sep 2013 19:42:14 +0000 (19:42 +0000)]
Merge "Item layout tweaking, hook up more assets." into klp-dev

10 years agoFor NETWORK_MODE_LTE_CMDA_EVDO_GSM_WCDMA default to PHONE_TYPE_GSM
Wink Saville [Sat, 7 Sep 2013 17:03:02 +0000 (10:03 -0700)]
For NETWORK_MODE_LTE_CMDA_EVDO_GSM_WCDMA default to PHONE_TYPE_GSM

Bug: 9710534
Change-Id: Iba999579d30045f18b5d370359dbce65d9646c69

10 years agoFix docs build.
Ying Wang [Sat, 7 Sep 2013 05:53:16 +0000 (22:53 -0700)]
Fix docs build.

Change-Id: I6fd0d711b2cc7726fdaa9119ee467ed6fab82de1

10 years agoOnly activate FastScroller when it's needed
Alan Viverette [Sat, 7 Sep 2013 02:39:47 +0000 (19:39 -0700)]
Only activate FastScroller when it's needed

Removes code that was incorrectly handling ACTION_DOWN when the
host ListView started intercepting events for its own use. Fixes
handling of short lists and changes resulting from toggling the
FastScroller enabled state.

BUG: 10651874
Change-Id: I7b088b46d00a372a0a55291db892cc059f1aed20

10 years agoMerge "Unhide AudioTimestamp and getTimestamp" into klp-dev
Eric Laurent [Sat, 7 Sep 2013 02:16:31 +0000 (02:16 +0000)]
Merge "Unhide AudioTimestamp and getTimestamp" into klp-dev

10 years agoUnhide AudioTimestamp and getTimestamp
Glenn Kasten [Wed, 4 Sep 2013 20:47:31 +0000 (13:47 -0700)]
Unhide AudioTimestamp and getTimestamp

Change-Id: I56687f42f83c4be7dc3fd1baa81a13e71113f22e

10 years agoMerge "Remove tap to click from touch nav devices" into klp-dev
Michael Wright [Sat, 7 Sep 2013 02:04:46 +0000 (02:04 +0000)]
Merge "Remove tap to click from touch nav devices" into klp-dev

10 years agoMerge "Special case game controller fallback keys for Japan" into klp-dev
Michael Wright [Sat, 7 Sep 2013 02:04:20 +0000 (02:04 +0000)]
Merge "Special case game controller fallback keys for Japan" into klp-dev

10 years agoUpdate doc for BitmapFactory.Options to include BitmapRegionDecoder
Chris Craik [Sat, 7 Sep 2013 01:45:51 +0000 (18:45 -0700)]
Update doc for BitmapFactory.Options to include BitmapRegionDecoder

bug:9987022
Change-Id: I1a4e187e1c35a7758b70f69a0a25914597920e8f

10 years agoMerge "Fix native crash when message queue quits." into klp-dev
Jeff Brown [Sat, 7 Sep 2013 01:34:52 +0000 (01:34 +0000)]
Merge "Fix native crash when message queue quits." into klp-dev

10 years agoMerge "Emit a more meaningful cause for watchdog restarts." into klp-dev
Jeff Brown [Sat, 7 Sep 2013 01:33:00 +0000 (01:33 +0000)]
Merge "Emit a more meaningful cause for watchdog restarts." into klp-dev

10 years agoMove public consts to HotwordRecognitionService
Sandeep Siddhartha [Sat, 7 Sep 2013 00:21:45 +0000 (17:21 -0700)]
Move public consts to HotwordRecognitionService

- The HotwordRecognitionService is the only public component of
  Hotword recognition allowing others to implement hotword recognition
- The client API is not available for use by all, hence the consts need
  to be moved to the service class.
- Ideally we'd have retained the public consts in the client side API
  (HotwordRecognizer)

Change-Id: Ibd0d1c0d0514ec4e8f7c284e22c5fa6b7ef3df26

10 years agoMerge "Fixing build break" into klp-dev
Sandeep Siddhartha [Sat, 7 Sep 2013 01:11:26 +0000 (01:11 +0000)]
Merge "Fixing build break" into klp-dev

10 years agoFix native crash when message queue quits.
Jeff Brown [Fri, 6 Sep 2013 23:24:36 +0000 (16:24 -0700)]
Fix native crash when message queue quits.

Fix a race when quitting the looper's message queue that could
cause the mPtr field to be zeroed out and the native object to
be destroyed while still in use.

This happened due to an optimization that was intended to release
the native looper's file descriptor as soon as the last message
was processed rather than waiting for the finalizer to run.

Bug: 9726217
Change-Id: I695a9a657acfdb3ce65a5737ff20cd11113d15fa

10 years agoAdd WebVTT caption renderer
Alan Viverette [Thu, 5 Sep 2013 23:34:30 +0000 (16:34 -0700)]
Add WebVTT caption renderer

Currently missing support for region anchor points, robust layout
when snapping to lines, and vertical text.

BUG: 10260603
Change-Id: I3463b4aa0039442159144e66922d67f5dfee58ed

10 years agoFixing build break
Sandeep Siddhartha [Sat, 7 Sep 2013 00:42:32 +0000 (17:42 -0700)]
Fixing build break

Change-Id: I89d1416b356423ee795f01b4c3200bcaa3ec8389

10 years agoTextChange transition now uses CharSequence instead of String
Chet Haase [Sat, 7 Sep 2013 00:26:43 +0000 (17:26 -0700)]
TextChange transition now uses CharSequence instead of String

TextChange made a bad assumption that target text views contained
String objects as their text, which is not always the case. For example,
Gmail ActionBar text views may contain SpannableString objects, which
caused a crash due to a bad cast operation.

Fix is to simply use CharSequence instead of String as the value that
is being stored and set on the text view.

Issue #10651858 TextChange transition casts CharSequence to String when not necessarily safe

Change-Id: I3f67f5d5e39201dc0fd2edcd3e4243033cf9ae08