Commit Graph

253881 Commits

Author SHA1 Message Date
Narayan Kamath
b85e9e9108 Process: Fix communication with zygote.
am: 8e69dd2284

Change-Id: I3860d3f66e256a6446df5d8ce20f752d1c002e0f
2016-08-18 09:50:52 +00:00
Narayan Kamath
6829cf28e2 Merge "Process: Fix communication with zygote." into klp-dev 2016-08-18 09:46:18 +00:00
TreeHugger Robot
4b30053ede Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-08-18 01:23:05 +00:00
TreeHugger Robot
1af694510d Merge "AppIdleHistory: Only write screen on durations during regular sync" into nyc-mr1-dev 2016-08-18 01:14:32 +00:00
Andy Hung
737d9fb181 AudioSystem: Verify audio port array information
Bug: 30737845
Change-Id: Id092086862bc527fccc5e9f34c8a3ab16167ae92
2016-08-17 17:58:58 -07:00
Svet Ganov
442ed57e4b Grab lock when accessing mutable state
bug:30881375

Change-Id: Ied52fd9666f28b5c2038144b85cd74480ccfde43
2016-08-18 00:32:56 +00:00
Adam Lesinski
f2d87eba75 AppIdleHistory: Only write screen on durations during regular sync
Stop writing to disk every time the display goes off. Only write to
disk periodically.

Consequences

Previously, if the device rebooted after the screen duration was written
to disk, apps would appear more stale than they actually were.

Now apps will always look fresher, which is a better scenario.

Bug:30807864
Change-Id: Ia69a2e51fc9e397789215b449fae56fa3e29c74a
2016-08-17 16:42:46 -07:00
Jim Miller
669a153531 Fix vulnerability in LockSettings service am: 2d71384a13 am: 485fbda04c am: 229de7088e am: cb83f6188b
am: e3457fc127

Change-Id: I1bc40c141498e62cad36acc9568177cb88debc11
2016-08-17 23:26:57 +00:00
smain@google.com
eee3518d11 add workaround for annotations dependency conflict with espresso
Change-Id: Ia5f06e35b034d207f19d061b27ddbecd66012130
2016-08-17 16:23:30 -07:00
Jim Miller
e3457fc127 Fix vulnerability in LockSettings service am: 2d71384a13 am: 485fbda04c am: 229de7088e
am: cb83f6188b

Change-Id: I82302931ab714e25ec21721dc05480e1f2d447b0
2016-08-17 23:22:33 +00:00
Jim Miller
cb83f6188b Fix vulnerability in LockSettings service am: 2d71384a13 am: 485fbda04c
am: 229de7088e

Change-Id: I8e9d946f96933c1338261d8adf80156cb67d3ba1
2016-08-17 23:15:43 +00:00
Jim Miller
229de7088e Fix vulnerability in LockSettings service am: 2d71384a13
am: 485fbda04c

Change-Id: I07def32199ecdbbb32aa6ecaca20724cfc81265c
2016-08-17 23:07:46 +00:00
Dirk Dougherty
4fa4b29890 Merge "dd new ds-static doc build target to generate static docs (only) for devsite without resolving @links." into nyc-dev
am: 96855c49a6

Change-Id: If07272ee0de59b546df04f0232219bb0954da582
2016-08-17 22:59:31 +00:00
Jim Miller
485fbda04c Fix vulnerability in LockSettings service
am: 2d71384a13

Change-Id: I62ca5fb150022fe0971329294b1063957f397248
2016-08-17 22:59:27 +00:00
Dirk Dougherty
d66ec65b77 dd new ds-static doc build target to generate static docs (only) for devsite without resolving @links.
am: b042ab1eb6

Change-Id: I725ff3bce89572d06f76dd9f1860365514d27d56
2016-08-17 22:59:23 +00:00
Dirk Dougherty
96855c49a6 Merge "dd new ds-static doc build target to generate static docs (only) for devsite without resolving @links." into nyc-dev 2016-08-17 22:53:24 +00:00
Bill Yi
9d652db6a4 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 30362824
Change-Id: I319b881d2a02816d932688c70c61f4ad2b315ef8
2016-08-17 15:33:39 -07:00
TreeHugger Robot
712dde29ff Merge "BackgroundDexOptService: Check for low storage conditions." into nyc-mr1-dev 2016-08-17 22:07:13 +00:00
TreeHugger Robot
c1a36814e5 Merge "AAPT: Handle gaps in resources when building splits" into nyc-mr1-dev 2016-08-17 21:46:01 +00:00
Tyler Gunn
36863797cd Merge "Add Telephony Connection event for handover from WIFI to LTE." into nyc-mr1-dev 2016-08-17 21:19:42 +00:00
Hemal Patel
65813dff14 Docs: Fixed the Bluetooth guide link
Fixed the link that points to the Bluetooth guide.

Bug: 29268546
Change-Id: I51c48cebf45c78481f8853a93ff7bcd8483d69ba
2016-08-17 13:55:09 -07:00
Felipe Leme
a11d02477e DO NOT MERGE ANYWHERE
(cherrpy pick of commit cc8fcf2efd66afdaa900b4d27e1eb784e8d40752).

Don't open drawer when back is pressed after being launched externally.

Change-Id: I3e8afd68c33b519dd5d6b27e3fa94653c2537612
Fixes: 30743235
2016-08-17 13:54:02 -07:00
Phil Weaver
ee4ff424ea Merge "Restart accessibility services after they update." into nyc-mr1-dev 2016-08-17 20:52:06 +00:00
Felipe Leme
20488d97cd DO NOT MERGE ANYWHERE - Clear preferences when package is removed.
(cherry pick of commits 2154caf2f80fa87df84813b8e344f85094a454fd and
da1fc0a9c23697cc255efdccc47862bd1277da3f).

Change-Id: I5a019d771da6ff52ea36ee683a44405f6ea24853
Fixes: 30900628
Fixes: 28722556
2016-08-17 13:51:01 -07:00
Tyler Gunn
b5ed860de7 Add connection events for indicated when a connection is remotely held.
Note: This is different than the existing EVENT_ON_HOLD_TONE_START
and EVENT_ON_HOLD_TONE_END events, which trigger playing a hold tone for
remotely held calls.  Those events also take into account whether the call
is foreground/background; it is left as a future exercise to clean that
up.

Bug: 30349182
Change-Id: I919365d243ae3b9fe56454c7a2b9d5805b2c03a2
2016-08-17 13:48:27 -07:00
Alan Viverette
8ecc7f7303 Merge "Announce the date for accessibility using EMMMMdy format" into nyc-mr1-dev 2016-08-17 20:14:33 +00:00
Adam Lesinski
26ae640c34 AAPT: Handle gaps in resources when building splits
Due to public ID assignment, gaps in resource type and entry
IDs can occur. This can lead to null pointer dereferencing
if not careful. This happened in ResourceTable::getDensityVaryingResources()
which is called when building Splits.

Bug:30879690
Change-Id: I588e4dcd2e042fccfcb2e87967b5cbd0d23b4497
(cherry picked from commit 081d1b4cf6)
2016-08-17 19:53:01 +00:00
Hemal Patel
97632afe5e Merge "Docs: Renamed Google Now to Google Voice Actions" into nyc-docs am: c7902aa4bb
am: 5e086dc3bb

Change-Id: I68730df7e316e2bb9f58b7b9732a06222305bfea
2016-08-17 19:45:03 +00:00
Hemal Patel
ca0ef33746 Docs: Renamed Google Now to Google Voice Actions am: 86bbfaabdd
am: 00ff40145d

Change-Id: Ib165d9d5dd73a9f84ae45f82cb17f04a172e6804
2016-08-17 19:44:58 +00:00
Yohei Yukawa
4aa5325ba8 Merge "Make View#isTemporarilyDetached() less confusing" into nyc-mr1-dev 2016-08-17 19:41:40 +00:00
Hemal Patel
5e086dc3bb Merge "Docs: Renamed Google Now to Google Voice Actions" into nyc-docs
am: c7902aa4bb

Change-Id: I45943e80b869adc9017b0e8de116f10e3b710764
2016-08-17 19:37:17 +00:00
Hemal Patel
00ff40145d Docs: Renamed Google Now to Google Voice Actions
am: 86bbfaabdd

Change-Id: If177e10f331ca5ade62005337956b0fa81a90f26
2016-08-17 19:37:14 +00:00
Hemal Patel
c7902aa4bb Merge "Docs: Renamed Google Now to Google Voice Actions" into nyc-docs 2016-08-17 19:32:16 +00:00
TreeHugger Robot
edddb17a67 Merge "Fix a flicker when returning to the lockscreen" into nyc-mr1-dev 2016-08-17 18:11:49 +00:00
Jorim Jaggi
d11d1a9486 Fix a flicker when returning to the lockscreen
If we return to the lockscreen from a FLAG_SHOW_WHEN_LOCKED activity,
there was an additional black flicker as the wallpaper wasn't shown
for a couple of frames. The issue is that we didn't set the wallpaper
flag again, to fix another flicker with lockscreen wallpapers. Now,
we pass the state whether we currently have a lockscreen wallpaper
and if we don't have one, we immediately set the wallpaper flag
again.

Bug: 30829255
Bug: 30883413
Change-Id: I9faeaa77b98eb02058171ce19cf90b43826ebe9e
2016-08-17 18:10:54 +00:00
Andrew Solovay
4cb3b9a60e docs: Docs for Support Library 24.2.0 release am: 085994c40d
am: 39cc61a4db

Change-Id: Icc038eb5c6e5ff1d299876811875b67768997a97
2016-08-17 17:55:32 +00:00
Andrew Solovay
39cc61a4db docs: Docs for Support Library 24.2.0 release
am: 085994c40d

Change-Id: I7e69bf585d342f1075856673e52ff15207be4a1c
2016-08-17 17:48:47 +00:00
Eric Schmidt
707678d8c5 docs: Fixed code snippet in notify-user/navigation.html am: 32cc6b7fb7
am: c89c8c3e37

Change-Id: I98c9227a00ae7221e945d7a6cde9c762e327e431
2016-08-17 17:36:04 +00:00
Eric Schmidt
c89c8c3e37 docs: Fixed code snippet in notify-user/navigation.html
am: 32cc6b7fb7

Change-Id: I43cf6d188bac5cc5b3d0894915ff431e13156cd5
2016-08-17 17:14:11 +00:00
Alan Viverette
a770530e12 Announce the date for accessibility using EMMMMdy format
Which for en_US would be something like "Friday August 5th 2016" but may
be re-ordered for other locales. Dates are hard.

Bug: 30682782
Change-Id: I015d293526592add27ce8fada12cd58bcc274ccf
2016-08-17 12:46:59 -04:00
Narayan Kamath
8735f07a69 BackgroundDexOptService: Check for low storage conditions.
Abort the service (without an early reschedule) if we find that we're
running low on space. The low space check is performed (explicitly)
after every dexopt.

bug: 30865506
Change-Id: I8d31af8fe035701177f8b9a1eabb0b51f42027fe
2016-08-17 11:10:12 +01:00
Erik Kline
1f4278a67a Better error handling when NetworkManagementService#untetherInterface() fails.
Additionally, catch ServiceSpecificException when making netd binder calls.

Test:
  Flipped back and forth between USB and wifi tethering and no longer
  some of the unrecoverable errors.

Bug: 30882741
Change-Id: I470b7cfdaaa82013db35b500a5df10dcfaad2d8c
2016-08-17 12:52:38 +09:00
TreeHugger Robot
69115b8e29 Merge "Fix listeners not getting called when AVD falls back on UI thread" into nyc-mr1-dev 2016-08-17 01:46:53 +00:00
Erik Kline
caf7d3f447 Merge "Support tethering IPv6 toward the first requested downstream." into nyc-mr1-dev 2016-08-17 00:43:37 +00:00
Doris Liu
853b23d1fa Fix listeners not getting called when AVD falls back on UI thread
When AVD fall back on UI thread, in addition to transfer the pending
actions from RT animator to UI animator, we also need to transfer
the listener, if any.

BUG: 30901495
Change-Id: Ib4a7ebb2996a02596bb5789704617c894a5dd474
2016-08-17 00:20:39 +00:00
Phil Weaver
1e6695bbd4 Restart accessibility services after they update.
In ag/1273924, we stopped restarting services that were
still bound. When the package changes, however, the system
unbinds from a service and has no way to tell us that it is
not going to restart it (as it would if the service
crashed.)

Now we listen for package updates and unbind affected
services. The services will then be restarted as there will
be enabled services that are no longer bound.

Bug: 30866905
Change-Id: I375edfd6a37ed25f959ec354930cec8f288deb6b
2016-08-16 16:51:45 -07:00
TreeHugger Robot
f1e87a2003 Merge "Allow configurable data warning for BillingCyclerPreference" into nyc-mr1-dev 2016-08-16 23:51:04 +00:00
Brad Ebinger
fb599587a1 Merge "Adds a CNAP filtering field to the CarrierConfig" into nyc-mr1-dev 2016-08-16 23:39:47 +00:00
TreeHugger Robot
a9663254ac Merge "Fixed the animation of the no notifications view" into nyc-mr1-dev 2016-08-16 23:28:22 +00:00
Dirk Dougherty
b042ab1eb6 dd new ds-static doc build target to generate static docs (only) for devsite without resolving @links.
Change-Id: I7d26fabfca74d8e706fd99cbeaa1761907c31dbf
2016-08-16 16:28:20 -07:00