OSDN Git Service

android-x86/frameworks-base.git
10 years agoam a4aad3d0: Merge changes Ia0f54124,I1e085f5e,Ic0a3ff0a,I141847df,I8ae4efa2 into...
Eino-Ville Talvala [Wed, 28 May 2014 20:35:58 +0000 (20:35 +0000)]
am a4aad3d0: Merge changes Ia0f54124,I1e085f5e,Ic0a3ff0a,I141847df,I8ae4efa2 into lmp-preview-dev

* commit 'a4aad3d0e5c258d6bbf6254ec5ab80a470b1b529':
  camera2: Update native/managed key mappings.
  Camera2: switch API interface to java classses
  Camera2: Use ColorSpaceTransform and RggbChannelVector, replace enum byte[]
  camera2: Add new metadata keys, change types for existing range keys
  Camera2: Replace int[] by MeteringRectangle

10 years agoMerge changes Ia0f54124,I1e085f5e,Ic0a3ff0a,I141847df,I8ae4efa2 into lmp-preview-dev
Eino-Ville Talvala [Wed, 28 May 2014 20:33:42 +0000 (20:33 +0000)]
Merge changes Ia0f54124,I1e085f5e,Ic0a3ff0a,I141847df,I8ae4efa2 into lmp-preview-dev

* changes:
  camera2: Update native/managed key mappings.
  Camera2: switch API interface to java classses
  Camera2: Use ColorSpaceTransform and RggbChannelVector, replace enum byte[]
  camera2: Add new metadata keys, change types for existing range keys
  Camera2: Replace int[] by MeteringRectangle

10 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Wed, 28 May 2014 19:59:59 +0000 (19:59 +0000)]
Merge "Import translations. DO NOT MERGE"

10 years agoam 94e5ee1c: Merge "Disable RT animations" into lmp-preview-dev
John Reck [Wed, 28 May 2014 19:41:02 +0000 (19:41 +0000)]
am 94e5ee1c: Merge "Disable RT animations" into lmp-preview-dev

* commit '94e5ee1c3b2c5f70a5e687a77dcc2c93db50b062':
  Disable RT animations

10 years agoMerge "Disable RT animations" into lmp-preview-dev
John Reck [Wed, 28 May 2014 19:38:06 +0000 (19:38 +0000)]
Merge "Disable RT animations" into lmp-preview-dev

10 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 28 May 2014 19:36:22 +0000 (12:36 -0700)]
Import translations. DO NOT MERGE

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

10 years agoDisable RT animations
John Reck [Wed, 28 May 2014 19:35:30 +0000 (12:35 -0700)]
Disable RT animations

 Bug: 15287046

Change-Id: Ib511053726153649ea1bda337d14bc05db4f0bf9

10 years agoam 656f8e14: (-s ours) Merge "DO NOT MERGE - Run the task manager service at startup...
Christopher Tate [Wed, 28 May 2014 19:07:07 +0000 (19:07 +0000)]
am 656f8e14: (-s ours) Merge "DO NOT MERGE - Run the task manager service at startup" into lmp-preview-dev

* commit '656f8e147ed01b9ab90249f8ee5d3fa7ff66618f':
  DO NOT MERGE - Run the task manager service at startup

10 years agoMerge "DO NOT MERGE - Run the task manager service at startup" into lmp-preview-dev
Christopher Tate [Wed, 28 May 2014 19:03:02 +0000 (19:03 +0000)]
Merge "DO NOT MERGE - Run the task manager service at startup" into lmp-preview-dev

10 years agoam caa3f3f3: Merge "Adding ITelecommService definition for Telecomm." into lmp-previe...
Santos Cordon [Wed, 28 May 2014 18:33:54 +0000 (18:33 +0000)]
am caa3f3f3: Merge "Adding ITelecommService definition for Telecomm." into lmp-preview-dev

* commit 'caa3f3f34751b571f47dce2b111078ed6c8d8a8b':
  Adding ITelecommService definition for Telecomm.

10 years agoMerge "Cleanup Canvas API by deprecating a few methods."
Derek Sollenberger [Wed, 28 May 2014 18:33:27 +0000 (18:33 +0000)]
Merge "Cleanup Canvas API by deprecating a few methods."

10 years agoMerge "SurfaceFlinger: Add sourceCrop to screenshot"
Dan Stoza [Wed, 28 May 2014 18:31:38 +0000 (18:31 +0000)]
Merge "SurfaceFlinger: Add sourceCrop to screenshot"

10 years agoMerge "Adding ITelecommService definition for Telecomm." into lmp-preview-dev
Santos Cordon [Wed, 28 May 2014 18:31:13 +0000 (18:31 +0000)]
Merge "Adding ITelecommService definition for Telecomm." into lmp-preview-dev

10 years agoMerge "Adjust Network's SocketFactory to restrict host name resolution to that Network"
Paul Jensen [Wed, 28 May 2014 18:26:28 +0000 (18:26 +0000)]
Merge "Adjust Network's SocketFactory to restrict host name resolution to that Network"

10 years agoCleanup Canvas API by deprecating a few methods.
Derek Sollenberger [Mon, 12 May 2014 20:48:13 +0000 (16:48 -0400)]
Cleanup Canvas API by deprecating a few methods.

The clipRegion(Region) API exposed a different semantic than all other clip APIs by not
respecting the current matrix. The same behavior can be achieved by calling clipRect(Rect)
on the Rects within a Region.

bug: 14650725
Change-Id: I7e91813b8e2474f327e070e549fa303d66f8b552

10 years agoam f4e0bf9f: am 98993813: am b75b3aaa: Merge "Build PacProcessor for 64 bit."
Narayan Kamath [Wed, 28 May 2014 18:02:16 +0000 (18:02 +0000)]
am f4e0bf9f: am 98993813: am b75b3aaa: Merge "Build PacProcessor for 64 bit."

* commit 'f4e0bf9fe191ab86ff1dd6ba8060a34826017928':
  Build PacProcessor for 64 bit.

10 years agoam c15d315a: am a9cb1e66: Add full screen size preset to WearableExtender
Griff Hazen [Wed, 28 May 2014 17:44:11 +0000 (17:44 +0000)]
am c15d315a: am a9cb1e66: Add full screen size preset to WearableExtender

* commit 'c15d315aeb2c23895e940560784bd51f7962b702':
  Add full screen size preset to WearableExtender

10 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Wed, 28 May 2014 17:28:31 +0000 (17:28 +0000)]
Merge "Import translations. DO NOT MERGE"

10 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 28 May 2014 17:27:32 +0000 (10:27 -0700)]
Import translations. DO NOT MERGE

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

10 years agocamera2: Update native/managed key mappings.
Ruben Brunk [Wed, 28 May 2014 01:58:08 +0000 (18:58 -0700)]
camera2: Update native/managed key mappings.

Switches to using managed value classes for the following keys:
- android.sensor.info.sensitivityRange
- android.sensor.info.exposureTimeRange
- android.jpeg.gpsCoordinates
- android.jpeg.gpsTimestamp
- android.jpeg.gpsProcessingMethod
- android.statistics.lensShadingMap
- android.lens.info.shadingMapSize
Also fixes a minor bug in LensShadingMap

Bug: 14628001
Change-Id: Ia0f541242f529ab9ba3111db799306b198f2b40b

10 years agoam eaa44910: (-s ours) Merge "Layoutlib fixes for L [DO NOT MERGE]" into lmp-preview-dev
Deepanshu Gupta [Wed, 28 May 2014 17:22:16 +0000 (17:22 +0000)]
am eaa44910: (-s ours) Merge "Layoutlib fixes for L [DO NOT MERGE]" into lmp-preview-dev

* commit 'eaa44910ade5493ca15ee10af037c1e92c1143f4':
  Layoutlib fixes for L [DO NOT MERGE]

10 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Wed, 28 May 2014 17:19:19 +0000 (17:19 +0000)]
Merge "Import translations. DO NOT MERGE"

10 years agoMerge "Layoutlib fixes for L [DO NOT MERGE]" into lmp-preview-dev
Deepanshu Gupta [Wed, 28 May 2014 17:18:58 +0000 (17:18 +0000)]
Merge "Layoutlib fixes for L [DO NOT MERGE]" into lmp-preview-dev

10 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 28 May 2014 17:18:05 +0000 (10:18 -0700)]
Import translations. DO NOT MERGE

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

10 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Wed, 28 May 2014 17:15:42 +0000 (17:15 +0000)]
Merge "Import translations. DO NOT MERGE"

10 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 28 May 2014 17:13:28 +0000 (10:13 -0700)]
Import translations. DO NOT MERGE

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

10 years agoMerge "Fix singleUser attribute"
Amith Yamasani [Wed, 28 May 2014 16:42:42 +0000 (16:42 +0000)]
Merge "Fix singleUser attribute"

10 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Wed, 28 May 2014 16:40:01 +0000 (16:40 +0000)]
Merge "Import translations. DO NOT MERGE"

10 years agoFix singleUser attribute
Amith Yamasani [Thu, 22 May 2014 02:14:21 +0000 (19:14 -0700)]
Fix singleUser attribute

Make it work correctly for singleton content providers.
Relax which apps can export singleton content providers.

Change-Id: I43d315c25ed76a876bfa6d5e0d1351bc19c9bdba

10 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Wed, 28 May 2014 16:37:36 +0000 (16:37 +0000)]
Merge "Import translations. DO NOT MERGE"

10 years agoMerge "Move the rotation information from path to group."
ztenghui [Wed, 28 May 2014 16:37:31 +0000 (16:37 +0000)]
Merge "Move the rotation information from path to group."

10 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 28 May 2014 16:36:17 +0000 (09:36 -0700)]
Import translations. DO NOT MERGE

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

10 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 28 May 2014 16:32:43 +0000 (09:32 -0700)]
Import translations. DO NOT MERGE

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

10 years agoMove the rotation information from path to group.
ztenghui [Tue, 27 May 2014 17:42:15 +0000 (10:42 -0700)]
Move the rotation information from path to group.

Also update the 3rd test to correctly testing clipping.

Removing some naive tests which rotate 360 or 0.

bug:15288554

Change-Id: I436e8e494cb78fc665a3890171a1af87367db419

10 years agoam 1a2d25f4: (-s ours) Merge "DO NOT MERGE temporary hide of AudioAttributes" into...
Jean-Michel Trivi [Wed, 28 May 2014 16:15:22 +0000 (16:15 +0000)]
am 1a2d25f4: (-s ours) Merge "DO NOT MERGE temporary hide of AudioAttributes" into lmp-preview-dev

* commit '1a2d25f4b3d070761d97538652bc88983c25d642':
  DO NOT MERGE temporary hide of AudioAttributes

10 years agoMerge "DO NOT MERGE temporary hide of AudioAttributes" into lmp-preview-dev
Jean-Michel Trivi [Wed, 28 May 2014 16:11:30 +0000 (16:11 +0000)]
Merge "DO NOT MERGE temporary hide of AudioAttributes" into lmp-preview-dev

10 years agoam 2d196d9f: Merge "Implement FlushCaches TODO" into lmp-preview-dev
John Reck [Wed, 28 May 2014 16:05:06 +0000 (16:05 +0000)]
am 2d196d9f: Merge "Implement FlushCaches TODO" into lmp-preview-dev

* commit '2d196d9f9d4978fd0df80815e15012518be5ff18':
  Implement FlushCaches TODO

10 years agoMerge "Implement FlushCaches TODO" into lmp-preview-dev
John Reck [Wed, 28 May 2014 16:02:06 +0000 (16:02 +0000)]
Merge "Implement FlushCaches TODO" into lmp-preview-dev

10 years agoam 83a30764: (-s ours) Merge "DO NOT MERGE Cherry-pick: Add full screen size preset...
Griff Hazen [Wed, 28 May 2014 16:01:08 +0000 (16:01 +0000)]
am 83a30764: (-s ours) Merge "DO NOT MERGE Cherry-pick: Add full screen size preset to WearableExtender" into lmp-preview-dev

* commit '83a30764df727d2321f4dcb9ce70f3ceb3e36b80':
  DO NOT MERGE Cherry-pick: Add full screen size preset to WearableExtender

10 years agoMerge "DO NOT MERGE Cherry-pick: Add full screen size preset to WearableExtender...
Griff Hazen [Wed, 28 May 2014 15:59:13 +0000 (15:59 +0000)]
Merge "DO NOT MERGE Cherry-pick: Add full screen size preset to WearableExtender" into lmp-preview-dev

10 years agoam 5a467b12: Merge "Appear animation for PIN view." into lmp-preview-dev
Jorim Jaggi [Wed, 28 May 2014 15:37:14 +0000 (15:37 +0000)]
am 5a467b12: Merge "Appear animation for PIN view." into lmp-preview-dev

* commit '5a467b12d19af0538eb7762138bb06c9d5a73727':
  Appear animation for PIN view.

10 years agoMerge "Appear animation for PIN view." into lmp-preview-dev
Jorim Jaggi [Wed, 28 May 2014 15:34:33 +0000 (15:34 +0000)]
Merge "Appear animation for PIN view." into lmp-preview-dev

10 years agoAppear animation for PIN view.
Jorim Jaggi [Wed, 28 May 2014 14:20:03 +0000 (16:20 +0200)]
Appear animation for PIN view.

Bug: 15163546
Change-Id: I05bc2920cc6e3d19ab64b8b43417b328552e9e2a

10 years agoam 38cf7798: SysUI: Fix bug where ZEN\'d notification wasn\'t updated
Christoph Studer [Wed, 28 May 2014 14:47:05 +0000 (14:47 +0000)]
am 38cf7798: SysUI: Fix bug where ZEN\'d notification wasn\'t updated

* commit '38cf77988ef16a2fafdc581aa563c49e3d266941':
  SysUI: Fix bug where ZEN'd notification wasn't updated

10 years agoam 27d805ea: Merge "Use activity transitions when launched from fragments." into...
George Mount [Wed, 28 May 2014 14:42:01 +0000 (14:42 +0000)]
am 27d805ea: Merge "Use activity transitions when launched from fragments." into lmp-preview-dev

* commit '27d805ea6fb5aa3dbe46d4f8af86c46bce523760':
  Use activity transitions when launched from fragments.

10 years agoam 37568b6b: (-s ours) Merge "fixed mIsReturning initialized too late. DO NOT MERGE...
George Mount [Wed, 28 May 2014 14:41:56 +0000 (14:41 +0000)]
am 37568b6b: (-s ours) Merge "fixed mIsReturning initialized too late. DO NOT MERGE." into lmp-preview-dev

* commit '37568b6b7733308403cfa29125897492cfb2fd62':
  fixed mIsReturning initialized too late. DO NOT MERGE.

10 years agoSysUI: Fix bug where ZEN'd notification wasn't updated
Christoph Studer [Mon, 26 May 2014 21:21:16 +0000 (23:21 +0200)]
SysUI: Fix bug where ZEN'd notification wasn't updated

Bug: 15131411
Change-Id: If6a149a04b34b63052797bbadb3a6fde18c675cd

10 years agoam 47b43918: Merge "SysUI: Reflect notification ranking" into lmp-preview-dev
Christoph Studer [Wed, 28 May 2014 14:37:55 +0000 (14:37 +0000)]
am 47b43918: Merge "SysUI: Reflect notification ranking" into lmp-preview-dev

* commit '47b439181075416ec46667239215102becde7afd':
  SysUI: Reflect notification ranking

10 years agoMerge "Use activity transitions when launched from fragments." into lmp-preview-dev
George Mount [Wed, 28 May 2014 14:37:34 +0000 (14:37 +0000)]
Merge "Use activity transitions when launched from fragments." into lmp-preview-dev

10 years agoMerge "fixed mIsReturning initialized too late. DO NOT MERGE." into lmp-preview-dev
George Mount [Wed, 28 May 2014 14:37:18 +0000 (14:37 +0000)]
Merge "fixed mIsReturning initialized too late. DO NOT MERGE." into lmp-preview-dev

10 years agoam 807a8155: Introduced animations for the clipTopAmount of notifications.
Selim Cinek [Wed, 28 May 2014 14:34:03 +0000 (14:34 +0000)]
am 807a8155: Introduced animations for the clipTopAmount of notifications.

* commit '807a81552eae005882c65df2c01ce2bed9478f4a':
  Introduced animations for the clipTopAmount of notifications.

10 years agoMerge "SysUI: Reflect notification ranking" into lmp-preview-dev
Christoph Studer [Wed, 28 May 2014 14:33:05 +0000 (14:33 +0000)]
Merge "SysUI: Reflect notification ranking" into lmp-preview-dev

10 years agoIntroduced animations for the clipTopAmount of notifications.
Selim Cinek [Wed, 28 May 2014 12:16:02 +0000 (14:16 +0200)]
Introduced animations for the clipTopAmount of notifications.

Bug: 14081264
Change-Id: I09ca8161807d9dea7ca118601ddff9a28c373de5

10 years agoam dc027553: Merge "Implemented basic camera and phone affordance." into lmp-preview-dev
Selim Cinek [Wed, 28 May 2014 14:20:47 +0000 (14:20 +0000)]
am dc027553: Merge "Implemented basic camera and phone affordance." into lmp-preview-dev

* commit 'dc0275532fb6a5ce1cd0bb90966b22fc9a966bdb':
  Implemented basic camera and phone affordance.

10 years agoMerge "Implemented basic camera and phone affordance." into lmp-preview-dev
Selim Cinek [Wed, 28 May 2014 14:17:24 +0000 (14:17 +0000)]
Merge "Implemented basic camera and phone affordance." into lmp-preview-dev

10 years agoImplemented basic camera and phone affordance.
Selim Cinek [Mon, 26 May 2014 17:22:17 +0000 (19:22 +0200)]
Implemented basic camera and phone affordance.

The phone and the camera can now be accessed when swiping anywhere
on the background of the keyguard in the corresponding direction.

Bug: 15126905
Change-Id: If5551078676275764d5b7ddbca6e71cf008a1904

10 years agoSysUI: Reflect notification ranking
Christoph Studer [Mon, 26 May 2014 11:10:30 +0000 (13:10 +0200)]
SysUI: Reflect notification ranking

Respect the ranking received via NotificationListenerService.

Bug: 15131411
Change-Id: I9e3a1530ffb5f4c29eeeccdbc910261d2eb72216

10 years agoam 1468841a: Merge "NoMan: Don\'t unbind system listeners" into lmp-preview-dev
Christoph Studer [Wed, 28 May 2014 12:13:14 +0000 (12:13 +0000)]
am 1468841a: Merge "NoMan: Don\'t unbind system listeners" into lmp-preview-dev

* commit '1468841afc1431ddd0d3c843e41fa7a14c16e430':
  NoMan: Don't unbind system listeners

10 years agoMerge "NoMan: Don't unbind system listeners" into lmp-preview-dev
Christoph Studer [Wed, 28 May 2014 12:10:34 +0000 (12:10 +0000)]
Merge "NoMan: Don't unbind system listeners" into lmp-preview-dev

10 years agoam 5e73be4a: Merge "Fix a typo" into lmp-preview-dev
Sungsoo Lim [Wed, 28 May 2014 10:09:40 +0000 (10:09 +0000)]
am 5e73be4a: Merge "Fix a typo" into lmp-preview-dev

* commit '5e73be4affbf84a4935ac310b8323bfc944caa7e':
  Fix a typo

10 years agoam f411d6b7: (-s ours) Merge "DO NOT MERGE Cherry-pick: Doc fixes for Notification...
Griff Hazen [Wed, 28 May 2014 10:09:34 +0000 (10:09 +0000)]
am f411d6b7: (-s ours) Merge "DO NOT MERGE Cherry-pick: Doc fixes for Notification.WearableExtender" into lmp-preview-dev

* commit 'f411d6b76348cce21a5e6c05cf6ac7126c620f3b':
  DO NOT MERGE Cherry-pick: Doc fixes for Notification.WearableExtender

10 years agoMerge "Fix a typo" into lmp-preview-dev
Sungsoo Lim [Wed, 28 May 2014 09:37:27 +0000 (09:37 +0000)]
Merge "Fix a typo" into lmp-preview-dev

10 years agoFix a couple of bugs in CEC services
Jinsuk Kim [Wed, 28 May 2014 08:42:56 +0000 (17:42 +0900)]
Fix a couple of bugs in CEC services

- Correct conversion for byte to int for cec opcode
- Use the right Handler.obtainMessage() to pass an integer variable

Change-Id: Ie3e86225f1702decce454aeb197911a371f51c17

10 years agoam 98993813: am b75b3aaa: Merge "Build PacProcessor for 64 bit."
Narayan Kamath [Wed, 28 May 2014 09:23:21 +0000 (09:23 +0000)]
am 98993813: am b75b3aaa: Merge "Build PacProcessor for 64 bit."

* commit '98993813b31f20c27f2c0a91daebdaedc382bb5b':
  Build PacProcessor for 64 bit.

10 years agoam b75b3aaa: Merge "Build PacProcessor for 64 bit."
Narayan Kamath [Wed, 28 May 2014 08:48:23 +0000 (08:48 +0000)]
am b75b3aaa: Merge "Build PacProcessor for 64 bit."

* commit 'b75b3aaac4f0282a99bb4486b5dce51a87bc0dd7':
  Build PacProcessor for 64 bit.

10 years agoMerge "Build PacProcessor for 64 bit."
Narayan Kamath [Wed, 28 May 2014 08:44:36 +0000 (08:44 +0000)]
Merge "Build PacProcessor for 64 bit."

10 years agoCamera2: switch API interface to java classses
Yin-Chia Yeh [Tue, 27 May 2014 17:04:54 +0000 (10:04 -0700)]
Camera2: switch API interface to java classses

android.sensor.info.physicalSize: float[] -> SizeF
android.statistics.hotPixelMap: int[] -> Point[]
android.tonemap.curve[Red|Green|Blue]: float[] -> TonemapCurve

Bug: 14628001
Change-Id: I1e085f5e640a059852fcb504b6dd5f884039e653

10 years agoCamera2: Use ColorSpaceTransform and RggbChannelVector, replace enum byte[]
Eino-Ville Talvala [Wed, 28 May 2014 01:16:53 +0000 (18:16 -0700)]
Camera2: Use ColorSpaceTransform and RggbChannelVector, replace enum byte[]

Also fix a minor bug in ColorSpaceTransform copying validation.

Affected keys:
  android.colorCorrection.transform
  android.colorCorrection.gain
  android.control.aeAvailableAntibandingModes
  android.control.aeAvailableModes
  android.control.afAvailableModes
  android.control.availableEffects
  android.control.availableSceneModes
  android.control.availableVideoStabilizationModes
  android.control.awbAvailableModes
  android.edge.availableEdgeModes
  android.hotpixel.availableHotPixelModes
  android.lens.info.availableOpticalStabilization
  android.noiseReduction.availableNoiseReductionModes
  android.sensor.calibrationTransform1
  android.sensor.calibrationTransform2
  android.sensor.colorTransform1
  android.sensor.colorTransform2
  android.sensor.forwardTransform1
  android.sensor.forwardTransform2
  android.statistics.info.availableFaceDetectModes
  android.tonemap.availableToneMapModes

Bug: 14628001
Change-Id: Ic0a3ff0aaa6bfe872cf8fb740870618c3eee3008

10 years agocamera2: Add new metadata keys, change types for existing range keys
Igor Murashkin [Wed, 28 May 2014 01:32:18 +0000 (18:32 -0700)]
camera2: Add new metadata keys, change types for existing range keys

Also adds the following keys:
* android.control.maxRegionsAe
* android.control.maxRegionsAwb
* android.control.maxRegionsAf
* android.request.maxNumOutputRaw
* android.request.maxNumOutputProc
* android.request.maxNumOutputProcStalling

Changes the following keys' type
generations:
* android.control.aeTargetFpsRange
* (Range<Integer>)
* android.control.aeAvailableTargetFpsRanges
* (Range<Integer>[])
* android.control.aeCompensationRange
* (Range<Integer>)
* android.lens.focusRange
* (Range<Float>)

Bug: 14628001
Change-Id: I141847dffc4b0d89cea37c19a54d6d5faf24a9bb

10 years agoCamera2: Replace int[] by MeteringRectangle
Yin-Chia Yeh [Mon, 19 May 2014 17:23:27 +0000 (10:23 -0700)]
Camera2: Replace int[] by MeteringRectangle

Bug: 14628001
Change-Id: I8ae4efa24d41043046a84b04e5209259a8a21063

10 years agoMerge "Support disconnecting while trying to connect."
Lorenzo Colitti [Wed, 28 May 2014 07:40:49 +0000 (07:40 +0000)]
Merge "Support disconnecting while trying to connect."

10 years agoSupport disconnecting while trying to connect.
Lorenzo Colitti [Fri, 23 May 2014 17:25:55 +0000 (02:25 +0900)]
Support disconnecting while trying to connect.

Currently, once a NetworkAgent has decided to connect, there's
no way to disconnect without first connecting and having
ConnectivityService tear down the connection. This is suboptimal
because it causes the transport to keep retrying even if it knows
that it will not be able to connect.

Instead, allow the transport to abort a connection request that's
in progress, as long as the agent is not yet registered with
ConnectivityService.

Also add locking to evalScores. evalScores should already have
been taking a lock, because it accesses member variables that are
also accessed by the send*methods.

Bug: 15295359
Change-Id: I913c341bdfc50be9c23b632399f53168e754c1c0

10 years agoFix a typo
Sungsoo Lim [Tue, 27 May 2014 00:35:30 +0000 (09:35 +0900)]
Fix a typo

Change-Id: I93e7e38a2e3502883b64c38567eaf5957c4197d2

10 years agoMerge "DO NOT MERGE Cherry-pick: Doc fixes for Notification.WearableExtender" into...
Griff Hazen [Wed, 28 May 2014 07:31:25 +0000 (07:31 +0000)]
Merge "DO NOT MERGE Cherry-pick: Doc fixes for Notification.WearableExtender" into lmp-preview-dev

10 years agoAdding ITelecommService definition for Telecomm.
Santos Cordon [Wed, 21 May 2014 22:22:12 +0000 (15:22 -0700)]
Adding ITelecommService definition for Telecomm.

Until telecomm code moves into a system service, we need a way for
other apps to call into it for call-related functionality.

Initial implementation only has silenceRinger.
This is to be implemented by the telecomm code and used by
TelephonyManager (until we have a TelecommManager).

Change-Id: I9180797451dcb2e9029b20bed47f5d5cb8cddb9f
(cherry picked from commit b895606acf18dbb050c9a32106b3c9c2e5111829)

10 years agoMerge "Implementation of TaskManager reschedule/cancel"
Matthew Williams [Wed, 28 May 2014 02:52:00 +0000 (02:52 +0000)]
Merge "Implementation of TaskManager reschedule/cancel"

10 years agoam f52b9c8a: Merge "Revert "Only allow 1 Stack on Leanback-only devices"" into lmp...
Fabrice Di Meglio [Wed, 28 May 2014 01:53:43 +0000 (01:53 +0000)]
am f52b9c8a: Merge "Revert "Only allow 1 Stack on Leanback-only devices"" into lmp-preview-dev

* commit 'f52b9c8a4aebf6d04b747e45c921fa4f51344b34':
  Revert "Only allow 1 Stack on Leanback-only devices"

10 years agoMerge "Revert "Only allow 1 Stack on Leanback-only devices"" into lmp-preview-dev
Fabrice Di Meglio [Wed, 28 May 2014 01:50:08 +0000 (01:50 +0000)]
Merge "Revert "Only allow 1 Stack on Leanback-only devices"" into lmp-preview-dev

10 years agoRevert "Only allow 1 Stack on Leanback-only devices"
Fabrice Di Meglio [Wed, 28 May 2014 01:46:05 +0000 (01:46 +0000)]
Revert "Only allow 1 Stack on Leanback-only devices"

This is making a HH device (and probably others) in a reboot loop

This reverts commit 0cac71e9bdee1e9e6b2faafec0f9f894effbcb67.

===

See:

W/dalvikvm( 2320): threadid=1: thread exiting with uncaught exception (group=0x952d3f28)
E/AndroidRuntime( 2320): *** FATAL EXCEPTION IN SYSTEM PROCESS: main
E/AndroidRuntime( 2320): java.lang.RuntimeException: Failed to create service com.android.server.am.ActivityManagerService$Lifecycle: service constructor threw an exception
E/AndroidRuntime( 2320):  at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:89)
E/AndroidRuntime( 2320):  at com.android.server.SystemServer.startBootstrapServices(SystemServer.java:304)
E/AndroidRuntime( 2320):  at com.android.server.SystemServer.run(SystemServer.java:244)
E/AndroidRuntime( 2320):  at com.android.server.SystemServer.main(SystemServer.java:161)
E/AndroidRuntime( 2320):  at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2320):  at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 2320):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:836)
E/AndroidRuntime( 2320):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:631)
E/AndroidRuntime( 2320):  at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 2320): Caused by: java.lang.reflect.InvocationTargetException
E/AndroidRuntime( 2320):  at java.lang.reflect.Constructor.constructNative(Native Method)
E/AndroidRuntime( 2320):  at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
E/AndroidRuntime( 2320):  at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:78)
E/AndroidRuntime( 2320):  ... 8 more
E/AndroidRuntime( 2320): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 2320):  at com.android.server.am.ActivityStackSupervisor.isLeanbackOnlyDevice(ActivityStackSupervisor.java:3508)
E/AndroidRuntime( 2320):  at com.android.server.am.ActivityStackSupervisor.<init>(ActivityStackSupervisor.java:220)
E/AndroidRuntime( 2320):  at com.android.server.am.ActivityManagerService.<init>(ActivityManagerService.java:2145)
E/AndroidRuntime( 2320):  at com.android.server.am.ActivityManagerService$Lifecycle.<init>(ActivityManagerService.java:2073)
E/AndroidRuntime( 2320):  ... 11 more
E/AndroidRuntime( 2320): Error reporting crash
E/AndroidRuntime( 2320): java.lang.NullPointerException
E/AndroidRuntime( 2320):  at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:89)
E/AndroidRuntime( 2320):  at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
E/AndroidRuntime( 2320):  at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
E/AndroidRuntime( 2320):  at dalvik.system.NativeStart.main(Native Method)
I/Process ( 2320): Sending signal. PID: 2320 SIG: 9
I/ServiceManager(  174): service 'power' died
I/ServiceManager(  174): service 'sensorservice' died

Change-Id: Ib90ae4dff6542d67f5827b100a3ab6158ce88ae2

10 years agoImplementation of TaskManager reschedule/cancel
Matthew Williams [Wed, 14 May 2014 18:06:04 +0000 (11:06 -0700)]
Implementation of TaskManager reschedule/cancel

Issues here:
"Reschedule" of an idle-mode task is not well-defined. In the
API I throw an error if you try to set a back-off policy on
an idle mode task.
Implementation-wise, i add a delay for a reschedule request of an
idle mode task. This means that if the phone's still in idle mode
after the delay they app will get a call back, but otherwise it'll
have to wait til the next one.

Implemented all API functions

Change-Id: I0264c2614cc52c28730abbcb1557f314f058f991

10 years agoLayoutlib fixes for L [DO NOT MERGE]
Deepanshu Gupta [Mon, 19 May 2014 23:14:23 +0000 (16:14 -0700)]
Layoutlib fixes for L [DO NOT MERGE]

This adds the new delegates that were missing. This starts the work on
changes related to Minikin Fonts.

There are some changes related to TypedArray that still need to be
fixed.

Change-Id: Ic2397b64aa3f1f48926e849b14689c47d9ee7f8c
(cherry picked from commit 7ca3612094270183243938e79337c84effea7ad0)

10 years agoam 56588ed0: (-s ours) Merge "DO NOT MERGE: revert change preventing NULL SSID in...
Dave Langemak [Wed, 28 May 2014 00:53:39 +0000 (00:53 +0000)]
am 56588ed0: (-s ours) Merge "DO NOT MERGE: revert change preventing NULL SSID in a WifiConfiguration" into lmp-preview-dev

* commit '56588ed08e007c7bf0c53fd211b1ebde7a24577c':
  DO NOT MERGE: revert change preventing NULL SSID in a WifiConfiguration

10 years agoMerge "DO NOT MERGE: revert change preventing NULL SSID in a WifiConfiguration" into...
Dave Langemak [Wed, 28 May 2014 00:48:18 +0000 (00:48 +0000)]
Merge "DO NOT MERGE: revert change preventing NULL SSID in a WifiConfiguration" into lmp-preview-dev

10 years agoDO NOT MERGE: revert change preventing NULL SSID in a WifiConfiguration
vandwalle [Thu, 22 May 2014 18:53:15 +0000 (11:53 -0700)]
DO NOT MERGE: revert change preventing NULL SSID in a WifiConfiguration

bug: 15114340

Change-Id: Ic66363fc7781a1d65e5b8647843a752c048145a1
(cherry picked from commit 7aa05179b970e9f1346374f1e506a2cfeaff060a)

10 years agoDO NOT MERGE Cherry-pick: Add full screen size preset to WearableExtender
Griff Hazen [Tue, 27 May 2014 22:40:09 +0000 (15:40 -0700)]
DO NOT MERGE Cherry-pick: Add full screen size preset to WearableExtender

Bug: 14838838

Change-Id: Id038d994d61d3c89dba08232a424a5b1b934e5db

10 years agoam 31418fd9: (-s ours) Merge "DO NOT MERGE Cherry-pick: Fix current.txt" into lmp...
Griff Hazen [Wed, 28 May 2014 00:34:32 +0000 (00:34 +0000)]
am 31418fd9: (-s ours) Merge "DO NOT MERGE Cherry-pick: Fix current.txt" into lmp-preview-dev

* commit '31418fd9965b0d79814f816eb898bae202a76e50':
  DO NOT MERGE Cherry-pick: Fix current.txt

10 years agoDO NOT MERGE Cherry-pick: Doc fixes for Notification.WearableExtender
Griff Hazen [Mon, 26 May 2014 16:07:14 +0000 (09:07 -0700)]
DO NOT MERGE Cherry-pick: Doc fixes for Notification.WearableExtender

Change-Id: I22947e30d329e667079555ac4ac5f9b25d6bd3fa

10 years agoam 47d9f4c9: (-s ours) Merge "DO NOT MERGE Cherry-pick: Fix build: CheckBuild line...
Griff Hazen [Wed, 28 May 2014 00:34:27 +0000 (00:34 +0000)]
am 47d9f4c9: (-s ours) Merge "DO NOT MERGE Cherry-pick: Fix build: CheckBuild line for removed wearable package" into lmp-preview-dev

* commit '47d9f4c95339171ce85547a5c0d3dd8a5a758836':
  DO NOT MERGE Cherry-pick: Fix build: CheckBuild line for removed wearable package

10 years agoam 4f19a458: (-s ours) Merge "DO NOT MERGE Cherry-pick: Api updates for wearable...
Griff Hazen [Wed, 28 May 2014 00:34:15 +0000 (00:34 +0000)]
am 4f19a458: (-s ours) Merge "DO NOT MERGE Cherry-pick: Api updates for wearable extensions to notifications" into lmp-preview-dev

* commit '4f19a458ab5de74ad17257594db09b02f0d5f9e0':
  DO NOT MERGE Cherry-pick: Api updates for wearable extensions to notifications

10 years agoMerge "DO NOT MERGE Cherry-pick: Fix current.txt" into lmp-preview-dev
Griff Hazen [Wed, 28 May 2014 00:32:00 +0000 (00:32 +0000)]
Merge "DO NOT MERGE Cherry-pick: Fix current.txt" into lmp-preview-dev

10 years agoMerge "DO NOT MERGE Cherry-pick: Fix build: CheckBuild line for removed wearable...
Griff Hazen [Wed, 28 May 2014 00:31:53 +0000 (00:31 +0000)]
Merge "DO NOT MERGE Cherry-pick: Fix build: CheckBuild line for removed wearable package" into lmp-preview-dev

10 years agoMerge "DO NOT MERGE Cherry-pick: Api updates for wearable extensions to notifications...
Griff Hazen [Wed, 28 May 2014 00:31:45 +0000 (00:31 +0000)]
Merge "DO NOT MERGE Cherry-pick: Api updates for wearable extensions to notifications" into lmp-preview-dev

10 years agoam a9cb1e66: Add full screen size preset to WearableExtender
Griff Hazen [Wed, 28 May 2014 00:18:03 +0000 (00:18 +0000)]
am a9cb1e66: Add full screen size preset to WearableExtender

* commit 'a9cb1e66737f816d643bca03832af719cbdd0f20':
  Add full screen size preset to WearableExtender

10 years agoam 00430954: Merge "Only allow 1 Stack on Leanback-only devices" into lmp-preview-dev
Jose Lima [Wed, 28 May 2014 00:13:36 +0000 (00:13 +0000)]
am 00430954: Merge "Only allow 1 Stack on Leanback-only devices" into lmp-preview-dev

* commit '004309546b7efa188df56e58539e4227ed192cf7':
  Only allow 1 Stack on Leanback-only devices

10 years agoam 365dfe93: Merge "Update docs around empty/null outline behavior" into lmp-preview-dev
Chris Craik [Wed, 28 May 2014 00:13:31 +0000 (00:13 +0000)]
am 365dfe93: Merge "Update docs around empty/null outline behavior" into lmp-preview-dev

* commit '365dfe93dd3baab1417e20bc9ba7e3175600faa0':
  Update docs around empty/null outline behavior

10 years agoMerge "Only allow 1 Stack on Leanback-only devices" into lmp-preview-dev
Jose Lima [Wed, 28 May 2014 00:10:14 +0000 (00:10 +0000)]
Merge "Only allow 1 Stack on Leanback-only devices" into lmp-preview-dev

10 years agoMerge "Update docs around empty/null outline behavior" into lmp-preview-dev
Chris Craik [Wed, 28 May 2014 00:08:58 +0000 (00:08 +0000)]
Merge "Update docs around empty/null outline behavior" into lmp-preview-dev

10 years agoam dc0230fc: Merge "camera2: Add partial results to the capture listener (API change...
Igor Murashkin [Tue, 27 May 2014 23:57:36 +0000 (23:57 +0000)]
am dc0230fc: Merge "camera2: Add partial results to the capture listener (API change)" into lmp-preview-dev

* commit 'dc0230fc450e8880fb640cd476f2248bf0a401e4':
  camera2: Add partial results to the capture listener (API change)

10 years agoMerge "camera2: Add partial results to the capture listener (API change)" into lmp...
Igor Murashkin [Tue, 27 May 2014 23:54:21 +0000 (23:54 +0000)]
Merge "camera2: Add partial results to the capture listener (API change)" into lmp-preview-dev

10 years agoOnly allow 1 Stack on Leanback-only devices
Jose Lima [Tue, 27 May 2014 21:59:31 +0000 (14:59 -0700)]
Only allow 1 Stack on Leanback-only devices

   - For Leanback only devices we will force all activities to
   live in the same app stack. This is a design decision for the
   shy/gregarious changes we are planning to implement for
   leanback devices.

Change-Id: I201f56541ba22356e9598f09419ad41e588c74dc