148883 Commits

Author SHA1 Message Date
Jungshik Jang
44bb3a5bd6 Add null-check for system audio mode change event.
Bug: 17270923
Change-Id: I23fa593893591f6032105ff936b8eee10d8c0cfa
2014-08-26 17:24:24 +09:00
Ruben Brunk
6d388af853 Merge "camera2: Fix number of DNG NoiseProfile coeffs." into lmp-dev 2014-08-26 06:55:26 +00:00
Ihab Awad
ed25dda8ba Merge "Support Conferences in Remote Connections" into lmp-dev 2014-08-26 05:30:17 +00:00
Jungshik Jang
339227da7c Fix several bugs in HdmiControlService.
1. Fix HdmniLogger null pointer exception
2. Should check arc enabled port for arc requests
3. Disallow ARC action coming from indirect AVR device.
4. Check original opcode of feature action
5. Add bitmasking to all parameters of cec message.

Bug: 17243701, Bug: 17238394, Bug: 17241401
Change-Id: Iff0da78b0de9a29fb00e683c261528e0baea66af
2014-08-26 14:13:57 +09:00
Ihab Awad
b8e85c74e5 Support Conferences in Remote Connections
Bug: 16957997

Change-Id: I598854b43aad2f10b5322439741588f5326b74c2
2014-08-25 21:51:19 -07:00
Adrian Roos
93b18bda1b Update soundscape for L
Bug: 15725449
Change-Id: I8c1033b24a50a61185d042bd6d214d7a3407ccbe
2014-08-26 04:24:31 +00:00
Dan Sandler
ea75fddbb4 Allow listeners to fetch current notifications by key.
Bug: 16574195
Change-Id: I269dbcc7fc8912d84229f6a3d950b0015625ae7a
2014-08-26 04:24:10 +00:00
Adam Lesinski
1e466385d4 Have R classes generate their own reference rewrite logic
Change-Id: I0e5b8311fc3479d966a49f9acf0d4c32a6a024d3
2014-08-25 20:04:07 -07:00
Chulwoo Lee
f710befdab Merge "Fix checking trackId" into lmp-dev 2014-08-26 02:46:42 +00:00
Paul Jensen
5df4bec504 Fix to allow removing sign-in notification when network removed.
When the NetworkMonitor is told a network disconnected and a sign-in
notification has been shown to the user, the NetworkMonitor requests
the notification be removed.  This request goes to the
ConnectivityService who may have already removed the NetworkAgentInfo
from mNetworkForNetId so we cannot look up the NetID in there.
There is no harm in allowing notification hiding for networks that
are disconnected as the notification logic does not effect the
Network state (like the validation message that caused the addition
of the Network liveness check).

bug:17261757
Change-Id: Id0a299e230ae37e641ac2faeebc45550e27c1fa4
2014-08-25 22:45:39 -04:00
Chulwoo Lee
984d99b584 Fix checking trackId
BUG: 17261638
Change-Id: I141b7c9de1289c49f29d2f1e1ac534045abb333d
2014-08-26 11:29:17 +09:00
Mohamad Ayyash
c508d03a94 Set text color for the output log.
In some devices the text color is the same as the background color.

Change-Id: I215d381a427e3b3ed7e29d3078752d093318b53d
2014-08-25 19:27:57 -07:00
Matthew Williams
92a1c09aa4 Add maximum time-out to sync operation
BUG: 16219182
We have seen cases where run-away syncs keep going for a very long time.
The default behaviour is that a sync can run for as long as it wants once
there is nothing else waiting.
This CL will change that, and impose a maximum time-limit of 30mins on
each sync, after when the op with be cancelled and the adapter will go
into back-off.
This behaviour will only take effect for syncs that are not initializations,
or user-initiated.

Change-Id: I1731270ca2a6500b19fc125186aa0b0cd81d1126
2014-08-25 19:25:55 -07:00
Winson Chung
a4ccb86ddc Multiple performance changes to speed recents invocation/app launching time. (Bug 16987565)
- Reverting changes to the existing thumbnail transition to prevent breaking applications
  that currently depend on that transition.  As a result, we need to create a new, hidden,
  aspect-scaled thumbnail transition, and instead use that thumbnail to animate the
  recents header so that we don't have to wait to do that inside the Recents activity.

  In order for this to work, we also have to ensure that the thumbnail surface destruction
  is synchronized with the application that is currently closing (when going down to
  recents) or opening (when coming back up).  The current thumbnail is destroyed when the
  animation ends, but that can be at least 1 frame before the surface for the animating
  window is destroyed.  We change this by deferring destruction of this thumbnail window
  to the animation that is being closed.

  Especially on the way up, not having to wait for us to hide the header before doing the
  transition up can save us the duration of that first animation (> 100ms).

- Other optimizations:
  * No longer creating a new stack view on each transition to calculate the target rect
  * Removing unnecessary call to get the thumbnail when transitioning up/down (the actual
    window does its own animation.
  * We reduced numerous system calls per task by adding a flag to ignore home-stack tasks
    and caching the activity label and icon (and task description icon).  These caches
    follow the same eviction schemes as the thumbnail and icon cache.

- Also tweaked the touch slop for the nav bar swiping gesture to prevent conflicting with
  tapping on home (Bug 17109581)

Change-Id: Ica697aad788051a9203edd9351c583e1cb038a71
2014-08-25 18:52:32 -07:00
Adam Powell
b79a70ab71 Merge "Add state save/restore for Toolbar" into lmp-dev 2014-08-26 01:29:15 +00:00
Adam Powell
31c91c8179 Add state save/restore for Toolbar
Save and restore the menu state for Toolbars. This will make sure that
we remember expanded action views and opened overflow menus across
state save/restore.

Remove an extra event post involved in the initial population of
action bar menus. Apparently at some point an extra level of this was
added that isn't necessary. Process any pending menu invalidations
immediately when we perform window state restoration. This makes sure
individual bits of state in action views, etc. are also restored
properly.

Bug 12005461

Change-Id: Icf905698576b11a59641bc319adc62300857906f
2014-08-25 18:25:54 -07:00
Matthew Williams
3c8a42ddd9 Don't back-off ALREADY_IN_PROGRESS syncs
BUG: 16219182
The issue is that some adapters get into a bad state where
SyncManager assumes them complete yet they are still going. This
result in ALREADY_IN_PROGRESS coming back from the adapter, the
default retry-time for which is about 10s.
Subject ALREADY_IN_PROGRESS to exponential back-off to avoid waking
up SM every ~10 seconds

Change-Id: I6cef787366436c678bac762ec6daf6212f04badc
2014-08-25 18:09:41 -07:00
Robert Greenwalt
ad3fc40737 Merge "Update VPN whitelist/blacklist api docs." into lmp-dev 2014-08-26 00:58:51 +00:00
Shishir Agrawal
b2d21c21cc Merge "Modify IccOpenLogicalChannelResponse: Document and rename constants." into lmp-dev 2014-08-26 00:58:50 +00:00
Robert Greenwalt
fc4f721a87 Update VPN whitelist/blacklist api docs.
Addressing what happens to unwhitelisted or blacklisted apps.

bug:17206162
Change-Id: I0b863946de277e6528675cc5412267a03f7b6841
2014-08-25 17:55:28 -07:00
Adam Lesinski
31245b4f06 Introduce anydpi density resource qualifier
This is meant to be used with scaleable vector
drawables, and are chosen as the best match unless
there is a configuration that matches the density
requested exactly.

Bug:17007265
Change-Id: Ic3288d0236fe0bff20bb1599aba2582c25b0db32
2014-08-25 17:47:30 -07:00
vandwalle
b928a3802b add radio stats to link layer
Bug:15563188

Change-Id: I3d2a230b0362520b9f1b2bc3792260116971e106
2014-08-26 00:28:42 +00:00
Alan Viverette
7119d0d66b Update date and time picker styling
Change text sizes, fix year picker selected color, remove pulse
animations, fix landscape layout centering.

BUG: 17185948
BUG: 17187072
BUG: 14973897
BUG: 16938600
Change-Id: I11ad0abb217a950f4a96d1f781e08f09796c67bb
2014-08-25 17:27:02 -07:00
Craig Mautner
1adbf22861 Merge "Update API per council requests" into lmp-dev 2014-08-26 00:00:18 +00:00
Craig Mautner
79323120dd Remove redundant call to window manager addTask()
If there are activities in persisted tasks then calling addAppToken()
will automatically call addTask(). If there are no activities then
calling addTask() is a nop. In either case the call to addTask() is
unnecessary. It was actually worse than unnecessary because in the
former case we ended up with two identical tasks in the Window
Manager.

Fixes bug 16958544.

Change-Id: I2dc4b50aa94668873c1a783c47e0c696d62616f0
2014-08-25 16:56:52 -07:00
Dongwon Kang
f178c14919 Merge "TIF: fix NPE when notifyXXX is called on c-tor of Session implementation" into lmp-dev 2014-08-25 23:44:34 +00:00
Dongwon Kang
c88b8f8722 TIF: fix NPE when notifyXXX is called on c-tor of Session implementation
Bug: 17241260
Change-Id: Ib82ed9fb98f13e31cdf70a3bb273384abcf1b33a
2014-08-26 08:41:40 +09:00
Chris Craik
366b4234ea Merge "Create z reordering boundaries around dispatchDraw" into lmp-dev 2014-08-25 23:26:19 +00:00
Dianne Hackborn
4cce1de9fe Merge "Fix issue #16366571: UIDs for work and normal Chrome processes are the same" into lmp-dev 2014-08-25 23:21:48 +00:00
Alan Viverette
83a82983eb Merge "Update material colors" into lmp-dev 2014-08-25 23:18:16 +00:00
Alan Viverette
a1fe772bd7 Update material colors
BUG: 17212898
Change-Id: Ic0806db57e88d5143b4241e419970ffeb2468d50
2014-08-25 16:15:06 -07:00
Robert Greenwalt
739d6dbf9b Merge "Remove listen requests properly." into lmp-dev 2014-08-25 23:12:46 +00:00
Michael Wright
bcda0f3170 Add missing attr for KEYCODE_VOICE_ASSIST
Change-Id: Ifd04b118287c1847a6b287110ef1c6ca4bfcc80a
2014-08-25 15:55:20 -07:00
Alan Viverette
9e05f91cee Merge "Revert "Update shadow parameters for television."" into lmp-dev 2014-08-25 22:55:05 +00:00
Robert Greenwalt
4456cf3ff0 Remove listen requests properly.
https://googleplex-android-review.googlesource.com/#/c/527772/
correctly stopped adding listen requests to the mNetworkForRequestId
sparse array, but when we remove requests, if it's not getting
serviced by a network, we don't remove it from the network.  That
means that when we go to send a notification for that network we have
a request affiliated with the network, but don't have data for the
request and hit this NPE.

If it's not a request, don't do the optimization and remove it only
from the network servicing the request, but instead scan all networks
and remove it from each, if found.

bug:17239054
Change-Id: I49165ed08c224ef20f703469f9ce39df5f21b163
2014-08-25 15:42:10 -07:00
Tim Murray
1df3f99d2d Merge "Update RenderScript docs." into lmp-dev 2014-08-25 22:35:58 +00:00
Chris Craik
8afd0f245c Create z reordering boundaries around dispatchDraw
bug:16012254

This means rendernodes with a Z will no longer be drawn at the end of
their parent's DisplayList, but at the end of the associated reorder
region (DisplayListData::Chunk).

Change-Id: Ia033fee9d9a4db567b2a8d5e90fc57a4d0a64544
2014-08-25 15:35:40 -07:00
John Spurlock
d38eeb5512 Merge "QS: Wire up screen casting to tile/panel." into lmp-dev 2014-08-25 22:35:25 +00:00
Alan Viverette
f707774ae1 Revert "Update shadow parameters for television."
Missing several important values, plus we're changing the
styling attributes so this would break anyway.

This reverts commit 97fe804398a3c6c3f7bd888f7c0129f1c130bb00.

BUG: 17221975
Change-Id: I3b4a712ca21f3821ecadfc6c9d91b604f7154f0e
2014-08-25 22:32:14 +00:00
John Reck
c1469f39b5 DO NOT MERGE Copy shaders
Bug: 16733996

Change-Id: I84afc1b24a23dd6ddf5ab48fb2bfcbe779f8d3e3
2014-08-25 15:27:11 -07:00
Nancy Chen
e4b1d57dfd Merge "API review PhoneManager -> TelecommManager. Rename methods (6/6)" into lmp-dev 2014-08-25 22:24:09 +00:00
Jim Miller
777f5b2f47 Hide fingerprint API until new API is ready
Fixes bug 16487912

Change-Id: I7dff69a983fb0da4b41e23266a6ec92058e03dbc
2014-08-25 15:12:22 -07:00
Baligh Uddin
5480b3746a am 00e4b6c5: (-s ours) am b48db445: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-modular-dev
* commit '00e4b6c50af5d6cb38d0e0dd21e14624d65e109d':
  Import translations. DO NOT MERGE
2014-08-25 22:07:59 +00:00
Baligh Uddin
5a292604eb am 7fbc5ae8: (-s ours) am 2be95a8b: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-modular-dev
* commit '7fbc5ae88515362f41ff382d8e614e1225787183':
  Import translations. DO NOT MERGE
2014-08-25 22:07:50 +00:00
Baligh Uddin
d15d5c8bd4 am d12be991: (-s ours) am 21281ae6: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-modular-dev
* commit 'd12be991afdaa80a556273e5ad91db2a824002c8':
  Import translations. DO NOT MERGE
2014-08-25 22:07:44 +00:00
Baligh Uddin
63cdabda89 am 33a062f2: (-s ours) am 7da569a5: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-modular-dev
* commit '33a062f209823a26fbc868801ba2250f331340f6':
  Import translations. DO NOT MERGE
2014-08-25 22:07:40 +00:00
Aravind Akella
01a83089b7 am 303df3b6: am 765c08fd: am 611dea81: Step Counter documentation fix.
* commit '303df3b6ae4f6bac58012d5f14c9b764e944709b':
  Step Counter documentation fix.
2014-08-25 22:07:33 +00:00
Baligh Uddin
4d4093aa12 am 90a7cbba: (-s ours) am d6c7fd28: (-s ours) Merge "Import translations. DO NOT MERGE" into klp-modular-dev
* commit '90a7cbba0e9b437d4dffc1e03b2d17669a31c1b1':
  Import translations. DO NOT MERGE
2014-08-25 22:07:28 +00:00
Baligh Uddin
db88184dce am c60170b9: (-s ours) am b3024901: (-s ours) Import translations. DO NOT MERGE
* commit 'c60170b96f6020f0bb501b57bd5890fbc7079ad3':
  Import translations. DO NOT MERGE
2014-08-25 22:07:24 +00:00
Quddus Chong
b9fc2b4fc7 am 9893c642: am f42fdfd9: am 152cc584: Merge "docs: Added additional documentation for specifying OAuth scopes. bug: 12650251" into klp-modular-docs
* commit '9893c6420d0a127b3a3769a1deb2a8d397267e9b':
  docs: Added additional documentation for specifying OAuth scopes. bug: 12650251
2014-08-25 22:06:39 +00:00