OSDN Git Service

android-x86/frameworks-base.git
7 years agoDo not scan system apps unless after OTA
Makoto Onuki [Mon, 22 Aug 2016 23:19:04 +0000 (16:19 -0700)]
Do not scan system apps unless after OTA

Bug 30956231

Change-Id: I4af34cdd39cfaf0b8712b9ded1ef119efa3e04b0

7 years agoMerge "Update lint check to accommodate new emoji sequences" into nyc-mr1-dev
Raph Levien [Mon, 22 Aug 2016 17:54:45 +0000 (17:54 +0000)]
Merge "Update lint check to accommodate new emoji sequences" into nyc-mr1-dev

7 years agoMerge "Deprecate QNS network disable reason BAD_LINK" into nyc-mr1-dev
Randy Pan [Mon, 22 Aug 2016 17:23:45 +0000 (17:23 +0000)]
Merge "Deprecate QNS network disable reason BAD_LINK" into nyc-mr1-dev

7 years agoMerge "Off-load unlocking users onto a worker thread" into nyc-mr1-dev
Makoto Onuki [Mon, 22 Aug 2016 17:15:01 +0000 (17:15 +0000)]
Merge "Off-load unlocking users onto a worker thread" into nyc-mr1-dev

7 years agoUpdate lint check to accommodate new emoji sequences
Raph Levien [Tue, 9 Aug 2016 21:28:54 +0000 (14:28 -0700)]
Update lint check to accommodate new emoji sequences

These are not yet ready for updating in the unicode data, so we patch
them in code until they are.

Bug: 30594617
Change-Id: Ib4c8568aa4840341474eb0c0c95674d640473f4d
(cherry picked from commit 2b8b819fee939c1bca6347a74b42272bc7008fd5)

7 years agoMerge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Mon, 22 Aug 2016 15:56:30 +0000 (15:56 +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 [Mon, 22 Aug 2016 15:56:09 +0000 (15:56 +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 [Mon, 22 Aug 2016 15:55:46 +0000 (15:55 +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 [Mon, 22 Aug 2016 15:55:24 +0000 (15:55 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev

7 years agoMerge "Ensure known good state when starting." into nyc-mr1-dev
Erik Kline [Mon, 22 Aug 2016 02:55:39 +0000 (02:55 +0000)]
Merge "Ensure known good state when starting." into nyc-mr1-dev

7 years agoMerge "Add carrier regex config values for VisualVoicemailSmsFilter" into nyc-mr1-dev
Sailesh Nepal [Sun, 21 Aug 2016 13:40:00 +0000 (13:40 +0000)]
Merge "Add carrier regex config values for VisualVoicemailSmsFilter" into nyc-mr1-dev

7 years agoMerge "DO NOT MERGE ANYWHERE" into nyc-mr1-dev
TreeHugger Robot [Sat, 20 Aug 2016 03:25:34 +0000 (03:25 +0000)]
Merge "DO NOT MERGE ANYWHERE" into nyc-mr1-dev

7 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 20 Aug 2016 01:36:00 +0000 (18:36 -0700)]
Import translations. DO NOT MERGE

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

7 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 20 Aug 2016 01:33:08 +0000 (18:33 -0700)]
Import translations. DO NOT MERGE

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

7 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 20 Aug 2016 01:06:27 +0000 (18:06 -0700)]
Import translations. DO NOT MERGE

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

7 years agoImport translations. DO NOT MERGE
Bill Yi [Sat, 20 Aug 2016 00:38:54 +0000 (17:38 -0700)]
Import translations. DO NOT MERGE

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

7 years agoMerge "DO NOT MERGE: Don't delete source file when a move opration is canceled" into...
TreeHugger Robot [Sat, 20 Aug 2016 00:19:45 +0000 (00:19 +0000)]
Merge "DO NOT MERGE: Don't delete source file when a move opration is canceled" into nyc-mr1-dev

7 years agoMerge "Only have a single call into pdfium at a time." into nyc-mr1-dev
Philip P. Moltmann [Fri, 19 Aug 2016 23:03:23 +0000 (23:03 +0000)]
Merge "Only have a single call into pdfium at a time." into nyc-mr1-dev

7 years agoMerge "DO NOT MERGE ANYWHERE - Clear preferences when package is removed." into nyc...
TreeHugger Robot [Fri, 19 Aug 2016 22:41:09 +0000 (22:41 +0000)]
Merge "DO NOT MERGE ANYWHERE - Clear preferences when package is removed." into nyc-mr1-dev

7 years agoMerge "Dispatch a11y events in separate thread." into nyc-mr1-dev
Phil Weaver [Fri, 19 Aug 2016 22:38:50 +0000 (22:38 +0000)]
Merge "Dispatch a11y events in separate thread." into nyc-mr1-dev

7 years agoMerge "Removed screen on/off callbacks from NPMS." into nyc-mr1-dev
TreeHugger Robot [Fri, 19 Aug 2016 22:37:47 +0000 (22:37 +0000)]
Merge "Removed screen on/off callbacks from NPMS." into nyc-mr1-dev

7 years agoOff-load unlocking users onto a worker thread
Makoto Onuki [Fri, 19 Aug 2016 18:39:29 +0000 (11:39 -0700)]
Off-load unlocking users onto a worker thread

Bug 29645168

(cherry picked from commit 3107ff78454d54c0494911bf69ca952152af7cf0)

Change-Id: I3f8e768f6afeb6386a08ba9ac48e0e206395da2b

7 years agoMerge "Lowercasing search query in ExternalStorageProvider#querySearchDocs." into...
Ben Lin [Fri, 19 Aug 2016 22:06:07 +0000 (22:06 +0000)]
Merge "Lowercasing search query in ExternalStorageProvider#querySearchDocs." into nyc-mr1-dev

7 years agoMerge "HIC: Improve AccelerationClassifier" into nyc-mr1-dev
TreeHugger Robot [Fri, 19 Aug 2016 22:03:37 +0000 (22:03 +0000)]
Merge "HIC: Improve AccelerationClassifier" into nyc-mr1-dev

7 years agoMerge "Re-enable disabled emoji tests [DO NOT MERGE]" into nyc-mr1-dev
Roozbeh Pournader [Fri, 19 Aug 2016 21:43:01 +0000 (21:43 +0000)]
Merge "Re-enable disabled emoji tests [DO NOT MERGE]" into nyc-mr1-dev

7 years agoMerge "Check defaults for Android default-emoji characters [DO NOT MERGE]" into nyc...
Roozbeh Pournader [Fri, 19 Aug 2016 21:43:01 +0000 (21:43 +0000)]
Merge "Check defaults for Android default-emoji characters [DO NOT MERGE]" into nyc-mr1-dev

7 years agoHIC: Improve AccelerationClassifier
Adrian Roos [Wed, 17 Aug 2016 20:26:33 +0000 (13:26 -0700)]
HIC: Improve AccelerationClassifier

Apply a bunch of improvements to the acceleration classifier:

- When dragging from the edges, we get some delay without
  movement between the DOWN and MOVE, which confounds the
  classifier. Now discounts data segments where the delay
  does not match the expected 16ms.
- The distance ratio did not compensate for differences
  in sampling. If it does it's equivalent to the speed
  ratio however. The distance ratio was removed and the
  impact of the speed ratio score doubled.
- If we cannot calculate the ratio, no longer penalize
  the traces for this.

Bug: 27405075
Change-Id: I067eb4d478593afbb20354e5c85a05353e2b4184

7 years agoMerge "DO NOT MERGE: Enable switch access api to activate/open files in DocsUI."...
Ben Lin [Fri, 19 Aug 2016 20:19:38 +0000 (20:19 +0000)]
Merge "DO NOT MERGE: Enable switch access api to activate/open files in DocsUI." into nyc-mr1-dev

7 years agoAdd carrier regex config values for VisualVoicemailSmsFilter
Ta-wei Yen [Fri, 19 Aug 2016 18:43:15 +0000 (11:43 -0700)]
Add carrier regex config values for VisualVoicemailSmsFilter

Verizon requires all SMS that starts with "//VZWVVM" to be treated
as a VVM SMS.

EXTRA_VOICEMAIL_SMS_MESSAGE_BODY is also added to VociemailContract
to send the message body of a SMS that matches the carrier regex but
is not parsable.

Bug: 30954955
Change-Id: Ib5449164a5290b132648cc28b1e1d3d9ddd5fea0

7 years agoDispatch a11y events in separate thread.
Phil Weaver [Thu, 4 Aug 2016 17:37:17 +0000 (10:37 -0700)]
Dispatch a11y events in separate thread.

Moves the IPCs into a separate thread, where they should affect
jank a lot less.

Bug: 30183085
Change-Id: Ib76159d158e7a867e76cdd5c8ea3a318949fcc5b

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 agoOnly have a single call into pdfium at a time.
Philip P. Moltmann [Thu, 12 May 2016 21:17:15 +0000 (14:17 -0700)]
Only have a single call into pdfium at a time.

Pdfium is not thread safe and uses global variables, hence no
parallel call pdfium is safe

Fixes: 28705066
Change-Id: I04309ee691bd9cea37587e0af5be2c07ce8c9f2c
(cherry picked from commit 0768a7dc450caf4c873c5b0883a75135536e1546)

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 agoRemoved screen on/off callbacks from NPMS.
Felipe Leme [Wed, 10 Aug 2016 20:00:32 +0000 (13:00 -0700)]
Removed screen on/off callbacks from NPMS.

NetworkPolicyManagerService (NPMS) used to depend on screen on/off
changes to determine if a foreground activity should have network
restrictions, but such check is now redundant since ActivityManager
already changes the proper UID state (like going from TOP to
TOP_SLEEPING) when the screen status is changed.

Removing such code decreases the NPMS lock contention when the screen is
turned on in about 3-5ms.

Change-Id: I2853443efedbf14961ae9a5b2e72689d4d1a646c
BUG: 30785671
(cherry picked from commit 88f40ad9a721ee30708be82f66fb58c64f1d36b5)

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 agoDO NOT MERGE ANYWHERE
Felipe Leme [Wed, 10 Aug 2016 21:02:24 +0000 (14:02 -0700)]
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

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 agoDO NOT MERGE ANYWHERE - Clear preferences when package is removed.
Felipe Leme [Wed, 17 Aug 2016 20:39:10 +0000 (13:39 -0700)]
DO NOT MERGE ANYWHERE - Clear preferences when package is removed.

(cherry pick of commits 2154caf2f80fa87df84813b8e344f85094a454fd and
da1fc0a9c23697cc255efdccc47862bd1277da3f).

Change-Id: I5a019d771da6ff52ea36ee683a44405f6ea24853
Fixes: 30900628
Fixes: 28722556

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