OSDN Git Service

android-x86/frameworks-base.git
10 years agoam 834ba474: am 4c6cde54: am 89579294: Merge "Pass whitelist of sample groups to...
Dirk Dougherty [Thu, 12 Sep 2013 16:28:18 +0000 (09:28 -0700)]
am 834ba474: am 4c6cde54: am 89579294: Merge "Pass whitelist of sample groups to doclava." into jb-mr2-docs

* commit '834ba47485a5fb55c89d8f22b826bdb26049f6d6':
  Pass whitelist of sample groups to doclava.

10 years agoam 4c6cde54: am 89579294: Merge "Pass whitelist of sample groups to doclava." into...
Dirk Dougherty [Thu, 12 Sep 2013 16:22:20 +0000 (09:22 -0700)]
am 4c6cde54: am 89579294: Merge "Pass whitelist of sample groups to doclava." into jb-mr2-docs

* commit '4c6cde545c5d2e76d9ba8ef926399463369da7e7':
  Pass whitelist of sample groups to doclava.

10 years agoam 89579294: Merge "Pass whitelist of sample groups to doclava." into jb-mr2-docs
Dirk Dougherty [Thu, 12 Sep 2013 16:15:25 +0000 (09:15 -0700)]
am 89579294: Merge "Pass whitelist of sample groups to doclava." into jb-mr2-docs

* commit '89579294ce0fbe728738fa09fb45cc53fd79bfb5':
  Pass whitelist of sample groups to doclava.

10 years agoMerge "Status bar interaction veto revoked on ups/cancels." into klp-dev
John Spurlock [Thu, 12 Sep 2013 16:05:56 +0000 (16:05 +0000)]
Merge "Status bar interaction veto revoked on ups/cancels." into klp-dev

10 years agoMerge "Pass whitelist of sample groups to doclava." into jb-mr2-docs
Dirk Dougherty [Thu, 12 Sep 2013 16:01:52 +0000 (16:01 +0000)]
Merge "Pass whitelist of sample groups to doclava." into jb-mr2-docs

10 years agoMerge "Handle pipe thumbnails, acquire unstable refs." into klp-dev
Jeff Sharkey [Thu, 12 Sep 2013 16:00:40 +0000 (16:00 +0000)]
Merge "Handle pipe thumbnails, acquire unstable refs." into klp-dev

10 years agoStatus bar interaction veto revoked on ups/cancels.
John Spurlock [Thu, 12 Sep 2013 14:34:33 +0000 (10:34 -0400)]
Status bar interaction veto revoked on ups/cancels.

If we get an ACTION_UP or ACTION_CANCEL and the shade is not
expanded, treat this as a signal of !interacting, revoking
the interaction veto.

Bug:10711758
Change-Id: Ia69ff24880193fa8d99ece79053eeb95dfa9ba71

10 years agoMerge "Document the order of values returned by keyAt()." into klp-dev
Flavio Lerda [Thu, 12 Sep 2013 11:49:29 +0000 (11:49 +0000)]
Merge "Document the order of values returned by keyAt()." into klp-dev

10 years agoPass whitelist of sample groups to doclava.
Dirk Dougherty [Wed, 11 Sep 2013 18:53:35 +0000 (11:53 -0700)]
Pass whitelist of sample groups to doclava.

Change-Id: I36f3e3426115cc296531cf41d20ab07a4d429b19

10 years agoMerge "Ignore ON_AFTER_RELEASE for partial wake locks." into klp-dev
Jeff Brown [Thu, 12 Sep 2013 04:03:30 +0000 (04:03 +0000)]
Merge "Ignore ON_AFTER_RELEASE for partial wake locks." into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Thu, 12 Sep 2013 02:46:12 +0000 (02:46 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Thu, 12 Sep 2013 02:45:52 +0000 (02:45 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "Import translations. DO NOT MERGE" into klp-dev
Baligh Uddin [Thu, 12 Sep 2013 02:45:12 +0000 (02:45 +0000)]
Merge "Import translations. DO NOT MERGE" into klp-dev

10 years agoMerge "consumer_ir: add length to get carrier freqs" into klp-dev
Alex Ray [Thu, 12 Sep 2013 01:55:26 +0000 (01:55 +0000)]
Merge "consumer_ir: add length to get carrier freqs" into klp-dev

10 years agoMerge "Revert "Add permissions for the InCallUI Split."" into klp-dev
Selim Gurun [Thu, 12 Sep 2013 01:02:45 +0000 (01:02 +0000)]
Merge "Revert "Add permissions for the InCallUI Split."" into klp-dev

10 years agoRevert "Add permissions for the InCallUI Split."
Selim Gurun [Thu, 12 Sep 2013 00:57:34 +0000 (00:57 +0000)]
Revert "Add permissions for the InCallUI Split."

This reverts commit 4f7ffa90d117e499786c77bccefdef88c1714668.

Change-Id: If07f7dd0b416c070398593e2d5a15b3557c1f323

10 years agoMerge "consumer ir: clarify @link in documentation" into klp-dev
Alex Ray [Thu, 12 Sep 2013 00:40:50 +0000 (00:40 +0000)]
Merge "consumer ir: clarify @link in documentation" into klp-dev

10 years agoHandle pipe thumbnails, acquire unstable refs.
Jeff Sharkey [Thu, 12 Sep 2013 00:33:06 +0000 (17:33 -0700)]
Handle pipe thumbnails, acquire unstable refs.

Support decoding thumbnails delivered over pipes by wrapping in a
buffered stream.  Also switch to using unstable provider references
to avoid crashing DocumentsUI.

Bug: 1051614810510851
Change-Id: I85f6eeaca70c97742bf79656d1d0c6da381fdd47

10 years agoMerge "Use setAirplaneMode() API for Connectivity Manager tests" into klp-dev
Xia Wang [Thu, 12 Sep 2013 00:24:31 +0000 (00:24 +0000)]
Merge "Use setAirplaneMode() API for Connectivity Manager tests" into klp-dev

10 years agoMerge "MediaFormat.java: Add KEY_MAX_WIDTH and KEY_MAX_HEIGHT" into klp-dev
Lajos Molnar [Thu, 12 Sep 2013 00:19:17 +0000 (00:19 +0000)]
Merge "MediaFormat.java: Add KEY_MAX_WIDTH and KEY_MAX_HEIGHT" into klp-dev

10 years agoMerge "Add HOTWORD as an AudioSource" into klp-dev
Eric Laurent [Thu, 12 Sep 2013 00:15:30 +0000 (00:15 +0000)]
Merge "Add HOTWORD as an AudioSource" into klp-dev

10 years agoMerge changes Ia6300c23,Idd2ae8ad into klp-dev
Eino-Ville Talvala [Thu, 12 Sep 2013 00:08:04 +0000 (00:08 +0000)]
Merge changes Ia6300c23,Idd2ae8ad into klp-dev

* changes:
  Camera2: Immutable metadata
  Camera2: Listener rework and other API updates

10 years agoMerge "Remove dependency on JNIHelp header side effects." into klp-dev
Ruben Brunk [Thu, 12 Sep 2013 00:01:28 +0000 (00:01 +0000)]
Merge "Remove dependency on JNIHelp header side effects." into klp-dev

10 years agoMerge "Change selection highlight for intent disambig dialog" into klp-dev
Amith Yamasani [Wed, 11 Sep 2013 23:56:43 +0000 (23:56 +0000)]
Merge "Change selection highlight for intent disambig dialog" into klp-dev

10 years agoMerge "Pass subtitle track properties to SubtitleController" into klp-dev
Chong Zhang [Wed, 11 Sep 2013 23:51:44 +0000 (23:51 +0000)]
Merge "Pass subtitle track properties to SubtitleController" into klp-dev

10 years agoMerge "Scale feels too quick in relation to movement" into klp-dev
Mindy Pereira [Wed, 11 Sep 2013 23:33:02 +0000 (23:33 +0000)]
Merge "Scale feels too quick in relation to movement" into klp-dev

10 years agoconsumer_ir: add length to get carrier freqs
Alex Ray [Wed, 11 Sep 2013 23:21:25 +0000 (16:21 -0700)]
consumer_ir: add length to get carrier freqs

Change-Id: I2c1ac27e46c0bcfdfadef227a2fa79bdcf7085d4

10 years agoconsumer ir: clarify @link in documentation
Alex Ray [Wed, 11 Sep 2013 21:34:25 +0000 (14:34 -0700)]
consumer ir: clarify @link in documentation

Change-Id: Ifebd0b550f5d9860697539646596a0b1cc782949

10 years agoMerge "Fix another off-by-one error in ZipFileRO" into klp-dev
Kenny Root [Wed, 11 Sep 2013 22:37:02 +0000 (22:37 +0000)]
Merge "Fix another off-by-one error in ZipFileRO" into klp-dev

10 years agoFix another off-by-one error in ZipFileRO
Kenny Root [Wed, 11 Sep 2013 22:28:39 +0000 (15:28 -0700)]
Fix another off-by-one error in ZipFileRO

Bug: 10424836
Change-Id: I491458bd31ef39e87127d061427b32a3d59ac807

10 years agoPass subtitle track properties to SubtitleController
Chong Zhang [Wed, 11 Sep 2013 20:41:00 +0000 (13:41 -0700)]
Pass subtitle track properties to SubtitleController

Bug: 10326117
Change-Id: I387406adf3e1bd835b031dd5fbd2e1cdeaf2fe87

10 years agoUse setAirplaneMode() API for Connectivity Manager tests
Xia Wang [Wed, 11 Sep 2013 01:28:16 +0000 (18:28 -0700)]
Use setAirplaneMode() API for Connectivity Manager tests

Change-Id: I2e35c58e4101b6b5fe9efdb5adad922402d38b6f

10 years agoMerge "ImageReader: Skip size check for BLOB format" into klp-dev
Zhijun He [Wed, 11 Sep 2013 21:31:54 +0000 (21:31 +0000)]
Merge "ImageReader: Skip size check for BLOB format" into klp-dev

10 years agoMerge "Fix exceptions in the Flp Hal layer: - JNI exception accessing a geofence...
destradaa [Wed, 11 Sep 2013 21:15:34 +0000 (21:15 +0000)]
Merge "Fix exceptions in the Flp Hal layer: - JNI exception accessing a geofence method with wrong signature - FlpHardwareProvider exception when the monitoring status contains no location information" into klp-dev

10 years agoMerge "Action bar refactoring and transitions" into klp-dev
Adam Powell [Wed, 11 Sep 2013 20:38:40 +0000 (20:38 +0000)]
Merge "Action bar refactoring and transitions" into klp-dev

10 years agoCamera2: Immutable metadata
Eino-Ville Talvala [Tue, 27 Aug 2013 19:09:04 +0000 (12:09 -0700)]
Camera2: Immutable metadata

Make all camera metadata immutable once created; requests are
created using CameraRequest.Builder.

- Separate CameraMetadata implementation from interface
- Implement deep copying of metadata
- Requests/results/properties have-a native implementation

Bug: 10360518
Change-Id: Ia6300c237219d39f70c63156fa9ca666d951a36e

10 years agoImageReader: Skip size check for BLOB format
Zhijun He [Wed, 11 Sep 2013 00:50:34 +0000 (17:50 -0700)]
ImageReader: Skip size check for BLOB format

HAL_PIXEL_FORMAT_BLOB is for JPEG capture, the buffer width/height by definition
shouldn't be the same as the image width/height.

Bug: 10360518
Change-Id: I32146a0e8e15439bb8fe199403db4ff37d1ab1af

10 years agoMerge changes Ib1274847,I2eb2a1bf into klp-dev
Jeff Sharkey [Wed, 11 Sep 2013 20:16:59 +0000 (20:16 +0000)]
Merge changes Ib1274847,I2eb2a1bf into klp-dev

* changes:
  Fix SDK build.
  Request all tethering interfaces, fix corruption.

10 years agoChange selection highlight for intent disambig dialog
Amith Yamasani [Wed, 11 Sep 2013 20:06:23 +0000 (13:06 -0700)]
Change selection highlight for intent disambig dialog

Use standard selection/activation highlights

Bug: 10529505
Change-Id: I81bc0a1a799f93dd6595d38c1a42d6d316e0d61a

10 years agoMerge "Reconcile differences between zip implementations" into klp-dev
Kenny Root [Wed, 11 Sep 2013 19:47:12 +0000 (19:47 +0000)]
Merge "Reconcile differences between zip implementations" into klp-dev

10 years agoFix exceptions in the Flp Hal layer:
destradaa [Wed, 11 Sep 2013 19:42:51 +0000 (12:42 -0700)]
Fix exceptions in the Flp Hal layer:
- JNI exception accessing a geofence method with wrong signature
- FlpHardwareProvider exception when the monitoring status contains no location information

Bug: 10691492
Change-Id: I1959712912af712dc9dc344f20afd1112da46efc

10 years agoCamera2: Listener rework and other API updates
Eino-Ville Talvala [Wed, 14 Aug 2013 17:35:46 +0000 (10:35 -0700)]
Camera2: Listener rework and other API updates

 - Add Handlers to each callback-accepting function
 - Expand CameraDevice ErrorListener to CameraDeviceListener
   - Add idle callback
   - Split out disconnect error to its own callback
 - Add CameraDevice#getId
 - Rename CameraManager's listener to AvailabilityListener
 - Rename CameraManager register/unregister*Listener to
   add/remove*Listener
 - Rename getDeviceIdList to getCameraIdList

Bug: 10549567
Bug: 10549462
Change-Id: Idd2ae8ad8eb126f35a15d765306ada7c1cf74eea

10 years agoMerge "Improve some javadoc related to isProviderEnabled() apis" into klp-dev
Tom O'Neill [Wed, 11 Sep 2013 19:20:15 +0000 (19:20 +0000)]
Merge "Improve some javadoc related to isProviderEnabled() apis" into klp-dev

10 years agoMerge "Add permissions for the InCallUI Split." into klp-dev
Santos Cordon [Wed, 11 Sep 2013 19:08:33 +0000 (19:08 +0000)]
Merge "Add permissions for the InCallUI Split." into klp-dev

10 years agoMerge "Add consumer IR framework" into klp-dev
Alexander Ray [Wed, 11 Sep 2013 19:05:37 +0000 (19:05 +0000)]
Merge "Add consumer IR framework" into klp-dev

10 years agoMerge "Remove HotwordRecognition APIs" into klp-dev
Sandeep Siddhartha [Wed, 11 Sep 2013 19:01:51 +0000 (19:01 +0000)]
Merge "Remove HotwordRecognition APIs" into klp-dev

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 11 Sep 2013 18:46:30 +0000 (11:46 -0700)]
Import translations. DO NOT MERGE

Change-Id: I92fdf6e34e65d70e813b5f3f5139659fb0eab2ce
Auto-generated-cl: translation import

10 years agoReconcile differences between zip implementations
Kenny Root [Wed, 21 Aug 2013 17:40:16 +0000 (10:40 -0700)]
Reconcile differences between zip implementations

Reconcile the difference between ZipFileRO and java.util.ZipFile to have
the same behavior.

Bug: 10424836
Change-Id: I6bde1bad7e20065ee650945fd43a913c05ce5ac7

10 years agoMerge "Surface: Change OutOfResourcesException to be a runtime exception" into klp-dev
Igor Murashkin [Wed, 11 Sep 2013 18:27:59 +0000 (18:27 +0000)]
Merge "Surface: Change OutOfResourcesException to be a runtime exception" into klp-dev

10 years agoMerge "include Padauk in fallback chain" into klp-dev
Victoria Lease [Wed, 11 Sep 2013 18:28:00 +0000 (18:28 +0000)]
Merge "include Padauk in fallback chain" into klp-dev

10 years agoMerge "Handle the case where the restore environment doesn't have the ringtone" into...
Amith Yamasani [Wed, 11 Sep 2013 18:27:53 +0000 (18:27 +0000)]
Merge "Handle the case where the restore environment doesn't have the ringtone" into klp-dev

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 11 Sep 2013 18:15:47 +0000 (11:15 -0700)]
Import translations. DO NOT MERGE

Change-Id: I00a9521d0ac1e2463268295d1ea09f2894b1618c
Auto-generated-cl: translation import

10 years agoMerge "More on issue #10130785: Restore silence and vibrate settings..." into klp-dev
Dianne Hackborn [Wed, 11 Sep 2013 18:13:17 +0000 (18:13 +0000)]
Merge "More on issue #10130785: Restore silence and vibrate settings..." into klp-dev

10 years agoMerge "Revert "Reconcile differences between zip implementations"" into klp-dev
Kenny Root [Wed, 11 Sep 2013 18:11:34 +0000 (18:11 +0000)]
Merge "Revert "Reconcile differences between zip implementations"" into klp-dev

10 years agoHandle the case where the restore environment doesn't have the ringtone
Amith Yamasani [Wed, 11 Sep 2013 18:11:19 +0000 (11:11 -0700)]
Handle the case where the restore environment doesn't have the ringtone

Bug: 10130785

uncanonicalize() can return a null now, so abort restoring the ringtone
in that case.

Change-Id: I28765818c8d3e1fb3f271afdfe66ebc955cfcefe

10 years agoRevert "Reconcile differences between zip implementations"
Kenny Root [Wed, 11 Sep 2013 18:10:09 +0000 (18:10 +0000)]
Revert "Reconcile differences between zip implementations"

This reverts commit 9ffddc7eb50653cf60ce6b27a0e1945eed5b5ce1.

Change-Id: Ifeba63511211bfc2b375f2205e319e91403b7d06

10 years agoMore on issue #10130785: Restore silence and vibrate settings...
Dianne Hackborn [Wed, 11 Sep 2013 18:02:24 +0000 (11:02 -0700)]
More on issue #10130785: Restore silence and vibrate settings...

...in settings > sound

ContentResolver.uncanonicalize needs to be able to fail.

Change-Id: I347ef60fc3619aae203b87079579597c60be8b90

10 years agoImprove some javadoc related to isProviderEnabled() apis
Tom O'Neill [Wed, 11 Sep 2013 18:03:03 +0000 (11:03 -0700)]
Improve some javadoc related to isProviderEnabled() apis

- LocationManager.isProviderEnabled() no longer throws SecurityException:
the caller could already circumvent the permission check by calling
Secure.isLocationProviderEnabled()

Change-Id: I5abd04264299671ed35ce4594b5be46d86378767

10 years agoRemove HotwordRecognition APIs
Sandeep Siddhartha [Wed, 11 Sep 2013 16:48:00 +0000 (09:48 -0700)]
Remove HotwordRecognition APIs

- and its usage from Keyguard

Bug: 10708010
Change-Id: Ic4a695a1d0e9312706a3b4ff01e59e2567b6ad9c

10 years agoMerge "Preparation for deleting WebViewClassic" into klp-dev
Jonathan Dixon [Wed, 11 Sep 2013 17:59:42 +0000 (17:59 +0000)]
Merge "Preparation for deleting WebViewClassic" into klp-dev

10 years agoMerge "Add support for loading banners from HCE services." into klp-dev
Martijn Coenen [Wed, 11 Sep 2013 17:52:18 +0000 (17:52 +0000)]
Merge "Add support for loading banners from HCE services." into klp-dev

10 years agoMerge "Fix issue #10688644: Java crash in com.android.phone:" into klp-dev
Dianne Hackborn [Wed, 11 Sep 2013 17:46:13 +0000 (17:46 +0000)]
Merge "Fix issue #10688644: Java crash in com.android.phone:" into klp-dev

10 years agoMerge "Fix bad references in preloaded-classes" into klp-dev
Adam Skory [Wed, 11 Sep 2013 17:44:14 +0000 (17:44 +0000)]
Merge "Fix bad references in preloaded-classes" into klp-dev

10 years agoMerge "Avoid ref-ing AndroidPixelRefs that wrap others in globalRef/Unref" into klp-dev
Chris Craik [Wed, 11 Sep 2013 17:40:39 +0000 (17:40 +0000)]
Merge "Avoid ref-ing AndroidPixelRefs that wrap others in globalRef/Unref" into klp-dev

10 years agoMerge "Reconcile differences between zip implementations" into klp-dev
Kenny Root [Wed, 11 Sep 2013 17:38:26 +0000 (17:38 +0000)]
Merge "Reconcile differences between zip implementations" into klp-dev

10 years agoFix bad references in preloaded-classes
Adam Skory [Wed, 11 Sep 2013 17:06:25 +0000 (18:06 +0100)]
Fix bad references in preloaded-classes

http://ag/352924 renamed INdefPushCallback
to IAppCallback. Update preloaded-classes
to reflect this.

This is a cherry-pick of Id552e94e3a01cdd61593480f3c0aedb32d185f80

Change-Id: I0901f14fb41f94e3c7572c09e090ec5903a878d1

10 years agoMerge "Fix for the toggle airplane mode hidden API" into klp-dev
Yuhao Zheng [Wed, 11 Sep 2013 17:35:09 +0000 (17:35 +0000)]
Merge "Fix for the toggle airplane mode hidden API" into klp-dev

10 years agoImport translations. DO NOT MERGE
Baligh Uddin [Wed, 11 Sep 2013 17:28:35 +0000 (10:28 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ib84e443010cb0673afbce92137370d11b393c17c
Auto-generated-cl: translation import

10 years agoam eacfc308: am a0b259a9: am 161e423e: Merge "docs: Fixed deprecated value. Bug:...
quddusc [Wed, 11 Sep 2013 17:17:41 +0000 (10:17 -0700)]
am eacfc308: am a0b259a9: am 161e423e: Merge "docs: Fixed deprecated value. Bug: 10641906" into jb-mr2-docs

* commit 'eacfc308344b34d27b7cd2ab8cc0fbdefbcc8167':
  docs: Fixed deprecated value. Bug: 10641906

10 years agoam a0b259a9: am 161e423e: Merge "docs: Fixed deprecated value. Bug: 10641906" into...
quddusc [Wed, 11 Sep 2013 17:15:12 +0000 (10:15 -0700)]
am a0b259a9: am 161e423e: Merge "docs: Fixed deprecated value. Bug: 10641906" into jb-mr2-docs

* commit 'a0b259a917f9c7cf73b4e8ceab104cdab4383c24':
  docs: Fixed deprecated value. Bug: 10641906

10 years agoam 161e423e: Merge "docs: Fixed deprecated value. Bug: 10641906" into jb-mr2-docs
quddusc [Wed, 11 Sep 2013 17:09:45 +0000 (10:09 -0700)]
am 161e423e: Merge "docs: Fixed deprecated value. Bug: 10641906" into jb-mr2-docs

* commit '161e423ead0e2272ebb0b73957abf0c916ad57ff':
  docs: Fixed deprecated value. Bug: 10641906

10 years agoFix issue #10688644: Java crash in com.android.phone:
Dianne Hackborn [Wed, 11 Sep 2013 16:51:14 +0000 (09:51 -0700)]
Fix issue #10688644: Java crash in com.android.phone:

java.lang.SecurityException: Operation not allowed

There was a situation I wasn't taking into account -- components
declared by the system has a special ability to run in the processes
of other uids.  This means that if that code loaded into another
process tries to do anything needing an app op verification, it will
fail, because it will say it is calling as the system package name but
it is not actually coming from the system uid.

To fix this, we add a new Context.getOpPackageName() to go along-side
getBasePackageName().  This is a special call for use by all app ops
verification, which will be initialized with either the base package
name, the actual package name, or now the default package name of the
process if we are creating a context for system code being loaded into
a non-system process.

I had to update all of the code doing app ops checks to switch to this
method to get the calling package name.

Also improve the security exception throw to have a more descriptive
error message.

Change-Id: Ic04f77b3938585b02fccabbc12d2f0dc62b9ef25

10 years agoAdd consumer IR framework
Erik Gilling [Wed, 26 Jun 2013 18:06:51 +0000 (11:06 -0700)]
Add consumer IR framework

Change-Id: I786c00db0cce61ef75e4edc24e90f2cdcba6dbfb

10 years agoinclude Padauk in fallback chain
Victoria Lease [Fri, 6 Sep 2013 21:04:18 +0000 (14:04 -0700)]
include Padauk in fallback chain

Bug: 10625246
Change-Id: I32530a992beeafe2ee16da36f0dc0a752c647cc6
(cherry picked from commit 5d34e4d679e6237b0d075177d1e365161c684445)

Conflicts:
data/fonts/fallback_fonts.xml

10 years agoFix for the toggle airplane mode hidden API
Yuhao Zheng [Wed, 11 Sep 2013 16:36:41 +0000 (09:36 -0700)]
Fix for the toggle airplane mode hidden API

Fix to https://googleplex-android-review.git.corp.google.com/#/c/356900/
Previous implementation throws SecurityException when the API is called from apps.
bug:10653570

Change-Id: I95ae6f07db74d881f1a8d3d40a6486105a068e90

10 years agoFix SDK build.
Jeff Sharkey [Wed, 11 Sep 2013 16:14:16 +0000 (09:14 -0700)]
Fix SDK build.

Change-Id: Ib12748478cb1b42621454ab2035fb8f3163b6ac8

10 years agoMerge "Add activity indicator icons to quick settings tiles." into klp-dev
John Spurlock [Wed, 11 Sep 2013 14:50:08 +0000 (14:50 +0000)]
Merge "Add activity indicator icons to quick settings tiles." into klp-dev

10 years agoMerge "Build layer immediately when setting it in ViewPropertyAnimator" into klp-dev
Chet Haase [Wed, 11 Sep 2013 14:14:06 +0000 (14:14 +0000)]
Merge "Build layer immediately when setting it in ViewPropertyAnimator" into klp-dev

10 years agoMerge "Reversing immediately after starting animator ends it" into klp-dev
Chet Haase [Wed, 11 Sep 2013 14:13:48 +0000 (14:13 +0000)]
Merge "Reversing immediately after starting animator ends it" into klp-dev

10 years agoAdd activity indicator icons to quick settings tiles.
John Spurlock [Thu, 5 Sep 2013 20:50:21 +0000 (16:50 -0400)]
Add activity indicator icons to quick settings tiles.

Wifi + RSSI now have activity in / activity out indicators
wired up to information coming from NetworkController.

Bug: 10634208
Change-Id: I3cf29dc905eeaeb4aea8e7df4fe46e70645e0013

10 years agoMerge "New orange color for status bar + qs assets." into klp-dev
Daniel Sandler [Wed, 11 Sep 2013 13:51:19 +0000 (13:51 +0000)]
Merge "New orange color for status bar + qs assets." into klp-dev

10 years agoDon't rely on window state when disabling the panel.
John Spurlock [Wed, 11 Sep 2013 13:28:49 +0000 (09:28 -0400)]
Don't rely on window state when disabling the panel.

Bug:10488453
Change-Id: I09ffbf166dd34489064cf0d73fe7ae4dd356c6c9

10 years agoNew orange color for status bar + qs assets.
John Spurlock [Wed, 11 Sep 2013 12:27:18 +0000 (08:27 -0400)]
New orange color for status bar + qs assets.

Bug:10502089
Change-Id: I7b43fe260ceccba29f896009ce467fe29ec67f64

10 years agoMerge "Revert services assist context in KitKat" into klp-dev
Adam Skory [Wed, 11 Sep 2013 11:27:50 +0000 (11:27 +0000)]
Merge "Revert services assist context in KitKat" into klp-dev

10 years agoRevert services assist context in KitKat
Adam Skory [Wed, 11 Sep 2013 11:04:58 +0000 (12:04 +0100)]
Revert services assist context in KitKat

Reverts extension to assist context API to query
foreground services for assist context data.

Also hides Intent.ACTION_VOICE_ASSIST because
nobody's actually using it yet.

Bug: 10461702
Change-Id: Idf6836adc659b434e11ebb2b98e8b814c94a7227

10 years agoMerge "Update documentation for speech APIs." into klp-dev
Marc Wilson [Wed, 11 Sep 2013 10:50:34 +0000 (10:50 +0000)]
Merge "Update documentation for speech APIs." into klp-dev

10 years agoAdd support for loading banners from HCE services.
Martijn Coenen [Fri, 6 Sep 2013 04:05:53 +0000 (21:05 -0700)]
Add support for loading banners from HCE services.

Bug: 10262585
Change-Id: I08f06ce92dd9071dc8ad1390ce9a4b877b05827d

10 years agoMerge "More tweaks to match UX spec." into klp-dev
Jeff Sharkey [Wed, 11 Sep 2013 04:18:13 +0000 (04:18 +0000)]
Merge "More tweaks to match UX spec." into klp-dev

10 years agoRequest all tethering interfaces, fix corruption.
Jeff Sharkey [Wed, 11 Sep 2013 04:03:27 +0000 (21:03 -0700)]
Request all tethering interfaces, fix corruption.

netd now tracks statistics for tethered interfaces across tethering
sessions, so switch to asking for all tethering stats.  (Currently
we're double-counting all tethering data, ever since it started
tracking across sessions.)

Also catch OOME to handle corrupt stats files, which we then dump to
DropBox and then start over.

Bug: 58688329796109
Change-Id: I2eb2a1bf01b993dd198597d770fe0e022466c6b9

10 years agoRemove dependency on JNIHelp header side effects.
Ruben Brunk [Tue, 10 Sep 2013 00:44:59 +0000 (17:44 -0700)]
Remove dependency on JNIHelp header side effects.

Bug: 10680559
Change-Id: I47870d6c48906e0a420c52b7bc5945ffe29c68a2

10 years agoMore tweaks to match UX spec.
Jeff Sharkey [Wed, 11 Sep 2013 00:56:39 +0000 (17:56 -0700)]
More tweaks to match UX spec.

Fixed text colors to match spec.  Behold The Greyening!  Centered
loader spinner in grid mode.  Show multiple lines in status messages.

Add string descriptions.  Fix bug where toggling size setting didn't
kick a UI rebind.

Bug: 10510022
Change-Id: Icb41ebeb4de0fed8c04fc6cf5213af1587b72641

10 years agoIgnore ON_AFTER_RELEASE for partial wake locks.
Jeff Brown [Wed, 11 Sep 2013 01:45:25 +0000 (18:45 -0700)]
Ignore ON_AFTER_RELEASE for partial wake locks.

This is a regression in the new power manager.  Apparently
some apps try to use ON_AFTER_RELEASE with partial wake locks
which doesn't make sense.  Ignore the flag just like we used to
prior to JB MR1.

Bug: 10336375
Change-Id: Ib307eb60201612ba9bb03dc4da3365aba0b4848d

10 years agoAvoid ref-ing AndroidPixelRefs that wrap others in globalRef/Unref
Chris Craik [Wed, 11 Sep 2013 00:18:04 +0000 (17:18 -0700)]
Avoid ref-ing AndroidPixelRefs that wrap others in globalRef/Unref

bug:10691404

Only ref the wrapped pixel refs, so that they are the single source of
correct refcount, since the wrapping pixel ref can change out from
underneath an SkBitmap.

Change-Id: I253b8737d2afdcc567a26725fa40b1d9ef0e6a92

10 years agoAction bar refactoring and transitions
Adam Powell [Wed, 19 Jun 2013 18:33:28 +0000 (11:33 -0700)]
Action bar refactoring and transitions

* Remove the extra occurrence of the Up caret view and reuse the
  standard home view.

* Use new transition APIs to animate changes in action bar content.

Change-Id: I7af3bb580ef4bff7d8dec9e21649b856fe73c77b

10 years agoAdd HOTWORD as an AudioSource
Eric Laurent [Mon, 9 Sep 2013 17:31:59 +0000 (10:31 -0700)]
Add HOTWORD as an AudioSource

- This is a low-priority source that can be preempted by others
- This is required for scenarios where someone wants an alway-on
  graceful microphone

Bug: 10640877.

Change-Id: Idb3577541103717cb713a7a93d3762ad2c2f4710

10 years agoMerge "WirelessChargerDetector: Work around bad sensor timestamps." into klp-dev
Jeff Brown [Wed, 11 Sep 2013 00:35:39 +0000 (00:35 +0000)]
Merge "WirelessChargerDetector: Work around bad sensor timestamps." into klp-dev

10 years agoReconcile differences between zip implementations
Kenny Root [Wed, 21 Aug 2013 17:40:16 +0000 (10:40 -0700)]
Reconcile differences between zip implementations

Reconcile the difference between ZipFileRO and java.util.ZipFile to have
the same behavior.

Bug: 10424836
Change-Id: Iff159c9e1a91b59f6c5346dc0278cb9e4bbc1a39

10 years agoWirelessChargerDetector: Work around bad sensor timestamps.
Jeff Brown [Wed, 11 Sep 2013 00:13:28 +0000 (17:13 -0700)]
WirelessChargerDetector: Work around bad sensor timestamps.

It turns out that on some devices the sensor event timestamp
may be non-monotonic.  This may cause the detector to hold
a wakelock indefinitely if the time jumps backwards.  These
timestamps are not well tested in general so there may be
other artifacts as well.  Use elapsed realtime instead.

Bug: 9926451
Change-Id: Idb0b316e22b23aac86837bd25b953daf49f9b758

10 years agoMerge "Include system packages in packages.list." into klp-dev
Jeff Sharkey [Wed, 11 Sep 2013 00:07:42 +0000 (00:07 +0000)]
Merge "Include system packages in packages.list." into klp-dev

10 years agoBuild layer immediately when setting it in ViewPropertyAnimator
Chet Haase [Wed, 11 Sep 2013 00:05:44 +0000 (17:05 -0700)]
Build layer immediately when setting it in ViewPropertyAnimator

Previously, withLayer() would simply set the layer type in the runnable
called in onAnimationStart(). Now we also call buildLayer(), to get it
out of the way prior to the view drawing for the first time after the
animation begins.

Issue #9422420 ViewPropertyAnimator.withLayer() should build layer immediately

Change-Id: I99923a234f7ca1ec0b6f1b0bf28b62a71ab7eb4d