OSDN Git Service

android-x86/frameworks-base.git
7 years agoMerge "DO NOT MERGE: Clean up when recycling a pid with a pending launch" into mnc...
Sudheer Shanka [Fri, 19 Aug 2016 18:10:03 +0000 (18:10 +0000)]
Merge "DO NOT MERGE: Clean up when recycling a pid with a pending launch" into mnc-dev am: b51e98becb am: 7e890c8eb5 am: 08eb52f9f9 am: 58def3804c  -s ours
am: e49de5e073

Change-Id: I7330c5050c91e7dbaa99ca241f046b051fcd66a9

7 years agoDO NOT MERGE: Clean up when recycling a pid with a pending launch am: d1eeb5b7b4...
Amith Yamasani [Fri, 19 Aug 2016 18:10:00 +0000 (18:10 +0000)]
DO NOT MERGE: Clean up when recycling a pid with a pending launch am: d1eeb5b7b4 am: 29ae7b1a27 am: 39c7879365 am: 5841c492a7  -s ours
am: f705730667

Change-Id: Ib6684a9fc5f6333240690f5b9d5df3643251db03

7 years agoMerge "DO NOT MERGE: Clean up when recycling a pid with a pending launch" into mnc...
Sudheer Shanka [Fri, 19 Aug 2016 18:02:26 +0000 (18:02 +0000)]
Merge "DO NOT MERGE: Clean up when recycling a pid with a pending launch" into mnc-dev am: b51e98becb am: 7e890c8eb5 am: 08eb52f9f9
am: 58def3804c  -s ours

Change-Id: I83e7f1e64a965a7550629d2a891445dab11a8d8d

7 years agoDO NOT MERGE: Clean up when recycling a pid with a pending launch am: d1eeb5b7b4...
Amith Yamasani [Fri, 19 Aug 2016 18:02:22 +0000 (18:02 +0000)]
DO NOT MERGE: Clean up when recycling a pid with a pending launch am: d1eeb5b7b4 am: 29ae7b1a27 am: 39c7879365
am: 5841c492a7  -s ours

Change-Id: Ia483fee611b51ad0187b625c62d32877e73ff551

7 years agoMerge "DO NOT MERGE: Clean up when recycling a pid with a pending launch" into mnc...
Sudheer Shanka [Fri, 19 Aug 2016 17:54:21 +0000 (17:54 +0000)]
Merge "DO NOT MERGE: Clean up when recycling a pid with a pending launch" into mnc-dev am: b51e98becb am: 7e890c8eb5
am: 08eb52f9f9

Change-Id: Ica347f4059b4fbe8f822a963b47df0cbe7c646ba

7 years agoDO NOT MERGE: Clean up when recycling a pid with a pending launch am: d1eeb5b7b4...
Amith Yamasani [Fri, 19 Aug 2016 17:54:19 +0000 (17:54 +0000)]
DO NOT MERGE: Clean up when recycling a pid with a pending launch am: d1eeb5b7b4 am: 29ae7b1a27
am: 39c7879365

Change-Id: I36e3a9a580c73dc61b5de35740bc4d7206a6e0b7

7 years agoMerge "DO NOT MERGE: Clean up when recycling a pid with a pending launch" into mnc...
Sudheer Shanka [Fri, 19 Aug 2016 17:32:47 +0000 (17:32 +0000)]
Merge "DO NOT MERGE: Clean up when recycling a pid with a pending launch" into mnc-dev am: b51e98becb
am: 7e890c8eb5

Change-Id: I53be9e220d21f4322f930f3ee9095d8fa43ef2d6

7 years agoDO NOT MERGE: Clean up when recycling a pid with a pending launch am: d1eeb5b7b4
Amith Yamasani [Fri, 19 Aug 2016 17:32:44 +0000 (17:32 +0000)]
DO NOT MERGE: Clean up when recycling a pid with a pending launch am: d1eeb5b7b4
am: 29ae7b1a27

Change-Id: Ia37f8295ee5843412cf4045764b469ee48608f07

7 years agoMerge "DO NOT MERGE: Clean up when recycling a pid with a pending launch" into nyc-dev
Sudheer Shanka [Fri, 19 Aug 2016 17:23:07 +0000 (17:23 +0000)]
Merge "DO NOT MERGE: Clean up when recycling a pid with a pending launch" into nyc-dev
am: badc5cd942

Change-Id: I185ac4f8a3a7905510e3dbe805aebfbdedec049c

7 years agoDO NOT MERGE: Clean up when recycling a pid with a pending launch
Amith Yamasani [Fri, 19 Aug 2016 17:23:04 +0000 (17:23 +0000)]
DO NOT MERGE: Clean up when recycling a pid with a pending launch
am: 55eacb9441

Change-Id: I30549f0235dafa3dcb97f6207b0eda1a3ec8fbd3

7 years agoMerge "DO NOT MERGE: Clean up when recycling a pid with a pending launch" into mnc-dev
Sudheer Shanka [Fri, 19 Aug 2016 17:22:29 +0000 (17:22 +0000)]
Merge "DO NOT MERGE: Clean up when recycling a pid with a pending launch" into mnc-dev
am: b51e98becb

Change-Id: I16fab19d30345e14076fda71d1d821539ceb70d2

7 years agoDO NOT MERGE: Clean up when recycling a pid with a pending launch
Amith Yamasani [Fri, 19 Aug 2016 17:22:25 +0000 (17:22 +0000)]
DO NOT MERGE: Clean up when recycling a pid with a pending launch
am: d1eeb5b7b4

Change-Id: I2d4df3c6f766c38b78af5598bbd15e40a88381ff

7 years agoMerge "DO NOT MERGE: Clean up when recycling a pid with a pending launch" into mnc-dev
Sudheer Shanka [Fri, 19 Aug 2016 17:06:53 +0000 (17:06 +0000)]
Merge "DO NOT MERGE: Clean up when recycling a pid with a pending launch" into mnc-dev

7 years agoMerge "DO NOT MERGE: Clean up when recycling a pid with a pending launch" into nyc-dev
Sudheer Shanka [Fri, 19 Aug 2016 17:06:47 +0000 (17:06 +0000)]
Merge "DO NOT MERGE: Clean up when recycling a pid with a pending launch" into nyc-dev

7 years agoAdd resource based mechanism to grant default permissions
Svetoslav Ganov [Fri, 19 Aug 2016 01:39:29 +0000 (18:39 -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: Ib6d671dac9201812bd2c47010c2c4b1330ef6b6e

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 "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 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 "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 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 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

7 years agoNavBar: Use rotation watcher
Adrian Roos [Thu, 11 Aug 2016 17:41:08 +0000 (10:41 -0700)]
NavBar: Use rotation watcher

Replaces the display changed listener with a
rotation watcher. The display listener fired
too late and did not produce a rotated frame
in time. Also cleans up logging tags.

Change-Id: I3336275ae123f868ed9ee8cc28a6285a06f2e1a6
Fixes: 30312602

7 years agoAdd new window type TYPE_DRAWN_APPLICATION
Chong Zhang [Tue, 16 Aug 2016 00:14:16 +0000 (17:14 -0700)]
Add new window type TYPE_DRAWN_APPLICATION

This type behaves like a normal TYPE_APPLICATION, except that WM
will always wait for it to be drawn before starting a transition.

WM always waits for TYPE_BASE_APPLICATION (main window), but for
TYPE_APPLICATION, it only waits if the window relayouts to visible
and gets a surface before the main window is drawn. If main window
itself is ready very fast, transition could start without the other
window.

bug: 30830849
Change-Id: Ife71a9812db7c8eba6ee4ead10ce4f31d9e93b40

7 years agoMerge "Changing user inactivity and warning dialog timeouts" into nyc-mr1-dev
TreeHugger Robot [Tue, 16 Aug 2016 00:21:34 +0000 (00:21 +0000)]
Merge "Changing user inactivity and warning dialog timeouts" into nyc-mr1-dev

7 years agoFix vulnerability in LockSettings service
Jim Miller [Wed, 10 Aug 2016 22:43:17 +0000 (15:43 -0700)]
Fix vulnerability in LockSettings service

Fixes bug 30003944

Change-Id: I8700d4424c6186c8d5e71d2fdede0223ad86904d

7 years agoMerge "Count failed install as finished" into nyc-mr1-dev
TreeHugger Robot [Mon, 15 Aug 2016 23:58:06 +0000 (23:58 +0000)]
Merge "Count failed install as finished" into nyc-mr1-dev

7 years agoMerge "Fix bug where RemoteInputView didn't reopen the IME" into nyc-mr1-dev
TreeHugger Robot [Mon, 15 Aug 2016 23:45:04 +0000 (23:45 +0000)]
Merge "Fix bug where RemoteInputView didn't reopen the IME" into nyc-mr1-dev

7 years agoMerge "AAPT: Fix use-after-free error" into nyc-mr1-dev
TreeHugger Robot [Mon, 15 Aug 2016 22:56:00 +0000 (22:56 +0000)]
Merge "AAPT: Fix use-after-free error" into nyc-mr1-dev

7 years agoChanging user inactivity and warning dialog timeouts
Suprabh Shukla [Mon, 15 Aug 2016 19:50:32 +0000 (12:50 -0700)]
Changing user inactivity and warning dialog timeouts

Increasing the inactivity timeout to 90 seconds to accomodate the longest
app. demo video for retail. Also, removing the warning dialog by setting
the countdown timeout to 0, so it can be re-enabled by overriding the value
through gservices if needed.

Bug: 30426773
Bug: 30866394
Change-Id: I6735943adfaf3d210ed9eb9163b5c7ce8dcf53ec

7 years agoMerge "Add missing remote conference property set." into nyc-mr1-dev
Tyler Gunn [Mon, 15 Aug 2016 22:32:02 +0000 (22:32 +0000)]
Merge "Add missing remote conference property set." into nyc-mr1-dev

7 years agoCount failed install as finished
Fyodor Kupolov [Mon, 15 Aug 2016 22:29:47 +0000 (15:29 -0700)]
Count failed install as finished

Otherwise DEMO_USER_SETUP_COMPLETE will not be set.

Bug: 30445353
Change-Id: Id2a0c1b1643dd9846328a20f4c67e11e69b3bc84

7 years agoLimit seamless rotation to TRANSFORM_INVERSE_DISPLAY children.
Robert Carr [Mon, 15 Aug 2016 19:19:00 +0000 (12:19 -0700)]
Limit seamless rotation to TRANSFORM_INVERSE_DISPLAY children.

In what can only be called an unfortunate workaround we require
seamlessly rotated child windows to have the
TRANSFORM_TO_DISPLAY_INVERSE
flag. Due to limitations in the client API, there is no way for the
client to set this flag in a race free fashion. If we seamlessly rotate
a window which does not have this flag, but then it gains it,
we will have an incorrect visual result (rotated buffer contents). This
means if we want to support seamlessly rotating windows which could gain
this flag, we can't seamlessly rotate windows which don't have it. This
unfortunately limits seamless rotation in N to Camera framework users,
native code, and applications without child windows. This is unfortunate
but having the camera work was always our primary use case, and it's not
as if we are offering an API for it, it's a behind the scenes
enhancement of ROTATION_ANIMATION_JUMPCUT.

Bug: 30171992
Change-Id: I082e323ee569cfc1ff2559657cc22194c251c7ec