OSDN Git Service

android-x86/frameworks-base.git
7 years agoOverride LinearLayout's onLayout pass in AlertDialogLayout
Alan Viverette [Wed, 24 Aug 2016 16:26:27 +0000 (12:26 -0400)]
Override LinearLayout's onLayout pass in AlertDialogLayout

LinearLayout sets up internal state during onLayout that's missing when
we override onMeasure. Avoid calling super.onMeasure() by re-implementing
onLayout without the internal state dependencies.

Bug: 30494039
Change-Id: I1149517a2fe5f5afdb4125db5e7f573588fea740

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Fri, 19 Aug 2016 15:28:28 +0000 (15:28 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoMerge "Add connection events for indicated when a connection is remotely held." into...
Tyler Gunn [Fri, 19 Aug 2016 14:28:06 +0000 (14:28 +0000)]
Merge "Add connection events for indicated when a connection is remotely held." into nyc-mr1-dev

7 years agoMerge "fix redirect for AIDL doc bug: 5967288" into nyc-dev am: 66ffbbfdf9
Scott Main [Fri, 19 Aug 2016 13:29:14 +0000 (13:29 +0000)]
Merge "fix redirect for AIDL doc bug: 5967288" into nyc-dev am: 66ffbbfdf9
am: 97d6427ab0

Change-Id: Ic8a4e3c86fed503333e6f46d62ad4fd492430547

7 years agofix redirect for AIDL doc bug: 5967288 am: 9ad944f8c9
smain@google.com [Fri, 19 Aug 2016 13:29:12 +0000 (13:29 +0000)]
fix redirect for AIDL doc bug: 5967288 am: 9ad944f8c9
am: 3872e56f69

Change-Id: I19e1cb6e9f79edb9755afb66cce4a67db9428f7f

7 years agoMerge "Process: Fix communication with zygote." into nyc-dev am: cce8af824a
Narayan Kamath [Fri, 19 Aug 2016 13:29:10 +0000 (13:29 +0000)]
Merge "Process: Fix communication with zygote." into nyc-dev am: cce8af824a
am: b8f0cd0248

Change-Id: I49cd6679da56f5f853c17c741064db88431ded8c

7 years agoProcess: Fix communication with zygote. am: 448be0a622
Narayan Kamath [Fri, 19 Aug 2016 13:29:07 +0000 (13:29 +0000)]
Process: Fix communication with zygote. am: 448be0a622
am: 99f960f7da

Change-Id: I471c81919cce6725433895c3d20ca22a8e827b98

7 years agoImport translations. DO NOT MERGE
Bill Yi [Fri, 19 Aug 2016 11:31:46 +0000 (04:31 -0700)]
Import translations. DO NOT MERGE

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

7 years agoMerge "fix redirect for AIDL doc bug: 5967288" into nyc-dev
Scott Main [Fri, 19 Aug 2016 01:12:09 +0000 (01:12 +0000)]
Merge "fix redirect for AIDL doc bug: 5967288" into nyc-dev
am: 66ffbbfdf9

Change-Id: Ib72ec2497e7b58c42ecca05cc318d7345e9fce69

7 years agofix redirect for AIDL doc bug: 5967288
smain@google.com [Fri, 19 Aug 2016 01:12:05 +0000 (01:12 +0000)]
fix redirect for AIDL doc bug: 5967288
am: 9ad944f8c9

Change-Id: I8614af80ea19a68d078ea578d2f8e7a3286f930a

7 years agoMerge "fix redirect for AIDL doc bug: 5967288" into nyc-dev
Scott Main [Fri, 19 Aug 2016 01:04:01 +0000 (01:04 +0000)]
Merge "fix redirect for AIDL doc bug: 5967288" into nyc-dev

7 years agoMerge "Isolated processes don't get precached system service binders" into nyc-mr1-dev
TreeHugger Robot [Fri, 19 Aug 2016 00:29:34 +0000 (00:29 +0000)]
Merge "Isolated processes don't get precached system service binders" into nyc-mr1-dev

7 years agoMerge "Add resource based mechanism to grant default permissions" into nyc-mr1-dev
Svetoslav Ganov [Thu, 18 Aug 2016 23:38:32 +0000 (23:38 +0000)]
Merge "Add resource based mechanism to grant default permissions" into nyc-mr1-dev

7 years agoMerge "Release mPackages lock earlier" into nyc-mr1-dev
TreeHugger Robot [Thu, 18 Aug 2016 23:16:01 +0000 (23:16 +0000)]
Merge "Release mPackages lock earlier" into nyc-mr1-dev

7 years agoMerge "Process: Fix communication with zygote." into nyc-dev
Narayan Kamath [Thu, 18 Aug 2016 23:08:51 +0000 (23:08 +0000)]
Merge "Process: Fix communication with zygote." into nyc-dev
am: cce8af824a

Change-Id: I9e945b2a660d5daf57d7c51e8e7c9d814e78a728

7 years agoProcess: Fix communication with zygote.
Narayan Kamath [Thu, 18 Aug 2016 23:08:49 +0000 (23:08 +0000)]
Process: Fix communication with zygote.
am: 448be0a622

Change-Id: I530a1f04545a796d22ca59141aa8fe3de349388c

7 years agoMerge "Fix NPE during Activity transition using wrong Activity." into nyc-mr1-dev
George Mount [Thu, 18 Aug 2016 22:27:27 +0000 (22:27 +0000)]
Merge "Fix NPE during Activity transition using wrong Activity." into nyc-mr1-dev

7 years agoMerge "AudioSystem: Verify audio port array information" into nyc-mr1-dev
Andy Hung [Thu, 18 Aug 2016 22:25:17 +0000 (22:25 +0000)]
Merge "AudioSystem: Verify audio port array information" into nyc-mr1-dev

7 years agofix redirect for AIDL doc
smain@google.com [Thu, 18 Aug 2016 21:41:47 +0000 (14:41 -0700)]
fix redirect for AIDL doc
bug: 5967288

Change-Id: Ia2a4cbdde56d2e6baca4c5f74ea92bb7bfaf2938

7 years agoMerge "Prevent FIFO threads from creating more FIFO threads." into nyc-mr1-dev
Tim Murray [Thu, 18 Aug 2016 20:25:36 +0000 (20:25 +0000)]
Merge "Prevent FIFO threads from creating more FIFO threads." into nyc-mr1-dev

7 years agoAdd resource based mechanism to grant default permissions
Svet Ganov [Thu, 18 Aug 2016 19:32:35 +0000 (12:32 -0700)]
Add resource based mechanism to grant default permissions

This CL adds a mechanism for an OEM to grant default permissions
using the build system. This allows permissions for which they
got default grant exceptions to be added without modifying the
platform code. The format is a simple XML listing the packages
and the permissions to be granted for a package. The XML file
is placed in etc/default-permissions.

bug:29546655
bug:30929033

Change-Id: Ifb0516d7e2d0b399532024438bc0f86068a2e4e2

7 years agoMerge "Grab lock when accessing mutable state" into nyc-mr1-dev
Svetoslav Ganov [Thu, 18 Aug 2016 19:05:47 +0000 (19:05 +0000)]
Merge "Grab lock when accessing mutable state" into nyc-mr1-dev

7 years agoRelease mPackages lock earlier
Todd Kennedy [Thu, 18 Aug 2016 18:22:52 +0000 (11:22 -0700)]
Release mPackages lock earlier

We cannot hold mPackages when calling into generatePackageDexopts().
This method takes Package Manager's mInstallLock. By holding mPackages,
we have lock inversion and hilarity ensues.

Change-Id: Ia11a158677051e3511702f38cde6780e75b256fb
Fixes: 30927731

7 years agoPrevent FIFO threads from creating more FIFO threads.
Tim Murray [Thu, 18 Aug 2016 18:13:26 +0000 (11:13 -0700)]
Prevent FIFO threads from creating more FIFO threads.

SCHED_FIFO threads shouldn't be able to arbitrarily create more
SCHED_FIFO threads.

bug 30898724

Change-Id: I3704b47b88b573313e9b1610556648c8595d4108

7 years agoIsolated processes don't get precached system service binders
Christopher Tate [Tue, 16 Aug 2016 23:03:44 +0000 (16:03 -0700)]
Isolated processes don't get precached system service binders

More specifically, they get a PackageManager binder -- necessary for
Android process startup and configuration -- but none of the other
usual preloaded service binders.

Bug 30202228

Change-Id: I3810649f504cd631665ece338a83d2e54d41ad05

7 years agoFix NPE during Activity transition using wrong Activity.
George Mount [Tue, 16 Aug 2016 20:10:19 +0000 (13:10 -0700)]
Fix NPE during Activity transition using wrong Activity.

Bug 30786309

If the Activity used in makeSceneTransitionAnimation isn't
the same one used in the startActivity call, a NullPointerException
could be thrown.

Change-Id: Id21c54fcf99b353feab62f7fc160997ed06e7d23
(cherry picked from commit 3289bfa289f560d60611dddef9441c9614fd883a)

7 years agoProtect various Bluetooth broadcasts
Ajay Panicker [Wed, 17 Aug 2016 22:36:24 +0000 (15:36 -0700)]
Protect various Bluetooth broadcasts

Bug: 30832954
Change-Id: I37e0b2ffab65c0703244917a4ade9bb8afbb5e6f

7 years agoMerge "Process: Fix communication with zygote." into nyc-dev
Narayan Kamath [Thu, 18 Aug 2016 10:20:00 +0000 (10:20 +0000)]
Merge "Process: Fix communication with zygote." into nyc-dev
am: cce8af824a

Change-Id: I1086785cde9f5d9bbdff84b225c4d20582977c75

7 years agoProcess: Fix communication with zygote.
Narayan Kamath [Thu, 18 Aug 2016 10:19:57 +0000 (10:19 +0000)]
Process: Fix communication with zygote.
am: 448be0a622

Change-Id: I5d496613f53c339c75a3293845670d9d8360c90f

7 years agoMerge "Process: Fix communication with zygote." into nyc-dev
Narayan Kamath [Thu, 18 Aug 2016 10:14:29 +0000 (10:14 +0000)]
Merge "Process: Fix communication with zygote." into nyc-dev

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Thu, 18 Aug 2016 01:23:04 +0000 (01:23 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoMerge "AppIdleHistory: Only write screen on durations during regular sync" into nyc...
TreeHugger Robot [Thu, 18 Aug 2016 01:14:31 +0000 (01:14 +0000)]
Merge "AppIdleHistory: Only write screen on durations during regular sync" into nyc-mr1-dev

7 years agoAudioSystem: Verify audio port array information
Andy Hung [Wed, 17 Aug 2016 01:38:49 +0000 (18:38 -0700)]
AudioSystem: Verify audio port array information

Bug: 30737845
Change-Id: Id092086862bc527fccc5e9f34c8a3ab16167ae92

7 years agoGrab lock when accessing mutable state
Svet Ganov [Thu, 18 Aug 2016 00:29:43 +0000 (17:29 -0700)]
Grab lock when accessing mutable state

bug:30881375

Change-Id: Ied52fd9666f28b5c2038144b85cd74480ccfde43

7 years agoAppIdleHistory: Only write screen on durations during regular sync
Adam Lesinski [Wed, 17 Aug 2016 22:21:16 +0000 (15:21 -0700)]
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

7 years agoFix vulnerability in LockSettings service am: 2d71384a13 am: 485fbda04c am: 229de7088...
Jim Miller [Wed, 17 Aug 2016 23:26:57 +0000 (23:26 +0000)]
Fix vulnerability in LockSettings service am: 2d71384a13 am: 485fbda04c am: 229de7088e am: cb83f6188b
am: e3457fc127

Change-Id: I1bc40c141498e62cad36acc9568177cb88debc11

7 years agoFix vulnerability in LockSettings service am: 2d71384a13 am: 485fbda04c am: 229de7088e
Jim Miller [Wed, 17 Aug 2016 23:22:33 +0000 (23:22 +0000)]
Fix vulnerability in LockSettings service am: 2d71384a13 am: 485fbda04c am: 229de7088e
am: cb83f6188b

Change-Id: I82302931ab714e25ec21721dc05480e1f2d447b0

7 years agoFix vulnerability in LockSettings service am: 2d71384a13 am: 485fbda04c
Jim Miller [Wed, 17 Aug 2016 23:15:43 +0000 (23:15 +0000)]
Fix vulnerability in LockSettings service am: 2d71384a13 am: 485fbda04c
am: 229de7088e

Change-Id: I8e9d946f96933c1338261d8adf80156cb67d3ba1

7 years agoFix vulnerability in LockSettings service am: 2d71384a13
Jim Miller [Wed, 17 Aug 2016 23:07:46 +0000 (23:07 +0000)]
Fix vulnerability in LockSettings service am: 2d71384a13
am: 485fbda04c

Change-Id: I07def32199ecdbbb32aa6ecaca20724cfc81265c

7 years agoMerge "dd new ds-static doc build target to generate static docs (only) for devsite...
Dirk Dougherty [Wed, 17 Aug 2016 22:59:31 +0000 (22:59 +0000)]
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

7 years agoFix vulnerability in LockSettings service
Jim Miller [Wed, 17 Aug 2016 22:59:27 +0000 (22:59 +0000)]
Fix vulnerability in LockSettings service
am: 2d71384a13

Change-Id: I62ca5fb150022fe0971329294b1063957f397248

7 years agodd new ds-static doc build target to generate static docs (only) for devsite without...
Dirk Dougherty [Wed, 17 Aug 2016 22:59:23 +0000 (22:59 +0000)]
dd new ds-static doc build target to generate static docs (only) for devsite without resolving @links.
am: b042ab1eb6

Change-Id: I725ff3bce89572d06f76dd9f1860365514d27d56

7 years agoMerge "dd new ds-static doc build target to generate static docs (only) for devsite...
Dirk Dougherty [Wed, 17 Aug 2016 22:53:23 +0000 (22:53 +0000)]
Merge "dd new ds-static doc build target to generate static docs (only) for devsite without resolving @links." into nyc-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Wed, 17 Aug 2016 22:33:39 +0000 (15:33 -0700)]
Import translations. DO NOT MERGE

Auto-generated-cl: translation import

Bug: 30362824
Change-Id: I319b881d2a02816d932688c70c61f4ad2b315ef8

7 years agoMerge "BackgroundDexOptService: Check for low storage conditions." into nyc-mr1-dev
TreeHugger Robot [Wed, 17 Aug 2016 22:07:12 +0000 (22:07 +0000)]
Merge "BackgroundDexOptService: Check for low storage conditions." into nyc-mr1-dev

7 years agoMerge "AAPT: Handle gaps in resources when building splits" into nyc-mr1-dev
TreeHugger Robot [Wed, 17 Aug 2016 21:45:59 +0000 (21:45 +0000)]
Merge "AAPT: Handle gaps in resources when building splits" into nyc-mr1-dev

7 years agoMerge "Add Telephony Connection event for handover from WIFI to LTE." into nyc-mr1-dev
Tyler Gunn [Wed, 17 Aug 2016 21:19:41 +0000 (21:19 +0000)]
Merge "Add Telephony Connection event for handover from WIFI to LTE." into nyc-mr1-dev

7 years agoMerge "Restart accessibility services after they update." into nyc-mr1-dev
Phil Weaver [Wed, 17 Aug 2016 20:52:04 +0000 (20:52 +0000)]
Merge "Restart accessibility services after they update." into nyc-mr1-dev

7 years agoAdd connection events for indicated when a connection is remotely held.
Tyler Gunn [Wed, 17 Aug 2016 20:48:27 +0000 (13:48 -0700)]
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

7 years agoMerge "Announce the date for accessibility using EMMMMdy format" into nyc-mr1-dev
Alan Viverette [Wed, 17 Aug 2016 20:14:32 +0000 (20:14 +0000)]
Merge "Announce the date for accessibility using EMMMMdy format" into nyc-mr1-dev

7 years agoAAPT: Handle gaps in resources when building splits
Adam Lesinski [Tue, 16 Aug 2016 01:45:00 +0000 (18:45 -0700)]
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 081d1b4cf602fdd7302b597e6bf902cb415bc3a8)

7 years agoMerge "Docs: Renamed Google Now to Google Voice Actions" into nyc-docs am: c7902aa4bb
Hemal Patel [Wed, 17 Aug 2016 19:45:03 +0000 (19:45 +0000)]
Merge "Docs: Renamed Google Now to Google Voice Actions" into nyc-docs am: c7902aa4bb
am: 5e086dc3bb

Change-Id: I68730df7e316e2bb9f58b7b9732a06222305bfea

7 years agoDocs: Renamed Google Now to Google Voice Actions am: 86bbfaabdd
Hemal Patel [Wed, 17 Aug 2016 19:44:58 +0000 (19:44 +0000)]
Docs: Renamed Google Now to Google Voice Actions am: 86bbfaabdd
am: 00ff40145d

Change-Id: Ib165d9d5dd73a9f84ae45f82cb17f04a172e6804

7 years agoMerge "Make View#isTemporarilyDetached() less confusing" into nyc-mr1-dev
Yohei Yukawa [Wed, 17 Aug 2016 19:41:37 +0000 (19:41 +0000)]
Merge "Make View#isTemporarilyDetached() less confusing" into nyc-mr1-dev

7 years agoMerge "Docs: Renamed Google Now to Google Voice Actions" into nyc-docs
Hemal Patel [Wed, 17 Aug 2016 19:37:17 +0000 (19:37 +0000)]
Merge "Docs: Renamed Google Now to Google Voice Actions" into nyc-docs
am: c7902aa4bb

Change-Id: I45943e80b869adc9017b0e8de116f10e3b710764

7 years agoDocs: Renamed Google Now to Google Voice Actions
Hemal Patel [Wed, 17 Aug 2016 19:37:14 +0000 (19:37 +0000)]
Docs: Renamed Google Now to Google Voice Actions
am: 86bbfaabdd

Change-Id: If177e10f331ca5ade62005337956b0fa81a90f26

7 years agoMerge "Docs: Renamed Google Now to Google Voice Actions" into nyc-docs
Hemal Patel [Wed, 17 Aug 2016 19:32:15 +0000 (19:32 +0000)]
Merge "Docs: Renamed Google Now to Google Voice Actions" into nyc-docs

7 years agoMerge "Fix a flicker when returning to the lockscreen" into nyc-mr1-dev
TreeHugger Robot [Wed, 17 Aug 2016 18:11:45 +0000 (18:11 +0000)]
Merge "Fix a flicker when returning to the lockscreen" into nyc-mr1-dev

7 years agoFix a flicker when returning to the lockscreen
Jorim Jaggi [Tue, 16 Aug 2016 23:02:32 +0000 (16:02 -0700)]
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

7 years agodocs: Docs for Support Library 24.2.0 release am: 085994c40d
Andrew Solovay [Wed, 17 Aug 2016 17:55:32 +0000 (17:55 +0000)]
docs: Docs for Support Library 24.2.0 release am: 085994c40d
am: 39cc61a4db

Change-Id: Icc038eb5c6e5ff1d299876811875b67768997a97

7 years agodocs: Docs for Support Library 24.2.0 release
Andrew Solovay [Wed, 17 Aug 2016 17:48:47 +0000 (17:48 +0000)]
docs: Docs for Support Library 24.2.0 release
am: 085994c40d

Change-Id: I7e69bf585d342f1075856673e52ff15207be4a1c

7 years agodocs: Fixed code snippet in notify-user/navigation.html am: 32cc6b7fb7
Eric Schmidt [Wed, 17 Aug 2016 17:36:04 +0000 (17:36 +0000)]
docs: Fixed code snippet in notify-user/navigation.html am: 32cc6b7fb7
am: c89c8c3e37

Change-Id: I98c9227a00ae7221e945d7a6cde9c762e327e431

7 years agodocs: Fixed code snippet in notify-user/navigation.html
Eric Schmidt [Wed, 17 Aug 2016 17:14:11 +0000 (17:14 +0000)]
docs: Fixed code snippet in notify-user/navigation.html
am: 32cc6b7fb7

Change-Id: I43cf6d188bac5cc5b3d0894915ff431e13156cd5

7 years agoAnnounce the date for accessibility using EMMMMdy format
Alan Viverette [Wed, 17 Aug 2016 16:46:59 +0000 (12:46 -0400)]
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

7 years agoBackgroundDexOptService: Check for low storage conditions.
Narayan Kamath [Tue, 16 Aug 2016 17:25:08 +0000 (18:25 +0100)]
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

7 years agoBetter error handling when NetworkManagementService#untetherInterface() fails.
Erik Kline [Tue, 16 Aug 2016 07:46:33 +0000 (16:46 +0900)]
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

7 years agoMerge "Fix listeners not getting called when AVD falls back on UI thread" into nyc...
TreeHugger Robot [Wed, 17 Aug 2016 01:46:52 +0000 (01:46 +0000)]
Merge "Fix listeners not getting called when AVD falls back on UI thread" into nyc-mr1-dev

7 years agoMerge "Support tethering IPv6 toward the first requested downstream." into nyc-mr1-dev
Erik Kline [Wed, 17 Aug 2016 00:43:35 +0000 (00:43 +0000)]
Merge "Support tethering IPv6 toward the first requested downstream." into nyc-mr1-dev

7 years agoFix listeners not getting called when AVD falls back on UI thread
Doris Liu [Tue, 16 Aug 2016 23:54:10 +0000 (16:54 -0700)]
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

7 years agoRestart accessibility services after they update.
Phil Weaver [Tue, 16 Aug 2016 22:10:01 +0000 (15:10 -0700)]
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

7 years agoMerge "Allow configurable data warning for BillingCyclerPreference" into nyc-mr1-dev
TreeHugger Robot [Tue, 16 Aug 2016 23:51:02 +0000 (23:51 +0000)]
Merge "Allow configurable data warning for BillingCyclerPreference" into nyc-mr1-dev

7 years agoMerge "Adds a CNAP filtering field to the CarrierConfig" into nyc-mr1-dev
Brad Ebinger [Tue, 16 Aug 2016 23:39:46 +0000 (23:39 +0000)]
Merge "Adds a CNAP filtering field to the CarrierConfig" into nyc-mr1-dev

7 years agoMerge "Fixed the animation of the no notifications view" into nyc-mr1-dev
TreeHugger Robot [Tue, 16 Aug 2016 23:28:21 +0000 (23:28 +0000)]
Merge "Fixed the animation of the no notifications view" into nyc-mr1-dev

7 years agodd new ds-static doc build target to generate static docs (only) for devsite without...
Dirk Dougherty [Tue, 14 Jun 2016 23:26:28 +0000 (16:26 -0700)]
dd new ds-static doc build target to generate static docs (only) for devsite without resolving @links.

Change-Id: I7d26fabfca74d8e706fd99cbeaa1761907c31dbf

7 years agoAdd Telephony Connection event for handover from WIFI to LTE.
Tyler Gunn [Tue, 16 Aug 2016 23:04:48 +0000 (16:04 -0700)]
Add Telephony Connection event for handover from WIFI to LTE.

This connection event is used to inform an InCallService of the fact that
a handover from WIFI to LTE has occurred.

Bug: 30837560
Change-Id: Iaf7e301ca20ffbe5b3cb1b3596f898fcda8a7785

7 years agoMerge "Define low latency output stream (formerly primary)" into nyc-mr1-dev
Glenn Kasten [Tue, 16 Aug 2016 22:51:57 +0000 (22:51 +0000)]
Merge "Define low latency output stream (formerly primary)" into nyc-mr1-dev

7 years agoFixed the animation of the no notifications view
Selim Cinek [Tue, 16 Aug 2016 21:16:59 +0000 (14:16 -0700)]
Fixed the animation of the no notifications view

The view was also animating when the shade wasn't expanded.

Change-Id: If235db60230525dda17c5df0681beec2ab01a79e
Fixes: 30880548

7 years agoAllow configurable data warning for BillingCyclerPreference
Fan Zhang [Tue, 9 Aug 2016 21:21:15 +0000 (14:21 -0700)]
Allow configurable data warning for BillingCyclerPreference

Bug: 30898071
Change-Id: Ifb822828c5e7152e4ca217593f7746bfbb29ab2a

7 years agoAdds a CNAP filtering field to the CarrierConfig
Brad Ebinger [Mon, 15 Aug 2016 18:28:26 +0000 (11:28 -0700)]
Adds a CNAP filtering field to the CarrierConfig

Adds the ability for the CarrierConfig to provide a list of CNAP names
that will be filtered out to the user. These names are usually generic
names that do not provide any useful caller ID information, such as
"WIRELESS CALLER".

Bug: 30142293
Change-Id: I8a99975380f99d160c2af6f6fa4b5ca3ebca1d3c

7 years agoMerge "Add new window type TYPE_DRAWN_APPLICATION" into nyc-mr1-dev
Chong Zhang [Tue, 16 Aug 2016 19:49:28 +0000 (19:49 +0000)]
Merge "Add new window type TYPE_DRAWN_APPLICATION" into nyc-mr1-dev

7 years agoMerge "Add null check to KeyEventDispatcher." into nyc-mr1-dev
Phil Weaver [Tue, 16 Aug 2016 19:33:27 +0000 (19:33 +0000)]
Merge "Add null check to KeyEventDispatcher." into nyc-mr1-dev

7 years agodocs: Docs for Support Library 24.2.0 release
Andrew Solovay [Tue, 2 Aug 2016 21:24:58 +0000 (14:24 -0700)]
docs: Docs for Support Library 24.2.0 release

Includes updates to the features doc, to reflect the v4 support
library's division into several smaller modules. Also modified
the transitions doc to note the support library's support for
transitions in API levels 14-19.

Since we're deprecating support for API levels below 9, I changed
several examples to use higher API levels.

See first comment for doc stage location.

bug: 30505601
Change-Id: Ic06a023f705893c91ff3b86d0af8cfed957eb724

7 years agoMerge "Fixed a bug where the summary could become visible even if it was suppressed...
TreeHugger Robot [Tue, 16 Aug 2016 18:36:24 +0000 (18:36 +0000)]
Merge "Fixed a bug where the summary could become visible even if it was suppressed" into nyc-mr1-dev

7 years agoMerge "NavBar: Use rotation watcher" into nyc-mr1-dev
Adrian Roos [Tue, 16 Aug 2016 18:32:26 +0000 (18:32 +0000)]
Merge "NavBar: Use rotation watcher" into nyc-mr1-dev

7 years agoMerge "Support auto-downgrade to audio when data disabled." into nyc-mr1-dev
Tyler Gunn [Tue, 16 Aug 2016 18:32:12 +0000 (18:32 +0000)]
Merge "Support auto-downgrade to audio when data disabled." into nyc-mr1-dev

7 years agoMerge "Replace android auto assets with the latest" into nyc-mr1-dev
Sriram Viswanathan [Tue, 16 Aug 2016 18:20:10 +0000 (18:20 +0000)]
Merge "Replace android auto assets with the latest" into nyc-mr1-dev

7 years agoFixed a bug where the summary could become visible even if it was suppressed
Selim Cinek [Tue, 16 Aug 2016 02:39:55 +0000 (19:39 -0700)]
Fixed a bug where the summary could become visible even if it was suppressed

Because the updating of the suppression was prohibited, some groups could loose
their suppression state when they were heads upped. This would lead to duplicate
notifications. We're now still allowing the state to be properly modified instead
but don't notify listeners anymore since that was only an internal update.

Change-Id: I6ae96ea8cfab00ef6bdb1ef047f8b77ea88e8206
Fixes: 30608517

7 years agodocs: Fixed code snippet in notify-user/navigation.html
Eric Schmidt [Thu, 11 Aug 2016 19:54:31 +0000 (12:54 -0700)]
docs: Fixed code snippet in notify-user/navigation.html

Bug: 25098348
Change-Id: Ic116900eb9c6e1ebfbc6b99673ffeff3f2df8533

7 years agoFix maps resume being blank
John Reck [Tue, 16 Aug 2016 16:44:23 +0000 (09:44 -0700)]
Fix maps resume being blank

Bug: 30889568

Fixes an issue where mLayer didn't have
the mSurface set on it in certain resume
scenarios.

Change-Id: Ib75065d3d75e6141d6cd8f306584f6a569b9907c

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Tue, 16 Aug 2016 15:32:03 +0000 (15:32 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Tue, 16 Aug 2016 15:30:36 +0000 (15:30 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 16 Aug 2016 09:02:06 +0000 (02:02 -0700)]
Import translations. DO NOT MERGE

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

7 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 16 Aug 2016 07:29:56 +0000 (00:29 -0700)]
Import translations. DO NOT MERGE

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

7 years agoSupport tethering IPv6 toward the first requested downstream.
Erik Kline [Mon, 15 Aug 2016 07:16:18 +0000 (16:16 +0900)]
Support tethering IPv6 toward the first requested downstream.

We no longer tether toward wifi only, but rather implement 64share toward
the current, oldest (first requested) active downstream.

Additionally, explicitly ban IPv6 tethering toward Bluetooth until
PAN support is figured out.

Bug: 30298058
Change-Id: Ib705b69eae767ec50131d09d26168d9e041e4bc0

7 years agoMerge changes I082e323e,I326bf776 into nyc-mr1-dev
Rob Carr [Tue, 16 Aug 2016 01:31:31 +0000 (01:31 +0000)]
Merge changes I082e323e,I326bf776 into nyc-mr1-dev

* changes:
  Limit seamless rotation to TRANSFORM_INVERSE_DISPLAY children.
  Allow seamless rotation before mTopIsFullscreen is set.

7 years agoMerge "Doc change: escape lt char in generic type in pre block." into nyc-dev
Dirk Dougherty [Tue, 16 Aug 2016 01:30:07 +0000 (01:30 +0000)]
Merge "Doc change: escape lt char in generic type in pre block." into nyc-dev
am: 114c09498d

Change-Id: Ie7f79a9236823a9066867fb52bf352523730ec3f

7 years agoDoc change: escape lt char in generic type in pre block.
Dirk Dougherty [Tue, 16 Aug 2016 01:30:04 +0000 (01:30 +0000)]
Doc change: escape lt char in generic type in pre block.
am: 1035b25825

Change-Id: I4e4c01fe612bbcf05c31c6d33da6bbbe837aa468

7 years agoMerge "Introduce new constant for double tap gesture rotation hint." into nyc-mr1-dev
TreeHugger Robot [Tue, 16 Aug 2016 01:21:56 +0000 (01:21 +0000)]
Merge "Introduce new constant for double tap gesture rotation hint." into nyc-mr1-dev

7 years agoMerge "Doc change: escape lt char in generic type in pre block." into nyc-dev
Dirk Dougherty [Tue, 16 Aug 2016 01:17:31 +0000 (01:17 +0000)]
Merge "Doc change: escape lt char in generic type in pre block." into nyc-dev

7 years agoAdd null check to KeyEventDispatcher.
Phil Weaver [Tue, 16 Aug 2016 00:49:55 +0000 (17:49 -0700)]
Add null check to KeyEventDispatcher.

Make sure we don't try to dispatch key events to services
that have died. Doing so crashes the device.

Bug: 30866905
Change-Id: I1cc0515cca8924b0c2744de98ac75a901b94246d