OSDN Git Service

android-x86/frameworks-base.git
10 years agoImplement PowerStatusMonitorAction.
Jungshik Jang [Thu, 7 Aug 2014 09:04:14 +0000 (18:04 +0900)]
Implement PowerStatusMonitorAction.

After this change, need to add an api which reports
power status change to other component like TIF.

Bug: 16445063
Change-Id: I5a347057af6140ece82acb5d15e3a8b3779b18be

10 years agoFixing regression with scrolling and launching an out-of-view task. (Bug 16875419)
Winson Chung [Thu, 7 Aug 2014 22:55:37 +0000 (15:55 -0700)]
Fixing regression with scrolling and launching an out-of-view task. (Bug 16875419)

Change-Id: Ib64e18f9a0f1de02de28a29251dd1d159d5d89ee

10 years agoMerge "Add new fonts.xml" into lmp-dev
Raph Levien [Thu, 7 Aug 2014 23:03:43 +0000 (23:03 +0000)]
Merge "Add new fonts.xml" into lmp-dev

10 years agoAdd new fonts.xml
Raph Levien [Thu, 7 Aug 2014 20:52:37 +0000 (13:52 -0700)]
Add new fonts.xml

This adds a new configration file for fonts with several more features,
most notably the ability to specify numeric weights for fonts in a
family, and specify aliases for weights. This will help help choose an
appropriate font for a "bold" weight request, rather than just applying
auto-bolding.

Bug: 14538154
Change-Id: Ib4d54d66a0c68b7d46e665d7cd94e97b72468e95

10 years agoMerge "Update cab_background assets for Material" into lmp-dev
Alan Viverette [Thu, 7 Aug 2014 22:58:57 +0000 (22:58 +0000)]
Merge "Update cab_background assets for Material" into lmp-dev

10 years agoUpdate cab_background assets for Material
Alan Viverette [Thu, 7 Aug 2014 22:57:57 +0000 (15:57 -0700)]
Update cab_background assets for Material

BUG: 16491778
Change-Id: I1bef337db42668b3b0c4ca4f8700c50025dfaa1f

10 years agoRemoving fill and stroke opacity
ztenghui [Thu, 7 Aug 2014 16:29:39 +0000 (09:29 -0700)]
Removing fill and stroke opacity

bug:16850076

attrs/public.xml update will be separated for build break friday.

Change-Id: I5863193d5fecd7e210bd6db5294868f1a70e0d2f

10 years agoam 639421cb: am fed4a556: Merge "Move wakelock release to handleMessage" into klp...
Prashant Malani [Thu, 7 Aug 2014 22:15:01 +0000 (22:15 +0000)]
am 639421cb: am fed4a556: Merge "Move wakelock release to handleMessage" into klp-modular-dev

* commit '639421cbd9780b9093bdf3415a79489c118ecb92':
  Move wakelock release to handleMessage

10 years agoam fed4a556: Merge "Move wakelock release to handleMessage" into klp-modular-dev
Prashant Malani [Thu, 7 Aug 2014 22:10:25 +0000 (22:10 +0000)]
am fed4a556: Merge "Move wakelock release to handleMessage" into klp-modular-dev

* commit 'fed4a5565b9318fa1132003ad3599fa42bbefdf0':
  Move wakelock release to handleMessage

10 years agoam a4ef5a3a: am a1c9af24: am 6f273458: Merge "docs: remove "developer preview" and...
Robert Ly [Thu, 7 Aug 2014 22:08:33 +0000 (22:08 +0000)]
am a4ef5a3a: am a1c9af24: am 6f273458: Merge "docs: remove "developer preview" and point to Android-specific doc" into klp-modular-docs

* commit 'a4ef5a3aaafddc1e11a87290c42397748aa9358d':
  docs: remove "developer preview" and point to Android-specific doc

10 years agocamera2: (LEGACY) Don't stop preview when there are no requests left
Igor Murashkin [Wed, 6 Aug 2014 23:32:27 +0000 (16:32 -0700)]
camera2: (LEGACY) Don't stop preview when there are no requests left

* This allows flash mode=TORCH to keep working if only a single
request is submitted and the device goes to the idle state.

Bug: 16305644
Change-Id: Id2e3451f85dbf9b545d3a70977b8fcfb0922a0eb

10 years agoam a1c9af24: am 6f273458: Merge "docs: remove "developer preview" and point to Androi...
Robert Ly [Thu, 7 Aug 2014 22:04:02 +0000 (22:04 +0000)]
am a1c9af24: am 6f273458: Merge "docs: remove "developer preview" and point to Android-specific doc" into klp-modular-docs

* commit 'a1c9af2438c3b06f190ad9094160e01df395bec2':
  docs: remove "developer preview" and point to Android-specific doc

10 years agoam 6f273458: Merge "docs: remove "developer preview" and point to Android-specific...
Robert Ly [Thu, 7 Aug 2014 21:59:43 +0000 (21:59 +0000)]
am 6f273458: Merge "docs: remove "developer preview" and point to Android-specific doc" into klp-modular-docs

* commit '6f273458fb9de10e07f5876e85f9f80592bf52b2':
  docs: remove "developer preview" and point to Android-specific doc

10 years agoAnimations for Keyguard user switcher.
Jorim Jaggi [Thu, 7 Aug 2014 15:45:04 +0000 (17:45 +0200)]
Animations for Keyguard user switcher.

Bug: 15757197
Change-Id: Ia3fcc0f771cea37fc2d57181d859373c423954a7

10 years agoTIF: Change CEC specific names to more general ones
Jae Seo [Thu, 7 Aug 2014 18:57:01 +0000 (11:57 -0700)]
TIF: Change CEC specific names to more general ones

Now MHL device information is also a part of HdmiDeviceInfo (previously
HdmiCecDeviceInfo). This change adjusts method/variable names across our code
base to reflect that.

Bug: 16215362
Change-Id: I7a6692329f39842a4aec9a4ff036eca5474cfd33

10 years agoAdd font rename script to rename one font only.
Deepanshu Gupta [Thu, 31 Jul 2014 21:08:16 +0000 (14:08 -0700)]
Add font rename script to rename one font only.

This change adds a script that renames only font at a time. This helps
in writing better Makefile rules and passes the job for parallelization
to the make rather than doing it in python which doesn't support ctrl-c
properly.

Change-Id: Icd380e3cc5d744260d6a9f497aa65a1a6c829c2e

10 years agoCreate a copy of the build_font.py
Deepanshu Gupta [Thu, 7 Aug 2014 21:20:39 +0000 (14:20 -0700)]
Create a copy of the build_font.py

The copy will be modified to support renaming only one font at a time.
This is done in two steps to improve the diffs.

Change-Id: I47283745c25882283f0464c17e603396a8c9141e

10 years agoMerge "Revert "Revert "Remove String version of getBadgedLabel""" into lmp-dev
Kenny Guy [Thu, 7 Aug 2014 21:37:22 +0000 (21:37 +0000)]
Merge "Revert "Revert "Remove String version of getBadgedLabel""" into lmp-dev

10 years agoAdd AbsListView#fling
Adam Powell [Thu, 7 Aug 2014 20:52:53 +0000 (13:52 -0700)]
Add AbsListView#fling

ScrollViews can programmatically fling from public API and now
ListViews/GridViews can too. This helps support applications that wish
to propagate flings across scrolling containers as part of nested
scrolling.

Bug 15538504

Change-Id: I0318c6717c7fb8788a006f96c8f8170556dd8b9e

10 years agoRevert "Revert "Remove String version of getBadgedLabel""
Kenny Guy [Thu, 7 Aug 2014 21:10:29 +0000 (21:10 +0000)]
Revert "Revert "Remove String version of getBadgedLabel""

This reverts commit 82020f109d78af889dfc5e86ede04c54fb6f1de2.

Bug: 16484455
Change-Id: I601edbb705cacd29bf30f90c8666c5f516796ebb

10 years agoMerge "Launch application details for correct profile from recents." into lmp-dev
Kenny Guy [Thu, 7 Aug 2014 21:09:36 +0000 (21:09 +0000)]
Merge "Launch application details for correct profile from recents." into lmp-dev

10 years agoMerge "Cap scales used for tessellation with minimum and maximum" into lmp-dev
Chris Craik [Thu, 7 Aug 2014 22:48:28 +0000 (22:48 +0000)]
Merge "Cap scales used for tessellation with minimum and maximum" into lmp-dev

10 years agoMark beginRestoreSession() as system API
Christopher Tate [Thu, 7 Aug 2014 21:53:06 +0000 (14:53 -0700)]
Mark beginRestoreSession() as system API

Bug 16874911

Change-Id: Idb06ebf2d0f54bb13af1d2eeacf0d7b06fda68db

10 years agoLogic to confirm permissions on install sessions.
Jeff Sharkey [Thu, 7 Aug 2014 21:01:43 +0000 (14:01 -0700)]
Logic to confirm permissions on install sessions.

When an app without INSTALL permission attempts to commit a session,
we involve user to confirm permissions.  We currently point at the
base APK, which defines all permissions for an app, handling the case
where a session may only be adding splits.

Add failure codes to represent rejection.  Fix bug by ignoring stages
during initial boot scan.

Bug: 16515814
Change-Id: I702bb72445216817bcc62b79c83980c1c2bb0120

10 years agoHave styleable indices be non-final for library projects
Adam Lesinski [Thu, 7 Aug 2014 00:41:08 +0000 (17:41 -0700)]
Have styleable indices be non-final for library projects

Invoking aapt after merging resources from a library project
may yield a different ordering to styleable arrays, so have
the indices be non-final too.

Bug:16842410

Change-Id: I0432bea03dc4312d5908a770fc70a11f0a1596ae

10 years agoCap scales used for tessellation with minimum and maximum
Chris Craik [Thu, 7 Aug 2014 21:34:46 +0000 (14:34 -0700)]
Cap scales used for tessellation with minimum and maximum

bug:15615144
Change-Id: I3e833864af3a7b34e444bd13db34b6c90496a8b6

10 years agoMerge "Saver: update feature description." into lmp-dev
John Spurlock [Thu, 7 Aug 2014 22:31:48 +0000 (22:31 +0000)]
Merge "Saver: update feature description." into lmp-dev

10 years agoFirst pass of changing statusbar connectedness
Robert Greenwalt [Thu, 7 Aug 2014 04:32:18 +0000 (21:32 -0700)]
First pass of changing statusbar connectedness

Switching from GCM-only inet condition reports to using our network
validation (captive portal check).

Note that currently the GCM signal is disconnected.  Next step is to
make the bad-network report API trigger a re-evaluation of the network
and get negative reports from the NetworkMonitor.

Change-Id: Ie2ebab1e5c04775e3c4d6738f656a6c8157dba76

10 years agoSaver: update feature description.
John Spurlock [Thu, 7 Aug 2014 20:08:39 +0000 (16:08 -0400)]
Saver: update feature description.

Bug:16866427
Change-Id: Ib9a52b9ce13a0a84eaade5751ad48213b7f5cc26

10 years agoAllow media projections to create public presentations.
Michael Wright [Wed, 30 Jul 2014 02:14:16 +0000 (19:14 -0700)]
Allow media projections to create public presentations.

Change-Id: I3b6e0b54d658352942a38be6a24486bdfc179efd

10 years agoOnLost/OnFound integration - onfound match is done in framework,
Prerepa Viswanadham [Thu, 7 Aug 2014 16:44:20 +0000 (09:44 -0700)]
OnLost/OnFound integration - onfound match is done in framework,
whereas hw signal is used to report onlost.

Bug 16733710

Change-Id: I7b177b7afd730341c336818857436c095735b53b

10 years agoLaunch application details for correct profile from recents.
Kenny Guy [Thu, 7 Aug 2014 14:34:38 +0000 (15:34 +0100)]
Launch application details for correct profile from recents.

Bug: 16681400
Change-Id: Ia80d9c83809b07b1cdc4be8a4fc8a406bdfcf55e

10 years agoam 8f16c065: am 35b08bac: am edcf7c51: Merge "docs: Simplify and update the Signing...
Ricardo Cervera [Thu, 7 Aug 2014 16:13:09 +0000 (16:13 +0000)]
am 8f16c065: am 35b08bac: am edcf7c51: Merge "docs: Simplify and update the Signing page. Bug: 16296405" into klp-modular-docs

* commit '8f16c0655eb4e7321f346ed62d9068ebc9fdc35b':
  docs: Simplify and update the Signing page. Bug: 16296405

10 years agoRemove LauncherApps method left for compat.
Kenny Guy [Thu, 7 Aug 2014 16:03:36 +0000 (17:03 +0100)]
Remove LauncherApps method left for compat.

Method was left while updating unbundled apps
which have now been updated.

Bug: 16864685
Change-Id: I687cb23a1b60b88eeb988f3cf2604dc24b739121

10 years agoam 35b08bac: am edcf7c51: Merge "docs: Simplify and update the Signing page. Bug...
Ricardo Cervera [Thu, 7 Aug 2014 16:07:37 +0000 (16:07 +0000)]
am 35b08bac: am edcf7c51: Merge "docs: Simplify and update the Signing page. Bug: 16296405" into klp-modular-docs

* commit '35b08bacc4e4ab937a5179b5b991f6509127f517':
  docs: Simplify and update the Signing page. Bug: 16296405

10 years agoam edcf7c51: Merge "docs: Simplify and update the Signing page. Bug: 16296405" into...
Ricardo Cervera [Thu, 7 Aug 2014 16:03:27 +0000 (16:03 +0000)]
am edcf7c51: Merge "docs: Simplify and update the Signing page. Bug: 16296405" into klp-modular-docs

* commit 'edcf7c51676e3b4d0481dcdc9c2e128f7f4f2e5d':
  docs: Simplify and update the Signing page. Bug: 16296405

10 years agoam 23daa441: am 8e115e64: Merge "docs: Documenting fix for CVE-2014-0224 (SSL vulnera...
Robert Ly [Thu, 7 Aug 2014 15:59:36 +0000 (15:59 +0000)]
am 23daa441: am 8e115e64: Merge "docs: Documenting fix for CVE-2014-0224 (SSL vulnerability)." into klp-modular-docs

* commit '23daa44107c17d7e30c65389bb718a9add8e4c40':
  docs: Documenting fix for CVE-2014-0224 (SSL vulnerability).

10 years agoam 8e115e64: Merge "docs: Documenting fix for CVE-2014-0224 (SSL vulnerability)....
Robert Ly [Thu, 7 Aug 2014 15:55:10 +0000 (15:55 +0000)]
am 8e115e64: Merge "docs: Documenting fix for CVE-2014-0224 (SSL vulnerability)." into klp-modular-docs

* commit '8e115e6460f5bfe5e682dda6e816b9d8c84bc525':
  docs: Documenting fix for CVE-2014-0224 (SSL vulnerability).

10 years agoMerge "Sanity-check paths of files to be restored" into lmp-dev
Christopher Tate [Thu, 7 Aug 2014 20:57:59 +0000 (20:57 +0000)]
Merge "Sanity-check paths of files to be restored" into lmp-dev

10 years agoMerge "docs: Documenting fix for CVE-2014-0224 (SSL vulnerability)." into klp-modular...
Robert Ly [Thu, 7 Aug 2014 15:50:25 +0000 (15:50 +0000)]
Merge "docs: Documenting fix for CVE-2014-0224 (SSL vulnerability)." into klp-modular-docs

10 years agoMerge "Link to new app notification settings from the inspector." into lmp-dev
Dan Sandler [Thu, 7 Aug 2014 16:08:38 +0000 (16:08 +0000)]
Merge "Link to new app notification settings from the inspector." into lmp-dev

10 years agoLink to new app notification settings from the inspector.
Dan Sandler [Thu, 31 Jul 2014 05:06:43 +0000 (01:06 -0400)]
Link to new app notification settings from the inspector.

Also hide the inspector whenever the keyguard changes state,
to make sure we don't leave any notification guts lying
around when you turn the screen on and off or unlock.

Bug: 16208321
Change-Id: I47cf6a0cb82e765eb6b50984972f57616b534ed3

10 years agoMerge "docs: Simplify and update the Signing page. Bug: 16296405" into klp-modular...
Ricardo Cervera [Thu, 7 Aug 2014 16:00:13 +0000 (16:00 +0000)]
Merge "docs: Simplify and update the Signing page. Bug: 16296405" into klp-modular-docs

10 years agoMerge "Fix CTS test for nine patch padding sanity check" into lmp-dev
Alan Viverette [Thu, 7 Aug 2014 20:56:55 +0000 (20:56 +0000)]
Merge "Fix CTS test for nine patch padding sanity check" into lmp-dev

10 years agoFix CTS test for nine patch padding sanity check
Alan Viverette [Thu, 7 Aug 2014 20:55:26 +0000 (13:55 -0700)]
Fix CTS test for nine patch padding sanity check

BUG: 16826969
Change-Id: I96628a38300dec58eb8523559741c28fed35eba2

10 years agoMerge "camera2: (LEGACY) Add face detection support and vstab modes" into lmp-dev
Igor Murashkin [Thu, 7 Aug 2014 20:51:25 +0000 (20:51 +0000)]
Merge "camera2: (LEGACY) Add face detection support and vstab modes" into lmp-dev

10 years agocamera2: (LEGACY) Add face detection support and vstab modes
Igor Murashkin [Thu, 31 Jul 2014 22:53:34 +0000 (15:53 -0700)]
camera2: (LEGACY) Add face detection support and vstab modes

Also work-around CTS freezing forever in Camera#setPreviewTexture

* Set preview texture to null after unconfiguring (Camera#stopPreview)
* Remove all uses of recording hint

(Some devices disable face detection unconditionally when recording is not
using HDR mode; recording hints will be introduced after we add
capture intent support)

Change-Id: I2f0a80f1d580af214cb0f53abcbf33c7391790f1

10 years agoMerge "Remove clipToOutline workaround for null backgrounds" into lmp-dev
Alan Viverette [Thu, 7 Aug 2014 20:46:25 +0000 (20:46 +0000)]
Merge "Remove clipToOutline workaround for null backgrounds" into lmp-dev

10 years agoRemove clipToOutline workaround for null backgrounds
Alan Viverette [Thu, 7 Aug 2014 20:43:05 +0000 (13:43 -0700)]
Remove clipToOutline workaround for null backgrounds

BUG: 16566746
Change-Id: Icdf0d40b75c0fa9d972eb6300f51079e48fbe5fd

10 years agoMerge "Use translatable strings for time picker AM/PM labels" into lmp-dev
Alan Viverette [Thu, 7 Aug 2014 20:40:03 +0000 (20:40 +0000)]
Merge "Use translatable strings for time picker AM/PM labels" into lmp-dev

10 years agoUse translatable strings for time picker AM/PM labels
Alan Viverette [Thu, 7 Aug 2014 20:33:30 +0000 (13:33 -0700)]
Use translatable strings for time picker AM/PM labels

BUG: 16842390
Change-Id: Ibdbe9cffb39373f200a09eb0d28b956a1eeb5d13

10 years agoMerge "Fix pending dismiss action not cleared when leaving bouncer" into lmp-dev
Adrian Roos [Thu, 7 Aug 2014 20:38:02 +0000 (20:38 +0000)]
Merge "Fix pending dismiss action not cleared when leaving bouncer" into lmp-dev

10 years agoFix pending dismiss action not cleared when leaving bouncer
Adrian Roos [Thu, 7 Aug 2014 20:25:55 +0000 (22:25 +0200)]
Fix pending dismiss action not cleared when leaving bouncer

Bug: 16307958
Change-Id: Id9ae360b6d4f606b3b76a092b32756ac04d06344

10 years agoMerge "Add an extra pixel to the ripple radius used for bounds" into lmp-dev
Alan Viverette [Thu, 7 Aug 2014 20:35:36 +0000 (20:35 +0000)]
Merge "Add an extra pixel to the ripple radius used for bounds" into lmp-dev

10 years agoAdd an extra pixel to the ripple radius used for bounds
Alan Viverette [Thu, 7 Aug 2014 20:00:03 +0000 (13:00 -0700)]
Add an extra pixel to the ripple radius used for bounds

BUG: 16850241
Change-Id: I0f3a046100c104a6321ca7eb24cd0295878e4f47

10 years agoMerge topic 'camera2-remove-hidden' into lmp-dev
Eino-Ville Talvala [Thu, 7 Aug 2014 20:17:59 +0000 (20:17 +0000)]
Merge topic 'camera2-remove-hidden' into lmp-dev

* changes:
  Camera2: Fix session shutdown race, frequent warning log
  Camera2: Remove hidden parts of public CameraDevice
  Camera2: Fix null-listener capture for CameraCaptureSession

10 years agoCamera2: Fix session shutdown race, frequent warning log
Eino-Ville Talvala [Tue, 5 Aug 2014 22:02:31 +0000 (15:02 -0700)]
Camera2: Fix session shutdown race, frequent warning log

- Make sure that session.close followed by device.createCaptureSession cannot race on
  configureOutputs calls
- Silence warning about RAW_OPAQUE format

Change-Id: I02e4a048e8b26ea61aadcf115b029e9fbb58ad4e

10 years agoCamera2: Remove hidden parts of public CameraDevice
Eino-Ville Talvala [Wed, 2 Jul 2014 23:30:53 +0000 (16:30 -0700)]
Camera2: Remove hidden parts of public CameraDevice

- Remove everything @hide in CameraDevice
- Move bits that are still needed into CameraDeviceImpl

Change-Id: Ie22059a0eb5c4238142a8a1e8dbcf1a422e845aa

10 years agoCamera2: Fix null-listener capture for CameraCaptureSession
Eino-Ville Talvala [Thu, 31 Jul 2014 19:47:07 +0000 (12:47 -0700)]
Camera2: Fix null-listener capture for CameraCaptureSession

Correctly allow null listener/handler when invoked on a thread with no
looper; otherwise all capture/repeating requests will fail even if listener
is null.

Change-Id: I4c64c81ad7f14b5cb309b4f92822cb50dbd74ba6

10 years agoUpdate strings for QS footer.
Jason Monk [Thu, 7 Aug 2014 20:08:28 +0000 (16:08 -0400)]
Update strings for QS footer.

Bug: 16854706
Change-Id: Iba7ecae45f0bc9a8819f5172ad5922fddab95076

10 years agoMerge "Need to post-process all action icons to get the correct color." into lmp-dev
Dan Sandler [Thu, 7 Aug 2014 14:12:47 +0000 (14:12 +0000)]
Merge "Need to post-process all action icons to get the correct color." into lmp-dev

10 years agoMerge "Move wakelock release to handleMessage" into klp-modular-dev
Prashant Malani [Thu, 7 Aug 2014 22:07:09 +0000 (22:07 +0000)]
Merge "Move wakelock release to handleMessage" into klp-modular-dev

10 years agoMove wakelock release to handleMessage
Prashant Malani [Wed, 6 Aug 2014 23:49:53 +0000 (16:49 -0700)]
Move wakelock release to handleMessage

There were certain code paths in handleDockStateChange() that were
exiting without releasing the wakelock. So we move the release to the
calling function to prevent stray held wakelocks.

Bug: 16841895

Change-Id: I8ae4d2ab8f775c42a893d3bcdef34321c5f631a6
Signed-off-by: Prashant Malani <pmalani@google.com>
10 years agoMerge "docs: remove "developer preview" and point to Android-specific doc" into klp...
Robert Ly [Thu, 7 Aug 2014 21:55:43 +0000 (21:55 +0000)]
Merge "docs: remove "developer preview" and point to Android-specific doc" into klp-modular-docs

10 years agoMerge "Reify the transport lookup/selection API" into lmp-dev
Christopher Tate [Thu, 7 Aug 2014 19:44:02 +0000 (19:44 +0000)]
Merge "Reify the transport lookup/selection API" into lmp-dev

10 years agoReify the transport lookup/selection API
Christopher Tate [Tue, 29 Jul 2014 23:53:09 +0000 (16:53 -0700)]
Reify the transport lookup/selection API

Introduce a stable BackupTransport interface class for transport
implementations to derive from.

Make the interface for viewing/selecting the active backup transport
part of the stable API.

Make restore-related classes (RestoreSession, RestoreSet) stable API.

Express backup manager APIs needed for transport operation as
@SystemApi methods in BackupManager.

Bug 16661321

Change-Id: I423b87ae8f45c1b77831d4f8ffd97715484c2d2b

10 years agoMerge "Fix to call VoiceInteractionSession.onDestroy()." into lmp-dev
Dianne Hackborn [Thu, 7 Aug 2014 19:38:50 +0000 (19:38 +0000)]
Merge "Fix to call VoiceInteractionSession.onDestroy()." into lmp-dev

10 years agoFix to call VoiceInteractionSession.onDestroy().
Dianne Hackborn [Thu, 7 Aug 2014 19:34:37 +0000 (12:34 -0700)]
Fix to call VoiceInteractionSession.onDestroy().

Change-Id: I2b4f19538700c691dac3a83aadfa0959ef1fe458

10 years agoFix issue @16555033: Battery history overflowing too much
Dianne Hackborn [Thu, 7 Aug 2014 02:20:25 +0000 (19:20 -0700)]
Fix issue @16555033: Battery history overflowing too much

- No longer track process starts/stops normally.
- Increase buffer size to 256KB.
- Buffer size increase requires reworking how battery stats
  are retrieved, since it is going to be hitting IPC limits.
- Also, store the last full stats after a reset, to be reported
  at the next checkin.
- Also, discharge and charge times are tagged with the screen
  and battery save state during that time.

Change-Id: Ie108ac9b626846108a9bb858101ac2b93276ac16

10 years agoDump the state of SoundTriggerHelper for bugreports
Sandeep Siddhartha [Thu, 7 Aug 2014 02:47:25 +0000 (19:47 -0700)]
Dump the state of SoundTriggerHelper for bugreports

Change-Id: I01a17d969fbd22c6bcbb161e3542ca14a3f8c7c8

10 years agoMerge "Remove dependency on SkPaintOptionsAndroid" into lmp-dev
Behdad Esfahbod [Thu, 7 Aug 2014 19:32:12 +0000 (19:32 +0000)]
Merge "Remove dependency on SkPaintOptionsAndroid" into lmp-dev

10 years agoRemove dependency on SkPaintOptionsAndroid
Derek Sollenberger [Thu, 7 Aug 2014 12:10:39 +0000 (08:10 -0400)]
Remove dependency on SkPaintOptionsAndroid

Change-Id: I579a3503697efe3b8fd9bc809a6c9bfbf735cb1b

10 years agoMerge "Handle microphone contention/Phone calls while recognition is active" into...
Sandeep Siddhartha [Thu, 7 Aug 2014 19:09:41 +0000 (19:09 +0000)]
Merge "Handle microphone contention/Phone calls while recognition is active" into lmp-dev

10 years agoHandle microphone contention/Phone calls while recognition is active
Sandeep Siddhartha [Tue, 5 Aug 2014 22:03:46 +0000 (15:03 -0700)]
Handle microphone contention/Phone calls while recognition is active

Internally we pause the recognition when:
 - a phone call is active/off-hook/ringing
 - or some other application grabs the microphone

we auto-resume when the condition that caused us to pause reverses.

Both these events are notified to the client via callbacks so that they can choose to display on their UI,
that the recognition is paused for some reason.

Bug: 16515468
Bug: 16740806
Bug: 16514535
Change-Id: Ib274d68522c8cf37d42402c875b16159957657f0

10 years agoRemove ldaps from AOSP code.
Santos Cordon [Wed, 6 Aug 2014 11:46:17 +0000 (04:46 -0700)]
Remove ldaps from AOSP code.

Bug: 16327484
Change-Id: I1fbeed8e1642e8228310cf0e7b95c4809b50901b

10 years agoMerge "Fix build break" into lmp-dev
Sandeep Siddhartha [Thu, 7 Aug 2014 18:27:31 +0000 (18:27 +0000)]
Merge "Fix build break" into lmp-dev

10 years agoFix build break
Sandeep Siddhartha [Thu, 7 Aug 2014 18:23:03 +0000 (11:23 -0700)]
Fix build break

Change-Id: I7af700671f1a2e910b6e08498381c8adb40631f8

10 years agoHandle same keyphrase for multiple users
Sandeep Siddhartha [Tue, 5 Aug 2014 18:56:58 +0000 (11:56 -0700)]
Handle same keyphrase for multiple users

Also notify the VIS of a change after finishing the change

Bug: 16816191
Change-Id: I6c96595819cd07182c3825c522d9bae559bb6814

10 years agoMerge "Read audio format from the recognition event" into lmp-dev
Sandeep Siddhartha [Thu, 7 Aug 2014 17:49:29 +0000 (17:49 +0000)]
Merge "Read audio format from the recognition event" into lmp-dev

10 years agoRead audio format from the recognition event
Sandeep Siddhartha [Wed, 6 Aug 2014 20:54:04 +0000 (13:54 -0700)]
Read audio format from the recognition event

Bug: 16549061
Change-Id: I9e418f7be67eb330b7bfaa97bbb90d0b5640469d

10 years agoNested pre-fling for AbsListView and ScrollView
Adam Powell [Thu, 7 Aug 2014 00:34:24 +0000 (17:34 -0700)]
Nested pre-fling for AbsListView and ScrollView

Add nested pre-fling support to all framework widgets that currently
support nested fling.

Change-Id: Ieaf9d12938dbfeea779c2aee2f5a081c287c8e96

10 years agoTIF: Do not log non-searchable channel watch history
Jae Seo [Thu, 7 Aug 2014 02:18:37 +0000 (19:18 -0700)]
TIF: Do not log non-searchable channel watch history

Bug: 16798476
Change-Id: Ic131009ad65a661331e4f8f0820c5c183a9f4986

10 years agoMerge "Initial changes to add task affiliation styling. (Bug 16656169)" into lmp-dev
Winson Chung [Thu, 7 Aug 2014 17:57:40 +0000 (17:57 +0000)]
Merge "Initial changes to add task affiliation styling.  (Bug 16656169)" into lmp-dev

10 years agoInitial changes to add task affiliation styling. (Bug 16656169)
Winson Chung [Thu, 7 Aug 2014 00:08:00 +0000 (17:08 -0700)]
Initial changes to add task affiliation styling.  (Bug 16656169)

- Fixing issue with launch-in-background animation

10 years agoMerge "Make TrafficStats uid attribution @SystemApi" into lmp-dev
Christopher Tate [Thu, 7 Aug 2014 19:43:55 +0000 (19:43 +0000)]
Merge "Make TrafficStats uid attribution @SystemApi" into lmp-dev

10 years agoMake TrafficStats uid attribution @SystemApi
Christopher Tate [Wed, 6 Aug 2014 21:19:56 +0000 (14:19 -0700)]
Make TrafficStats uid attribution @SystemApi

Anything that runs as a singleton may need to attribute traffic to
various client apps; in particular, backup transports need to do this.
Apropos of which, introduce a @SystemApi method specifically for that
purpose, setThreadStatsTagBackup().

Bug 16661321

Change-Id: Id5d22e28bdc68edb53f2a1fdba80b144fcbc61d2

10 years agoIntroduce system API for distinguishing the owner user
Christopher Tate [Wed, 6 Aug 2014 21:24:14 +0000 (14:24 -0700)]
Introduce system API for distinguishing the owner user

Support services that special case the owner but are instantiated
per-user, and so need to be able to distinguish.

Bug 16661321

Change-Id: I7ff5168c91e39821317fdf5cfaba34e90d30de95

10 years agoMerge "Revert "Remove String version of getBadgedLabel"" into lmp-dev
Kenny Guy [Thu, 7 Aug 2014 16:49:01 +0000 (16:49 +0000)]
Merge "Revert "Remove String version of getBadgedLabel"" into lmp-dev

10 years agoRevert "Remove String version of getBadgedLabel"
Kenny Guy [Thu, 7 Aug 2014 16:48:06 +0000 (16:48 +0000)]
Revert "Remove String version of getBadgedLabel"

This reverts commit ed0096c14ae1b17845bc9bb8fbb1cdc47adfdd68.

Change-Id: If026db7e804be81aaa02cfd2a4e1a0a03ee020f1

10 years agoRemove String version of getBadgedLabel
Kenny Guy [Thu, 7 Aug 2014 11:23:49 +0000 (12:23 +0100)]
Remove String version of getBadgedLabel

It was left to allow unbundled apps time to update.

Bug: 16484455
Change-Id: Ibae2576ac7fc88000ec81c669e66536aaa2e3e79

10 years agoam 6ebeefa0: am 904d7711: am 7b561be3: am 09c3c2ed: am ba31d628: am db94ea9e: am...
Deepanshu Gupta [Wed, 6 Aug 2014 22:59:08 +0000 (22:59 +0000)]
am 6ebeefa0: am 904d7711: am 7b561be3: am 09c3c2ed: am ba31d628: am db94ea9e: am f970d2c2: am 79c3f678: am 206c691b: am 72cf03a2: am 3a544a81: resolved conflicts for merge of a232a68d to jb-mr1.1-docs

* commit '6ebeefa04cb3c360d8028eb77e60bacf8a800cb1':
  Fix SystemProperties in LayoutLib.

10 years agoam 904d7711: am 7b561be3: am 09c3c2ed: am ba31d628: am db94ea9e: am f970d2c2: am...
Deepanshu Gupta [Wed, 6 Aug 2014 22:51:47 +0000 (22:51 +0000)]
am 904d7711: am 7b561be3: am 09c3c2ed: am ba31d628: am db94ea9e: am f970d2c2: am 79c3f678: am 206c691b: am 72cf03a2: am 3a544a81: resolved conflicts for merge of a232a68d to jb-mr1.1-docs

* commit '904d77118bab63139174470ef728ca9a53e75a15':
  Fix SystemProperties in LayoutLib.

10 years agoam 7b561be3: am 09c3c2ed: am ba31d628: am db94ea9e: am f970d2c2: am 79c3f678: am...
Deepanshu Gupta [Wed, 6 Aug 2014 22:45:23 +0000 (22:45 +0000)]
am 7b561be3: am 09c3c2ed: am ba31d628: am db94ea9e: am f970d2c2: am 79c3f678: am 206c691b: am 72cf03a2: am 3a544a81: resolved conflicts for merge of a232a68d to jb-mr1.1-docs

* commit '7b561be3a6fedebfce412cecd8c36d6686f6576c':
  Fix SystemProperties in LayoutLib.

10 years agoam 09c3c2ed: am ba31d628: am db94ea9e: am f970d2c2: am 79c3f678: am 206c691b: am...
Deepanshu Gupta [Wed, 6 Aug 2014 22:37:10 +0000 (22:37 +0000)]
am 09c3c2ed: am ba31d628: am db94ea9e: am f970d2c2: am 79c3f678: am 206c691b: am 72cf03a2: am 3a544a81: resolved conflicts for merge of a232a68d to jb-mr1.1-docs

* commit '09c3c2edb2391d3ffed9a07ec360b9f75b9f7637':
  Fix SystemProperties in LayoutLib.

10 years agoam ba31d628: am db94ea9e: am f970d2c2: am 79c3f678: am 206c691b: am 72cf03a2: am...
Deepanshu Gupta [Wed, 6 Aug 2014 22:30:06 +0000 (22:30 +0000)]
am ba31d628: am db94ea9e: am f970d2c2: am 79c3f678: am 206c691b: am 72cf03a2: am 3a544a81: resolved conflicts for merge of a232a68d to jb-mr1.1-docs

* commit 'ba31d628621f3d49195d141dabff30a7665f3b50':
  Fix SystemProperties in LayoutLib.

10 years agoam db94ea9e: am f970d2c2: am 79c3f678: am 206c691b: am 72cf03a2: am 3a544a81: resolve...
Deepanshu Gupta [Wed, 6 Aug 2014 22:25:50 +0000 (22:25 +0000)]
am db94ea9e: am f970d2c2: am 79c3f678: am 206c691b: am 72cf03a2: am 3a544a81: resolved conflicts for merge of a232a68d to jb-mr1.1-docs

* commit 'db94ea9ed03dbaa0ca075a433a986d7e414e8f8d':
  Fix SystemProperties in LayoutLib.

10 years agoam f970d2c2: am 79c3f678: am 206c691b: am 72cf03a2: am 3a544a81: resolved conflicts...
Deepanshu Gupta [Wed, 6 Aug 2014 22:21:54 +0000 (22:21 +0000)]
am f970d2c2: am 79c3f678: am 206c691b: am 72cf03a2: am 3a544a81: resolved conflicts for merge of a232a68d to jb-mr1.1-docs

* commit 'f970d2c201649843b8d51d094b865f16b15bc0bc':
  Fix SystemProperties in LayoutLib.

10 years agoam 79c3f678: am 206c691b: am 72cf03a2: am 3a544a81: resolved conflicts for merge...
Deepanshu Gupta [Wed, 6 Aug 2014 22:18:04 +0000 (22:18 +0000)]
am 79c3f678: am 206c691b: am 72cf03a2: am 3a544a81: resolved conflicts for merge of a232a68d to jb-mr1.1-docs

* commit '79c3f678d21f6b3c058623217cbe5dd57a553fe8':
  Fix SystemProperties in LayoutLib.

10 years agoam 206c691b: am 72cf03a2: am 3a544a81: resolved conflicts for merge of a232a68d to...
Deepanshu Gupta [Wed, 6 Aug 2014 22:13:18 +0000 (22:13 +0000)]
am 206c691b: am 72cf03a2: am 3a544a81: resolved conflicts for merge of a232a68d to jb-mr1.1-docs

* commit '206c691bfdb3a6b78d35c7481365980dd387b8c9':
  Fix SystemProperties in LayoutLib.

10 years agoam 72cf03a2: am 3a544a81: resolved conflicts for merge of a232a68d to jb-mr1.1-docs
Deepanshu Gupta [Wed, 6 Aug 2014 22:09:13 +0000 (22:09 +0000)]
am 72cf03a2: am 3a544a81: resolved conflicts for merge of a232a68d to jb-mr1.1-docs

* commit '72cf03a27a73e91d4a3eabf74e0384b310f4a5b2':
  Fix SystemProperties in LayoutLib.