151700 Commits

Author SHA1 Message Date
Ruben Brunk
c90b5ebbbf Merge "camera2: Avoid spurious IDLE transitions." into lmp-dev 2014-09-22 23:19:46 +00:00
Adam Lesinski
2e51cc6842 Merge "Revert behavior of Lockscreen Activity Launch to KK" into lmp-dev 2014-09-22 23:17:47 +00:00
Ruben Brunk
6f387098c2 camera2: Docs update for available AF modes.
Bug: 17588783
Change-Id: If4010517e79b3a51bd6231424a10be672ff5a252
2014-09-22 16:13:54 -07:00
Vineeta Srivastava
4293d978d7 Merge "AT&T short dialing code" into lmp-dev 2014-09-22 23:05:50 +00:00
John Reck
c1dab7a201 Merge "Aggressively trim memory for system_process" into lmp-dev 2014-09-22 23:05:02 +00:00
Adam Lesinski
246a8bcadd Revert behavior of Lockscreen Activity Launch to KK
There exists a lifecycle regression where launching an
app from the lockscreen (camera, etc.) causes a series
of onResume, onPause, onRestart, onStart, onResume.

This CL reverts the behavior to what it was in KK, which
is to say that the Launcher is first resumed/paused, then
the Activity being launched has a simple onRestart,onStart, onResume
lifecycle.

Bug:17459745
Change-Id: I04091d2f86a929ee972c8d6debc1beb033c135a8
2014-09-22 16:04:32 -07:00
Jing Zhao
184f0871f6 AT&T short dialing code
User should be able to dial 0 or 00 in AT&T network.
The code should not be taken as MMI Code.

Bug: 17314389
Change-Id: I7132f08b633c6539dc0dd4e2d7865adcda795913
2014-09-22 23:04:14 +00:00
John Reck
73840ea367 Aggressively trim memory for system_process
Bug: 16978006

Don't HWUI-accelerate KeyguardScrim
Aggressively trim memory as soon as a ViewRootImpl
dies or has its visibility changed.

Change-Id: Ie1b7c9d30653456bd2e9f309128174f972999368
2014-09-22 16:01:56 -07:00
Ruben Brunk
72a23d7b50 camera2: Add missing whitebalance mapping.
Bug: 17588192
Change-Id: I5d161dd22f2057a33a461157d678d4217a5f88f8
2014-09-22 15:59:50 -07:00
Dianne Hackborn
5d47a09352 Merge "Fix issue #17609716: Frequent crash in system_server (RT restarts)" into lmp-dev 2014-09-22 22:46:54 +00:00
Yigit Boyar
de8d78906d Remove unnecessary waits in TouchUtil's drag
TouchUtil's drag method tries to sync after sending
each event which is not necessary. Sync are slow so
removing them greatly improves test running time.

Bug: 17323559
Change-Id: Ia4ed02b2af44da0d821d93d28f963005d9d7ea79
2014-09-22 15:22:50 -07:00
Ricardo Cervera
44737ea5e5 am 4d0f84bb: am 556f23aa: Merge "docs: Fixed Developer Tools image. Bug: 17609483" into klp-modular-docs
* commit '4d0f84bb55957c0f5372b53fe94ddfb53c9d0cf8':
  docs: Fixed Developer Tools image. Bug: 17609483
2014-09-22 21:44:13 +00:00
Svetoslav
a3df39cd24 Merge "Loosen the constraint for releasing a shared file." into lmp-dev 2014-09-22 21:40:00 +00:00
Svetoslav
ab4fbefe66 Merge "Fix a bug in parsing app widget state XML." into lmp-dev 2014-09-22 21:39:49 +00:00
Ricardo Cervera
4d0f84bb55 am 556f23aa: Merge "docs: Fixed Developer Tools image. Bug: 17609483" into klp-modular-docs
* commit '556f23aa1ae01832611e5e3b4059b47e6a7a00fb':
  docs: Fixed Developer Tools image. Bug: 17609483
2014-09-22 21:37:06 +00:00
Ricardo Cervera
556f23aa1a Merge "docs: Fixed Developer Tools image. Bug: 17609483" into klp-modular-docs 2014-09-22 21:26:35 +00:00
Baligh Uddin
48fed6ea93 Import translations. DO NOT MERGE
Change-Id: I014be089f3628e5ff03cd430ec091782b11f8e9b
Auto-generated-cl: translation import
2014-09-22 14:21:52 -07:00
John Spurlock
e35c9bf9ba Merge "Zen: Add events as a new config attribute." into lmp-dev 2014-09-22 21:09:39 +00:00
Alan Viverette
e2aa520598 Merge "Remove trailing zeroes from vector drawable pathData" into lmp-dev 2014-09-22 21:07:10 +00:00
David Friedman
8ec839c95c am 6bacce4f: am 8dcf1c32: Fixes two typos, one in each file.
* commit '6bacce4f24ca05fc95c38ea1e7df75dd176b81c2':
  Fixes two typos, one in each file.
2014-09-22 20:51:29 +00:00
Svetoslav
cf3a86b559 Loosen the constraint for releasing a shared file.
In the spooler we have the renderer reading a file to visualize
content and the app writing a file to produce the content. Since
we have to swap the file under the renderer we have a mutex file
provider that both parties can request, use when released, and
release when required. This enables us to request the file which
closes the renderer and when the renderer is closed ask the app
to write some more pages, then open the renderer, and so on. The
mutex file provider was throwing of a thread that does not own
the file thries to relase it which is not needed, this should be
just a nop.

bug:17607134

Change-Id: Id6a2ce92d70077f57978b95315648faf02c13c68
2014-09-22 13:48:44 -07:00
John Spurlock
2dac62c2e9 Zen: Add events as a new config attribute.
Decouple events from alarms in the zen interception function,
and default the new allowEvents to true.

Bug:17580878
Change-Id: Iff10df385206ad73c3423ff118c79e94a10918d9
2014-09-22 16:44:37 -04:00
David Friedman
6bacce4f24 am 8dcf1c32: Fixes two typos, one in each file.
* commit '8dcf1c32299e2c1c58c053925c572d58f2a74ee9':
  Fixes two typos, one in each file.
2014-09-22 20:41:17 +00:00
Dianne Hackborn
19c3b5d0d9 Merge "Work on issue #17581375: Nexus 5 getting low on RAM" into lmp-dev 2014-09-22 20:40:17 +00:00
Dianne Hackborn
c2f6f947b6 Fix issue #17609716: Frequent crash in system_server (RT restarts)
There was some code here locking on the lock object instead of
the main activity manager lock...!!!

Change-Id: Ic85151fbef915f6fb8fd5ce3c1a7e9b810412cb6
2014-09-22 13:36:42 -07:00
Michael Wright
3119b82c43 Merge "Monitor MediaRouter for remote display connections." into lmp-dev 2014-09-22 20:04:30 +00:00
Alan Viverette
9781c5c736 Remove trailing zeroes from vector drawable pathData
Speeds up parseFloat.

BUG: 17391797
Change-Id: I81cf824f6ba97e65ed9628a15ad762c4c9860630
2014-09-22 13:02:37 -07:00
Ricardo Cervera
4af9fa4b23 docs: Fixed Developer Tools image. Bug: 17609483
Change-Id: I400713dfe5ca54da193dccf15dac117dc4e11ca2
2014-09-22 19:56:48 +00:00
Dianne Hackborn
d412563922 Work on issue #17581375: Nexus 5 getting low on RAM
Try to catch any cases where we remove a ProcessRecord from the LRU
list when it may still have a process associated with it, report
that this happened, and try to make sure the process is killed.

Change-Id: Icd74439caba5e1c283c01a49a46dae926a00ba71
2014-09-22 12:52:49 -07:00
Amith Yamasani
ae7034aaf0 Fix regression in launching CantAddAccountActivity for correct user
This activity should be launched for the user calling addAccount()

Bug: 17608124
Change-Id: I5d7e47bc625442494dc322ccafdc25f5f5c6aa7b
2014-09-22 12:46:50 -07:00
John Spurlock
101b785d42 Merge "Doze: Fix NPE found when pulsing and !dozing." into lmp-dev 2014-09-22 19:35:55 +00:00
John Spurlock
b9e9729887 Merge "Zen: Add content description to settings icon." into lmp-dev 2014-09-22 19:35:12 +00:00
Svetoslav
c616b3e2f1 Fix a bug in parsing app widget state XML.
When restoring app widget state from XML we read all providers,
hosts, and widgets and only after reading all hosts and providers
for all members of the group we hookup the widgets as they may
cross profile boundary. To esntablish the host-widget and provider-
widget relation we use a tag for the host and the provider that
are assigned before saving the state to XML. When restoring we
are using the tags to match widgets with hosts and providers. The
bug was that we were not clearing the tag of all hosts and providers
before reading from XML as we want the only tags that are defined
to be the ones we are reading. This resulted in wrong app widget
restore for a secondary user.

bug:17505027

Change-Id: I035d8f13142c6b9dbc9d658b82390f9cd8d75e0d
2014-09-22 12:31:04 -07:00
John Spurlock
58a28eb85e Doze: Fix NPE found when pulsing and !dozing.
Bug:17390492
Change-Id: Id6665c5bb8fa13ee08f68478c601b77a4f9e3f6a
2014-09-22 15:20:52 -04:00
Alan Viverette
e786895918 Merge "Pass explicit null theme when preloading drawables" into lmp-dev 2014-09-22 19:18:03 +00:00
John Spurlock
b753372da6 Zen: Add content description to settings icon.
Bug:17578039
Change-Id: I6c513200b2ac1d6abd6da0dd7412500a12fded28
2014-09-22 15:14:48 -04:00
Baligh Uddin
28ba5a1c93 Import translations. DO NOT MERGE
Change-Id: Id7fb89dc7293df6edf1379988174044741fe57ea
Auto-generated-cl: translation import
2014-09-22 11:20:48 -07:00
Yohei Yukawa
ca5e72c5ae Merge "Work on issue #17506095: Plumb a new configuration to IMMS" into lmp-dev 2014-09-22 18:02:12 +00:00
Adam Lesinski
2b7ee9a18e Merge "AAPT: Continuation of public/private attribute fix" into lmp-dev 2014-09-22 18:00:31 +00:00
Adam Lesinski
e572c011fe AAPT: Continuation of public/private attribute fix
XML files like layouts are now scanned and checked
for v21 attributes. If those kinds of attributes
are found, then we remove them in the original
version and synthesize a new xml file under the
v21 configuration.

Bug:17520380
Change-Id: Icf984cb96134180a2e35349c1dbf2cef9a8f0bda
2014-09-22 10:51:20 -07:00
Jason Monk
6783bef9b9 Fix accessibility announcement for QS details
Rather than using announceForAccessibility, which will provide the
wrong experience for Braille users, send a
AccessibilityEvent.TYPE_WINDOW_STATE_CHANGED.

Bug: 17578404
Change-Id: I3e2c465511cf2135f216d01d29319a057ebbfbda
2014-09-22 13:50:05 -04:00
David Friedman
8dcf1c3229 Fixes two typos, one in each file.
Change-Id: I5f4a9100d20f8ad50052d63dc106a030ac75b1b0
2014-09-22 10:24:41 -07:00
Przemyslaw Szczepaniak
f9ba548f21 Fix issues with new TTS API
Bug: 17389935
Change-Id: I59234b3222f59dc89be7e40f7d4706b1f8c610ce
2014-09-22 17:39:16 +01:00
Adrian Roos
38fc7606b1 Ensure that force lock works with accessibility enabled
Fixes a bug where the force lock gesture was not available
when an accessibility service was active, but touch exploration
wasn't.

Bug: 17514298
Change-Id: Ib42e28f643559040ad5f24d45456b0a41008c647
2014-09-22 17:34:56 +02:00
Jason Monk
fdb35f0526 Merge "Announce title of QS detail views" into lmp-dev 2014-09-22 15:33:06 +00:00
Jason Monk
7eb6202fee Fix status bar cast icon not updating
Change the listening in CastControllerImpl so that it will always
at least passive discovery when callbacks are added.  When discovering
is set this will switch to request discovery.  This allows the
status bar to catch disconnect callbacks when QS is not discovering.

Bug: 17555869
Change-Id: Id2a80b98f6c7ca7e6a4d0ff00315d10a109e8259
2014-09-22 10:53:50 -04:00
Jason Monk
8051316273 Announce title of QS detail views
When entering a QS detail view announce the title of the view for
accessibility.

Bug: 17578404
Change-Id: I4cfd1bc85604af822b4f5fce852b39687f71cbae
2014-09-22 10:21:01 -04:00
Alan Viverette
84e001a9f5 Pass explicit null theme when preloading drawables
Prevents "unresolved theme attributes" warning.

BUG: 17589490
Change-Id: I5217d85b1d5ce8b551315ee8b1ca79eccfac3f10
2014-09-22 07:05:33 +00:00
Lorenzo Colitti
5026279ce4 Add a throw route to the VPN endpoint.
Without this, legacy VPN types that don't send all traffic
through a tun or ppp interface, but instead have the kernel
apply IPsec transforms directly to the original packets, will
try to send traffic to the VPN endpoint through the VPN, which
will not work.

Bug: 17462989
Change-Id: I3ebf0cec726dd12b2c57ba5d66775f8c02b25b70
2014-09-22 13:10:15 +09:00
Lorenzo Colitti
4b0f8e6fb7 Support non-unicast route types: unreachable and throw.
Bug: 17462989
Change-Id: I8635472ca3e96ec2866af2de48e6260ab2da13fb
2014-09-22 13:10:15 +09:00