OSDN Git Service

android-x86/frameworks-base.git
11 years agoSupport WiFi only device at runtime.
Wink Saville [Tue, 23 Apr 2013 21:26:51 +0000 (14:26 -0700)]
Support WiFi only device at runtime.

To date WiFi only devices were defined by the list of networkAttributes
in config.xml overriden in on a per-device basis. This change is the
simplest change needed to determine this at runtime and therefore allowing
a single build to support the two different configurations.

Bug: 8562845
Change-Id: I34de5c6accc718b199c13815537de1debfe3dc91

11 years agoMade it easier to disable overlay mechanism of location components.
Zhentao Sun [Thu, 18 Apr 2013 00:47:53 +0000 (17:47 -0700)]
Made it easier to disable overlay mechanism of location components.

Fixed b/8276827

Vendor might want to provide their own implementation of "network
location", "fused location" and "geocoder" service. Location manager now
allows those service to be replaced by packages that have the same
signature as one of the packages in config_locationProviderPackageNames.
Such behavior might not be desirable on some devices. This change
make this behavior configurable by 3 boolean flags.

Details:
- Added three boolean flags in core/res/res/values/config.xml to enable
or disable NLP/FLP/Geocoder overlay
- Added 3 package name for the stock NLP/FLP/Geocoder. They are needed
  only when overlay is disabled because LocationManagerService need to
  know which package is preferred when searching for
  NLP/FLP/Geocoder service.
- Made ServiceWatcher able to handle non-overlayable services.
- Fixed an NPE isue in ServiceWatcher. mPm.queryIntentServicesAsUser
  might return null.
- Fixed an bug: justCheckThisPackage in bindBestPackageLocked is always
  ignored.

Change-Id: Id221961ac7c3aa8ad44b894f9523f04f770ae237

11 years agoMerge "Fix quickReject logic to account for setClipChildren() setting" into jb-mr2-dev
Chet Haase [Sat, 20 Apr 2013 21:02:21 +0000 (21:02 +0000)]
Merge "Fix quickReject logic to account for setClipChildren() setting" into jb-mr2-dev

11 years agoam f4f5757b: am 014513ae: am 00d20bd2: am e0d5add7: am 3fd1a892: am 94ca86e8: Merge...
Dirk Dougherty [Sat, 20 Apr 2013 19:11:49 +0000 (12:11 -0700)]
am f4f5757b: am 014513ae: am 00d20bd2: am e0d5add7: am 3fd1a892: am 94ca86e8: Merge "Doc change: updates for tablet checklist." into jb-mr1-dev

* commit 'f4f5757b68e3b0db10c77ac9fa81d6b4d7dd8435':
  Doc change: updates for tablet checklist.

11 years agoam 014513ae: am 00d20bd2: am e0d5add7: am 3fd1a892: am 94ca86e8: Merge "Doc change...
Dirk Dougherty [Sat, 20 Apr 2013 19:09:42 +0000 (12:09 -0700)]
am 014513ae: am 00d20bd2: am e0d5add7: am 3fd1a892: am 94ca86e8: Merge "Doc change: updates for tablet checklist." into jb-mr1-dev

* commit '014513ae2974edd2e6102f618ca57423c543cb4f':
  Doc change: updates for tablet checklist.

11 years agoam 00d20bd2: am e0d5add7: am 3fd1a892: am 94ca86e8: Merge "Doc change: updates for...
Dirk Dougherty [Sat, 20 Apr 2013 19:08:04 +0000 (12:08 -0700)]
am 00d20bd2: am e0d5add7: am 3fd1a892: am 94ca86e8: Merge "Doc change: updates for tablet checklist." into jb-mr1-dev

* commit '00d20bd293e75beb546ea446901cdead39180116':
  Doc change: updates for tablet checklist.

11 years agoam e0d5add7: am 3fd1a892: am 94ca86e8: Merge "Doc change: updates for tablet checklis...
Dirk Dougherty [Sat, 20 Apr 2013 19:05:45 +0000 (12:05 -0700)]
am e0d5add7: am 3fd1a892: am 94ca86e8: Merge "Doc change: updates for tablet checklist." into jb-mr1-dev

* commit 'e0d5add782405fabe4d04b8eff00b565ea28a35f':
  Doc change: updates for tablet checklist.

11 years agoam 3fd1a892: am 94ca86e8: Merge "Doc change: updates for tablet checklist." into...
Dirk Dougherty [Sat, 20 Apr 2013 19:03:37 +0000 (12:03 -0700)]
am 3fd1a892: am 94ca86e8: Merge "Doc change: updates for tablet checklist." into jb-mr1-dev

* commit '3fd1a8926ebfaaeccbaad86b7584fa534f725996':
  Doc change: updates for tablet checklist.

11 years agoam 94ca86e8: Merge "Doc change: updates for tablet checklist." into jb-mr1-dev
Dirk Dougherty [Sat, 20 Apr 2013 19:01:29 +0000 (12:01 -0700)]
am 94ca86e8: Merge "Doc change: updates for tablet checklist." into jb-mr1-dev

* commit '94ca86e8a019225ff376e5683e87ee3a29713f05':
  Doc change: updates for tablet checklist.

11 years agoMerge "Doc change: updates for tablet checklist." into jb-mr1-dev
Dirk Dougherty [Sat, 20 Apr 2013 18:59:02 +0000 (18:59 +0000)]
Merge "Doc change: updates for tablet checklist." into jb-mr1-dev

11 years agoDoc change: updates for tablet checklist.
Dirk Dougherty [Tue, 16 Apr 2013 18:55:12 +0000 (11:55 -0700)]
Doc change: updates for tablet checklist.

Change-Id: I0339c0d3853467da435654940d0c55a31139b736

11 years agoam 8695b1af: (-s ours) am 5eebdb4a: am a4653727: am 25e150a2: am a6ca0a6b: am 758dfa0...
Selim Gurun [Sat, 20 Apr 2013 07:38:34 +0000 (00:38 -0700)]
am 8695b1af: (-s ours) am 5eebdb4a: am a4653727: am 25e150a2: am a6ca0a6b: am 758dfa0c: am 9d47e7b6: am 7918cf4e: DO NOT MERGE Add a delimiter between scheme and host

* commit '8695b1aff8b4ece642796ba7b2a5faa2b8a87d60':
  DO NOT MERGE Add a delimiter between scheme and host

11 years agoam a6854579: am fa1f7d21: am 07c9c291: am a2b0b35e: am 5fba3404: am 3c4fa654: am...
Selim Gurun [Sat, 20 Apr 2013 07:38:31 +0000 (00:38 -0700)]
am a6854579: am fa1f7d21: am 07c9c291: am a2b0b35e: am 5fba3404: am 3c4fa654: am 679c8f68: am 38915fd4: Revert "Add a delimiter between scheme and host"

* commit 'a68545796da33bd7fde616958e6abc7548d0a975':
  Revert "Add a delimiter between scheme and host"

11 years agoam 5eebdb4a: am a4653727: am 25e150a2: am a6ca0a6b: am 758dfa0c: am 9d47e7b6: am...
Selim Gurun [Sat, 20 Apr 2013 07:35:32 +0000 (00:35 -0700)]
am 5eebdb4a: am a4653727: am 25e150a2: am a6ca0a6b: am 758dfa0c: am 9d47e7b6: am 7918cf4e: DO NOT MERGE Add a delimiter between scheme and host

* commit '5eebdb4aa81f9e00e5f175bbebfec76cbde5b38d':
  DO NOT MERGE Add a delimiter between scheme and host

11 years agoam fa1f7d21: am 07c9c291: am a2b0b35e: am 5fba3404: am 3c4fa654: am 679c8f68: am...
Selim Gurun [Sat, 20 Apr 2013 07:35:29 +0000 (00:35 -0700)]
am fa1f7d21: am 07c9c291: am a2b0b35e: am 5fba3404: am 3c4fa654: am 679c8f68: am 38915fd4: Revert "Add a delimiter between scheme and host"

* commit 'fa1f7d21e97b7225f1e7553abc0eebe06cc79367':
  Revert "Add a delimiter between scheme and host"

11 years agoam a4653727: am 25e150a2: am a6ca0a6b: am 758dfa0c: am 9d47e7b6: am 7918cf4e: DO...
Selim Gurun [Sat, 20 Apr 2013 07:32:27 +0000 (00:32 -0700)]
am a4653727: am 25e150a2: am a6ca0a6b: am 758dfa0c: am 9d47e7b6: am 7918cf4e: DO NOT MERGE Add a delimiter between scheme and host

* commit 'a46537270ea4d519651157ab5503c02d4b43759d':
  DO NOT MERGE Add a delimiter between scheme and host

11 years agoam 07c9c291: am a2b0b35e: am 5fba3404: am 3c4fa654: am 679c8f68: am 38915fd4: Revert...
Selim Gurun [Sat, 20 Apr 2013 07:32:24 +0000 (00:32 -0700)]
am 07c9c291: am a2b0b35e: am 5fba3404: am 3c4fa654: am 679c8f68: am 38915fd4: Revert "Add a delimiter between scheme and host"

* commit '07c9c2912d1c7e19336d575f40f42eb12626b322':
  Revert "Add a delimiter between scheme and host"

11 years agoam 25e150a2: am a6ca0a6b: am 758dfa0c: am 9d47e7b6: am 7918cf4e: DO NOT MERGE Add...
Selim Gurun [Sat, 20 Apr 2013 07:28:40 +0000 (00:28 -0700)]
am 25e150a2: am a6ca0a6b: am 758dfa0c: am 9d47e7b6: am 7918cf4e: DO NOT MERGE Add a delimiter between scheme and host

* commit '25e150a2dd60a624ceecd5a5743a622fed32ef90':
  DO NOT MERGE Add a delimiter between scheme and host

11 years agoam a2b0b35e: am 5fba3404: am 3c4fa654: am 679c8f68: am 38915fd4: Revert "Add a delimi...
Selim Gurun [Sat, 20 Apr 2013 07:28:37 +0000 (00:28 -0700)]
am a2b0b35e: am 5fba3404: am 3c4fa654: am 679c8f68: am 38915fd4: Revert "Add a delimiter between scheme and host"

* commit 'a2b0b35ed8f5c53866058f65ccf8c6e4aabef7af':
  Revert "Add a delimiter between scheme and host"

11 years agoam a6ca0a6b: am 758dfa0c: am 9d47e7b6: am 7918cf4e: DO NOT MERGE Add a delimiter...
Selim Gurun [Sat, 20 Apr 2013 07:25:09 +0000 (00:25 -0700)]
am a6ca0a6b: am 758dfa0c: am 9d47e7b6: am 7918cf4e: DO NOT MERGE Add a delimiter between scheme and host

* commit 'a6ca0a6b2662e06cefcdbb5eb763e79f9b798018':
  DO NOT MERGE Add a delimiter between scheme and host

11 years agoam 5fba3404: am 3c4fa654: am 679c8f68: am 38915fd4: Revert "Add a delimiter between...
Selim Gurun [Sat, 20 Apr 2013 07:25:06 +0000 (00:25 -0700)]
am 5fba3404: am 3c4fa654: am 679c8f68: am 38915fd4: Revert "Add a delimiter between scheme and host"

* commit '5fba3404d3635fdd6bba9ba2fe7605851f07263f':
  Revert "Add a delimiter between scheme and host"

11 years agoam 758dfa0c: am 9d47e7b6: am 7918cf4e: DO NOT MERGE Add a delimiter between scheme...
Selim Gurun [Sat, 20 Apr 2013 07:22:04 +0000 (00:22 -0700)]
am 758dfa0c: am 9d47e7b6: am 7918cf4e: DO NOT MERGE Add a delimiter between scheme and host

* commit '758dfa0c33c022ab3cdeb854ab507ad218d7fa3d':
  DO NOT MERGE Add a delimiter between scheme and host

11 years agoam 3c4fa654: am 679c8f68: am 38915fd4: Revert "Add a delimiter between scheme and...
Selim Gurun [Sat, 20 Apr 2013 07:22:01 +0000 (00:22 -0700)]
am 3c4fa654: am 679c8f68: am 38915fd4: Revert "Add a delimiter between scheme and host"

* commit '3c4fa654801fcf51a92cefd62e28a020d39e08d0':
  Revert "Add a delimiter between scheme and host"

11 years agoam 9d47e7b6: am 7918cf4e: DO NOT MERGE Add a delimiter between scheme and host
Selim Gurun [Sat, 20 Apr 2013 07:19:45 +0000 (00:19 -0700)]
am 9d47e7b6: am 7918cf4e: DO NOT MERGE Add a delimiter between scheme and host

* commit '9d47e7b6d40cc38fb1c638c991312a4217bfa333':
  DO NOT MERGE Add a delimiter between scheme and host

11 years agoam 679c8f68: am 38915fd4: Revert "Add a delimiter between scheme and host"
Selim Gurun [Sat, 20 Apr 2013 07:19:41 +0000 (00:19 -0700)]
am 679c8f68: am 38915fd4: Revert "Add a delimiter between scheme and host"

* commit '679c8f689f6799d143719bb8eb839e2640bf9d07':
  Revert "Add a delimiter between scheme and host"

11 years agoam 464be797: (-s ours) am 30504327: am 62588d79: am 8f87c5d8: am ed1e5a87: am b7787a3...
Geremy Condra [Sat, 20 Apr 2013 06:59:00 +0000 (23:59 -0700)]
am 464be797: (-s ours) am 30504327: am 62588d79: am 8f87c5d8: am ed1e5a87: am b7787a31: DO NOT MERGE Merge commit \'8225df00\' into bp

* commit '464be7975fa8938d7ab427789faa5e222bc6ab2c':
  Add a delimiter between scheme and host

11 years agoam 30504327: am 62588d79: am 8f87c5d8: am ed1e5a87: am b7787a31: DO NOT MERGE Merge...
Geremy Condra [Sat, 20 Apr 2013 06:19:20 +0000 (23:19 -0700)]
am 30504327: am 62588d79: am 8f87c5d8: am ed1e5a87: am b7787a31: DO NOT MERGE Merge commit \'8225df00\' into bp

* commit '30504327364a7ad641c09a227f7930b9fba91614':
  Add a delimiter between scheme and host

11 years agoam 62588d79: am 8f87c5d8: am ed1e5a87: am b7787a31: DO NOT MERGE Merge commit \'8225d...
Geremy Condra [Sat, 20 Apr 2013 06:17:45 +0000 (23:17 -0700)]
am 62588d79: am 8f87c5d8: am ed1e5a87: am b7787a31: DO NOT MERGE Merge commit \'8225df00\' into bp

* commit '62588d794602f6e42e8143169d8ef170589797a1':
  Add a delimiter between scheme and host

11 years agoam 8f87c5d8: am ed1e5a87: am b7787a31: DO NOT MERGE Merge commit \'8225df00\' into bp
Geremy Condra [Sat, 20 Apr 2013 06:14:38 +0000 (23:14 -0700)]
am 8f87c5d8: am ed1e5a87: am b7787a31: DO NOT MERGE Merge commit \'8225df00\' into bp

* commit '8f87c5d8d270bbc23738aea067b1bce2b7d08d02':
  Add a delimiter between scheme and host

11 years agoam ed1e5a87: am b7787a31: DO NOT MERGE Merge commit \'8225df00\' into bp
Geremy Condra [Sat, 20 Apr 2013 06:12:10 +0000 (23:12 -0700)]
am ed1e5a87: am b7787a31: DO NOT MERGE Merge commit \'8225df00\' into bp

* commit 'ed1e5a8702b172298b25937b9feb0da08804d440':
  Add a delimiter between scheme and host

11 years agoMerge "Add new error code for Debug Context work." into jb-mr2-dev
Stephen Hines [Sat, 20 Apr 2013 04:48:18 +0000 (04:48 +0000)]
Merge "Add new error code for Debug Context work." into jb-mr2-dev

11 years agoam b7787a31: DO NOT MERGE Merge commit \'8225df00\' into bp
Geremy Condra [Sat, 20 Apr 2013 04:38:06 +0000 (21:38 -0700)]
am b7787a31: DO NOT MERGE Merge commit \'8225df00\' into bp

* commit 'b7787a317fc8bb163de04641a1423cd08324d4b8':
  Add a delimiter between scheme and host

11 years agoMerge "Revert all recent GLSurfaceView changes." into jb-mr2-dev
Jeff Brown [Sat, 20 Apr 2013 00:55:48 +0000 (00:55 +0000)]
Merge "Revert all recent GLSurfaceView changes." into jb-mr2-dev

11 years agoMerge "Fix bug #8656546 API REVIEW: android.text.bidi / android.text" into jb-mr2-dev
Fabrice Di Meglio [Sat, 20 Apr 2013 00:42:19 +0000 (00:42 +0000)]
Merge "Fix bug #8656546 API REVIEW: android.text.bidi / android.text" into jb-mr2-dev

11 years agoFix bug #8656546 API REVIEW: android.text.bidi / android.text
Fabrice Di Meglio [Fri, 19 Apr 2013 22:08:53 +0000 (15:08 -0700)]
Fix bug #8656546 API REVIEW: android.text.bidi / android.text

- clean BidiFormatter APIs

Change-Id: I8591ce3c3e8f2de4138698aa14ddb38b933de5e1

11 years agoRevert all recent GLSurfaceView changes.
Jeff Brown [Sat, 20 Apr 2013 00:13:33 +0000 (17:13 -0700)]
Revert all recent GLSurfaceView changes.

Several issues have been identified that will need to be
resolved carefully before we attempt to make similar changes.

1. Some applications make assumptions about the fact that all
   Runnables posted with queueEvent() will be executed before
   the next draw.  Because the Choreographer may post messages
   in the past (due at the frame time), these Runnables were
   not always running at the expected time.

2. Some applications apparently hijack the GLThread and try
   to run their own Looper on it.  This obviously won't work
   if we are already running one of our own.

We may need to add new rendering modes or target API checks
to provide an opportunity for applications to opt-in to the
changes in the future.

Bug: 8649804
Change-Id: I6289c3392a98cdbfaf28c7f4f7a8040f2138a3b4

11 years agoChange doc comment to match API change
Kenny Root [Fri, 19 Apr 2013 22:35:54 +0000 (15:35 -0700)]
Change doc comment to match API change

API change in f0d4777473f25847d67fc17fc082fada08cf678d didn't update a
comment to match which caused doc build failures.

Bug: 8603279
Change-Id: I475dc569747ae5d34b4267537370f18446386bb9

11 years agoFix quickReject logic to account for setClipChildren() setting
Chet Haase [Fri, 19 Apr 2013 21:54:34 +0000 (14:54 -0700)]
Fix quickReject logic to account for setClipChildren() setting

The rendering code optimizes by rejecting drawing operations that
lie outside of the bounds of their views. This works in most
situations, but breaks down when containers have called
setClipChildren(false), because we reject drawing that is outside
of that container, but which should be drawn anyway.

Fix is to pass in the value of that flag to the DisplayList drawing
routines which take that flag into account when deciding whether
to quickReject any particular operation.

Issue #8659277 animation clipping

Change-Id: Ief568e4db01b533a97b3c5ea5ad777c03c0eea71

11 years agoMerge "Provide SharedPreferences coherence guarantees for BackupAgent" into jb-mr2-dev
Christopher Tate [Fri, 19 Apr 2013 22:34:01 +0000 (22:34 +0000)]
Merge "Provide SharedPreferences coherence guarantees for BackupAgent" into jb-mr2-dev

11 years agoMerge "do not attempt to parcel unknown ParcelableSpans" into jb-mr2-dev
Victoria Lease [Fri, 19 Apr 2013 22:33:42 +0000 (22:33 +0000)]
Merge "do not attempt to parcel unknown ParcelableSpans" into jb-mr2-dev

11 years agoMerge "Follow up on issue #8159072: Spinner widget should be RTL'ized" into jb-mr2-dev
Dianne Hackborn [Fri, 19 Apr 2013 22:18:12 +0000 (22:18 +0000)]
Merge "Follow up on issue #8159072: Spinner widget should be RTL'ized" into jb-mr2-dev

11 years agoFollow up on issue #8159072: Spinner widget should be RTL'ized
Dianne Hackborn [Fri, 19 Apr 2013 21:09:37 +0000 (14:09 -0700)]
Follow up on issue #8159072: Spinner widget should be RTL'ized

Only allow through changing direction configs for drawables.

Explicitly map layout direction values to an index in the
preload arrays.

Drawables that don't vary by configuration should go in to both
the rtl and ltr preloads.

Change-Id: Ib92dd11738082a795e02d1d4191adb54702d651c

11 years agoMerge "Improve javadoc for rotationAnimation." into jb-mr2-dev
Craig Mautner [Fri, 19 Apr 2013 21:30:20 +0000 (21:30 +0000)]
Merge "Improve javadoc for rotationAnimation." into jb-mr2-dev

11 years agoProvide SharedPreferences coherence guarantees for BackupAgent
Christopher Tate [Thu, 18 Apr 2013 23:57:43 +0000 (16:57 -0700)]
Provide SharedPreferences coherence guarantees for BackupAgent

SharedPreferences uses deferred writes internally, and the public
API doesn't allow apps to explicitly synchronize with this, so the
backup/restore implementation needs to take a little care to make
sure that the app process isn't killed before the deferred writes
land on disk.  This parallels the coherence guarantees around
SharedPreference that the Activity and Service lifecycles provide.

Bug 8659368

Change-Id: I853e54f9fb0d2d260dbe6e40d640959f998092df

11 years agodo not attempt to parcel unknown ParcelableSpans
Victoria Lease [Fri, 19 Apr 2013 20:12:15 +0000 (13:12 -0700)]
do not attempt to parcel unknown ParcelableSpans

Bug: 8639983
Change-Id: I27335f6e9d3a0671ecdd161fdbf765785ef8065d

11 years agoMerge "Correct algorithm property name and clarify javadoc description of device...
Jeff Tinker [Fri, 19 Apr 2013 20:32:35 +0000 (20:32 +0000)]
Merge "Correct algorithm property name and clarify javadoc description of device unique id property." into jb-mr2-dev

11 years agoMerge "Environment should only warn when asked." into jb-mr2-dev
Jeff Sharkey [Fri, 19 Apr 2013 20:32:25 +0000 (20:32 +0000)]
Merge "Environment should only warn when asked." into jb-mr2-dev

11 years agoEnvironment should only warn when asked.
Jeff Sharkey [Fri, 19 Apr 2013 20:25:04 +0000 (13:25 -0700)]
Environment should only warn when asked.

Instead of warning on Process.SYSTEM_UID, which is also used by the
Settings app, change to have the parent process explicitly ask for
warnings.

Bug: 8667286
Change-Id: Ib26676694a4041ff4e6d3ffdcc14055b7eba13c7

11 years agoMerge "Fix system server crash when uninstalling paid LS widget that has been added...
Adam Cohen [Fri, 19 Apr 2013 20:26:02 +0000 (20:26 +0000)]
Merge "Fix system server crash when uninstalling paid LS widget that has been added (issue 8647398)" into jb-mr2-dev

11 years agoMerge "Updating API based on feedback" into jb-mr2-dev
Jason Sams [Fri, 19 Apr 2013 20:09:55 +0000 (20:09 +0000)]
Merge "Updating API based on feedback" into jb-mr2-dev

11 years agoImprove javadoc for rotationAnimation.
Craig Mautner [Fri, 19 Apr 2013 20:06:53 +0000 (13:06 -0700)]
Improve javadoc for rotationAnimation.

Clarified use of rotationAnimation. Did not add a comment
for ROTATION_ANIMATION_CHANGED as that would be inconsistent
with the other twelve <parameter>_CHANGED flags that it
follows in the source code.

Fixes bug 8657715.

Change-Id: I03b5caf3d6a93ca0044f58485c94c7a600e835a8

11 years agoam b20a943a: am 7c0523d0: am 22881a14: am 3ef011d1: am 9ffe5dff: add email links...
Scott Main [Fri, 19 Apr 2013 20:03:12 +0000 (13:03 -0700)]
am b20a943a: am 7c0523d0: am 22881a14: am 3ef011d1: am 9ffe5dff: add email links for android branding bug:8666523

* commit 'b20a943a4e389d8f95e39712ec5acc9c07bcdc47':
  add email links for android branding bug:8666523

11 years agoam e397020d: am 102e9e5a: am 1b95cc41: am 653a00e2: am 6afeb0e5: search suggest tags...
Scott Main [Fri, 19 Apr 2013 20:03:04 +0000 (13:03 -0700)]
am e397020d: am 102e9e5a: am 1b95cc41: am 653a00e2: am 6afeb0e5: search suggest tags for google service docs and exclude a whole bunch from suggestions

* commit 'e397020d4d9144583d4dc05e1ed8ded254b21162':
  search suggest tags for google service docs and exclude a whole bunch from suggestions

11 years agoam 7c0523d0: am 22881a14: am 3ef011d1: am 9ffe5dff: add email links for android brand...
Scott Main [Fri, 19 Apr 2013 19:58:54 +0000 (12:58 -0700)]
am 7c0523d0: am 22881a14: am 3ef011d1: am 9ffe5dff: add email links for android branding bug:8666523

* commit '7c0523d099f9b27c2b1bbdc2ad9a770efd12e629':
  add email links for android branding bug:8666523

11 years agoam 102e9e5a: am 1b95cc41: am 653a00e2: am 6afeb0e5: search suggest tags for google...
Scott Main [Fri, 19 Apr 2013 19:58:51 +0000 (12:58 -0700)]
am 102e9e5a: am 1b95cc41: am 653a00e2: am 6afeb0e5: search suggest tags for google service docs and exclude a whole bunch from suggestions

* commit '102e9e5adf6004dcd503b0ca331c1c2298a4e784':
  search suggest tags for google service docs and exclude a whole bunch from suggestions

11 years agoUpdating API based on feedback
Jason Sams [Fri, 19 Apr 2013 19:56:37 +0000 (12:56 -0700)]
Updating API based on feedback

bug 8656887

This hides the methods used to support Camera
Fixes the oversight in LaunchControl
Documents some missing functions

Change-Id: I5b19b65dd5ddf9917100192c180bb63d89c80679

11 years agoam 22881a14: am 3ef011d1: am 9ffe5dff: add email links for android branding bug:8666523
Scott Main [Fri, 19 Apr 2013 19:55:35 +0000 (12:55 -0700)]
am 22881a14: am 3ef011d1: am 9ffe5dff: add email links for android branding bug:8666523

* commit '22881a1479d172f8896ab1707453c9cc16abd986':
  add email links for android branding bug:8666523

11 years agoam 1b95cc41: am 653a00e2: am 6afeb0e5: search suggest tags for google service docs...
Scott Main [Fri, 19 Apr 2013 19:55:32 +0000 (12:55 -0700)]
am 1b95cc41: am 653a00e2: am 6afeb0e5: search suggest tags for google service docs and exclude a whole bunch from suggestions

* commit '1b95cc41d097d4a1e070b949f46eb13e2fec887a':
  search suggest tags for google service docs and exclude a whole bunch from suggestions

11 years agoam 3ef011d1: am 9ffe5dff: add email links for android branding bug:8666523
Scott Main [Fri, 19 Apr 2013 19:51:18 +0000 (12:51 -0700)]
am 3ef011d1: am 9ffe5dff: add email links for android branding bug:8666523

* commit '3ef011d18557d41964bb47b67d5526fc27d30295':
  add email links for android branding bug:8666523

11 years agoam 653a00e2: am 6afeb0e5: search suggest tags for google service docs and exclude...
Scott Main [Fri, 19 Apr 2013 19:51:15 +0000 (12:51 -0700)]
am 653a00e2: am 6afeb0e5: search suggest tags for google service docs and exclude a whole bunch from suggestions

* commit '653a00e240c618897932c3103dff49c5dbdfb196':
  search suggest tags for google service docs and exclude a whole bunch from suggestions

11 years agoam 9ffe5dff: add email links for android branding bug:8666523
Scott Main [Fri, 19 Apr 2013 19:47:29 +0000 (12:47 -0700)]
am 9ffe5dff: add email links for android branding bug:8666523

* commit '9ffe5dff76704dbd64ee101f12f32d07e69f95f4':
  add email links for android branding bug:8666523

11 years agoam 6afeb0e5: search suggest tags for google service docs and exclude a whole bunch...
Scott Main [Fri, 19 Apr 2013 19:47:26 +0000 (12:47 -0700)]
am 6afeb0e5: search suggest tags for google service docs and exclude a whole bunch from suggestions

* commit '6afeb0e5e7343bcafd9620bfc04c21cad9f08edb':
  search suggest tags for google service docs and exclude a whole bunch from suggestions

11 years agoMerge "Fix NPE issues seen by CTS" into jb-mr2-dev
Irfan Sheriff [Fri, 19 Apr 2013 19:43:46 +0000 (19:43 +0000)]
Merge "Fix NPE issues seen by CTS" into jb-mr2-dev

11 years agoMerge "Improve API and documentation" into jb-mr2-dev
Amith Yamasani [Fri, 19 Apr 2013 19:10:02 +0000 (19:10 +0000)]
Merge "Improve API and documentation" into jb-mr2-dev

11 years agoImprove API and documentation
Amith Yamasani [Fri, 19 Apr 2013 01:40:07 +0000 (18:40 -0700)]
Improve API and documentation

API for querying accounts visible to a specific package.

Improve API and docs for device owner.

Bug: 8657158
Change-Id: I01b8701534f64b383391508a49ae93ed21f22ae0

11 years agoadd email links for android branding
Scott Main [Fri, 19 Apr 2013 18:40:48 +0000 (11:40 -0700)]
add email links for android branding
bug:8666523

Change-Id: Iee2fe78d7b9ab46723cc3407b9a8eede822b359c

11 years agoMerge "Fix NPE when restarting ChooseTypeAndAccountActiivty." into jb-mr2-dev
Carlos Valdivia [Fri, 19 Apr 2013 18:38:33 +0000 (18:38 +0000)]
Merge "Fix NPE when restarting ChooseTypeAndAccountActiivty." into jb-mr2-dev

11 years agoMerge "Deprecate StatFs methods returning small values." into jb-mr2-dev
Jeff Sharkey [Fri, 19 Apr 2013 18:21:08 +0000 (18:21 +0000)]
Merge "Deprecate StatFs methods returning small values." into jb-mr2-dev

11 years agoMerge "Restore dock home support for car docks." into jb-mr2-dev
Daniel Sandler [Fri, 19 Apr 2013 18:00:17 +0000 (18:00 +0000)]
Merge "Restore dock home support for car docks." into jb-mr2-dev

11 years agoMerge "Improve fix for bug #8159072 Spinner widget should be RTL'ized" into jb-mr2-dev
Fabrice Di Meglio [Fri, 19 Apr 2013 17:58:46 +0000 (17:58 +0000)]
Merge "Improve fix for bug #8159072 Spinner widget should be RTL'ized" into jb-mr2-dev

11 years agoMerge "Rename API AndroidKey* -> Key*" into jb-mr2-dev
Kenny Root [Fri, 19 Apr 2013 17:58:00 +0000 (17:58 +0000)]
Merge "Rename API AndroidKey* -> Key*" into jb-mr2-dev

11 years agoMerge "Add getters and private constructor" into jb-mr2-dev
Irfan Sheriff [Fri, 19 Apr 2013 17:56:34 +0000 (17:56 +0000)]
Merge "Add getters and private constructor" into jb-mr2-dev

11 years agoMerge "Fix bug #8654490 android:paddingStart doesn't override android:paddingLeft...
Fabrice Di Meglio [Fri, 19 Apr 2013 17:56:22 +0000 (17:56 +0000)]
Merge "Fix bug #8654490 android:paddingStart doesn't override android:paddingLeft" into jb-mr2-dev

11 years agoFix NPE issues seen by CTS
Irfan Sheriff [Fri, 19 Apr 2013 17:43:40 +0000 (10:43 -0700)]
Fix NPE issues seen by CTS

Bug: 8646305
Change-Id: Ief90c76d63f60aee9a3da080cd43dd9610f3f4fc

11 years agoMerge "Revert "Simple MVC based binding mechanism for android controls."" into jb...
Philip Milne [Fri, 19 Apr 2013 17:53:23 +0000 (17:53 +0000)]
Merge "Revert "Simple MVC based binding mechanism for android controls."" into jb-mr2-dev

11 years agoDeprecate StatFs methods returning small values.
Jeff Sharkey [Thu, 18 Apr 2013 23:00:04 +0000 (16:00 -0700)]
Deprecate StatFs methods returning small values.

Bug: 8656794
Change-Id: Ic904bd1bc016ef48b5a304b7c68250afe23e98bc

11 years agoCorrect algorithm property name and clarify javadoc description of
Jeff Tinker [Fri, 19 Apr 2013 17:04:17 +0000 (10:04 -0700)]
Correct algorithm property name and clarify javadoc description of
device unique id property.

bug: 8603279
Change-Id: If56d568072b3c09e5f63901e285d0eaa3c77ff7a

11 years agoAdd getters and private constructor
Irfan Sheriff [Fri, 19 Apr 2013 16:29:34 +0000 (09:29 -0700)]
Add getters and private constructor

Address API feedback

Bug: 8656930
Change-Id: Idc3dd8d8a7e633449329864e41cab58a6b193b5a

11 years agoRemove STOPSHIP and defer removal.
Robert Greenwalt [Fri, 19 Apr 2013 16:31:24 +0000 (09:31 -0700)]
Remove STOPSHIP and defer removal.

bug:8657300
Change-Id: Ia855fdc0db7a33502838648ee002d4929b224960

11 years agoMerge "Update API" into jb-mr2-dev
Irfan Sheriff [Fri, 19 Apr 2013 16:05:15 +0000 (16:05 +0000)]
Merge "Update API" into jb-mr2-dev

11 years agoUpdate API
Irfan Sheriff [Fri, 19 Apr 2013 16:03:00 +0000 (09:03 -0700)]
Update API

Bug: 8656932
Change-Id: I09a8018f488d4e8ca3eb8c2a798669ebe016dfc8

11 years agoMerge "Fix API name" into jb-mr2-dev
Irfan Sheriff [Fri, 19 Apr 2013 15:56:10 +0000 (15:56 +0000)]
Merge "Fix API name" into jb-mr2-dev

11 years agoMerge "Anti-drift in RCC playback position" into jb-mr2-dev
Jean-Michel Trivi [Fri, 19 Apr 2013 15:55:28 +0000 (15:55 +0000)]
Merge "Anti-drift in RCC playback position" into jb-mr2-dev

11 years agoFix API name
Irfan Sheriff [Fri, 19 Apr 2013 15:39:53 +0000 (08:39 -0700)]
Fix API name

Address council feedback

Bug: 8656932
Change-Id: I92972fc3672afbc38cdeee628c04b639053f7cf3

11 years agoMerge "AudioService: SCO audio backward compatibility" into jb-mr2-dev
Eric Laurent [Fri, 19 Apr 2013 15:39:22 +0000 (15:39 +0000)]
Merge "AudioService: SCO audio backward compatibility" into jb-mr2-dev

11 years agoMerge "Add some documentation to MediaCodecInfo" into jb-mr2-dev
Andreas Huber [Fri, 19 Apr 2013 15:34:15 +0000 (15:34 +0000)]
Merge "Add some documentation to MediaCodecInfo" into jb-mr2-dev

11 years agoFix NPE when restarting ChooseTypeAndAccountActiivty.
Carlos Valdivia [Fri, 19 Apr 2013 08:07:12 +0000 (01:07 -0700)]
Fix NPE when restarting ChooseTypeAndAccountActiivty.

Note that this change still leaves things in an imperfect state. Now instead
of ANR with an NPE it will reshow the Choose account activity and then on the
second back, it will go away. So the user isn't hosed. But it is still a sloppy
experience.  Basically the bug fix reveals another not quite as bad bug
(see https://b/8661942).

Bug: 8151602
Change-Id: I44b188f5940d464c2dd81dd0b6b7cae3c189becd

11 years agoRevert "Simple MVC based binding mechanism for android controls."
Philip Milne [Fri, 19 Apr 2013 03:53:38 +0000 (03:53 +0000)]
Revert "Simple MVC based binding mechanism for android controls."

Fix for bug 8656899 API REVIEW:
android.util.PropertyValueModel/ValueModel,
android.widget.ValueEditor etc

Revert the change that added this API to remove it outright.

This reverts commit 989709a973448980f36dacd587b0a58f89ffa11e

Change-Id: I9018cd8dadb1b1a54ad8749c816bd02bb7e7a38b

11 years agoFix doc build.
Ying Wang [Fri, 19 Apr 2013 03:39:48 +0000 (20:39 -0700)]
Fix doc build.

Change-Id: Ibf0d998721a2851c31529d5b44bf86b1b3df5791

11 years agoImprove fix for bug #8159072 Spinner widget should be RTL'ized
Fabrice Di Meglio [Mon, 15 Apr 2013 21:05:30 +0000 (14:05 -0700)]
Improve fix for bug #8159072 Spinner widget should be RTL'ized

- populate the preloaded drawable cache with only LTR drawables
when the layout direction during preloading is LTR. Populate
the cache with only RTL drawables when the layout direction during
preloading is RTL
- only preload drawables that dont have a dual LTR/RTL version

Change-Id: I7807bdc031b99102609efda75042a9500d96065c

11 years agoMerge "Undeprecate old UsbDeviceConnection methods." into jb-mr2-dev
Jeff Brown [Fri, 19 Apr 2013 02:19:34 +0000 (02:19 +0000)]
Merge "Undeprecate old UsbDeviceConnection methods." into jb-mr2-dev

11 years agoUndeprecate old UsbDeviceConnection methods.
Jeff Brown [Fri, 19 Apr 2013 02:15:17 +0000 (19:15 -0700)]
Undeprecate old UsbDeviceConnection methods.

Per api review, retain the overloads that do not accept a
buffer start offset.

Bug: 8656781
Change-Id: Ie00aca7d3a4708700c5ddf60e3309e609788a67f

11 years agoMerge "Fix restoration of virtual accessibility focus in ListView." into jb-mr2-dev
Svetoslav Ganov [Fri, 19 Apr 2013 02:17:02 +0000 (02:17 +0000)]
Merge "Fix restoration of virtual accessibility focus in ListView." into jb-mr2-dev

11 years agoMerge "Fix change of behavior in Looper.quit()." into jb-mr2-dev
Jeff Brown [Fri, 19 Apr 2013 02:09:19 +0000 (02:09 +0000)]
Merge "Fix change of behavior in Looper.quit()." into jb-mr2-dev

11 years agoFix change of behavior in Looper.quit().
Jeff Brown [Thu, 18 Apr 2013 22:17:48 +0000 (15:17 -0700)]
Fix change of behavior in Looper.quit().

It seems some applications rely on Looper.quit() terminating the
loop immediately without processing all messages.  Rather than
risk breaking them, make the safer behavior optional.

Also take care to properly drain the message queue before quitting
so that all of the Message instances are recycled.  This may
help release storage sooner in case the Looper doesn't get GC'd
promptly and its remaining queue of undelivered messages sticks
around.

Improve docs on runWithScissors.

Bug: 8596303
Change-Id: I8cbeb6f7a5f6b8e618b5109f87a03defc1486b9f

11 years agoUpdate aip/current.txt to fix build.
Ying Wang [Fri, 19 Apr 2013 01:54:57 +0000 (18:54 -0700)]
Update aip/current.txt to fix build.

Change-Id: I3644995bce6102c05b356a709e517c812eca0570

11 years agoRename API AndroidKey* -> Key*
Kenny Root [Fri, 19 Apr 2013 00:57:03 +0000 (17:57 -0700)]
Rename API AndroidKey* -> Key*

Bug: 8657552
Change-Id: Id9102b7c2c2f6d27fba7645f0629750cfe1eb510

11 years agoMerge "Fix issue #8656537: API review: styles, assist" into jb-mr2-dev
Dianne Hackborn [Fri, 19 Apr 2013 01:26:57 +0000 (01:26 +0000)]
Merge "Fix issue #8656537: API review: styles, assist" into jb-mr2-dev

11 years agoFix bug #8654490 android:paddingStart doesn't override android:paddingLeft
Fabrice Di Meglio [Fri, 19 Apr 2013 00:48:37 +0000 (17:48 -0700)]
Fix bug #8654490 android:paddingStart doesn't override android:paddingLeft

- in RTL mode only and if you have left/start or right/end at the same time,
the initial left/right padding (coming from the background drawable or from
some explicit definition) was still used.

- now, override the background left/right initial pading by the left/right one
only and only if there is no start/end padding defined at the same time
(because when start/end are defined, we do not care about left/right padding
except the background ones)

Change-Id: Icc6e69c95ace1307b0c5e9673cbdf3b611b62733

11 years agoAnti-drift in RCC playback position
Jean-Michel Trivi [Tue, 16 Apr 2013 22:28:46 +0000 (15:28 -0700)]
Anti-drift in RCC playback position

Periodically verify that the reported playback position hasn't
 drifted from the estimated playback position.
If a drift is noticed, re-synchronize registered
 IRemoteControlDisplay implementations.

bug 8120740

Note that this implementation updates the playback position
 of  all IRemoteControlDisplay implementations,
 and always causes the OnGetPlaybackPositionListener to be
 called. This might be undesirable in some circumstances
 and will be addressed in a subsequent CL.

Change-Id: Ib9f40e1b000e912f6c35fa03e41adf81efadc894