Commit Graph

252839 Commits

Author SHA1 Message Date
Narayan Kamath
8dee054190 fd_utils: Remove whitelist for "/dev/pmsg0".
We're now calling __android_log_close prior to a fork, so this file
shouldn't need to be open.

bug: 31243313
bug: 30963384
Change-Id: I8c29adf075782eed966c9197d58f0325310f6c3a
2016-09-05 14:54:07 +01:00
Jorim Jaggi
9925ae6e38 Merge changes I955f9dfa,Ibfbb9d67 into nyc-mr1-dev
am: dc77fbca27

Change-Id: Ib63cba53ddc60a594b4ca58a3d59e2950092f101
2016-09-04 01:46:15 +00:00
Jorim Jaggi
fd33b0194a Only show optimizing storage dialog if dex opt dialog was shown
am: 2578beccbe

Change-Id: Ib30ce359a188980dcfa7ff8716ce6660a620626b
2016-09-04 01:46:13 +00:00
Jorim Jaggi
eb2d50dd0d Only do slow unlock transition if real home is not running
am: 031f79560f

Change-Id: I61f8a3d7458898ac139189920ec58607a570b813
2016-09-04 01:44:28 +00:00
TreeHugger Robot
dc77fbca27 Merge changes I955f9dfa,Ibfbb9d67 into nyc-mr1-dev
* changes:
  Only show optimizing storage dialog if dex opt dialog was shown
  Only do slow unlock transition if real home is not running
2016-09-04 01:39:32 +00:00
Dirk Dougherty
9ac575abc3 Doc change: remove useUpdatedTemplates script and sections using old templates.
Change-Id: I7c4e8f36125ad120699d5b2c66bea29433fecf59
2016-09-02 21:03:38 -07:00
smain@google.com
1696dcd4b4 remove 'useUpdatedTemplates' flag that's no longer supported. Fix build. am: 7dd9749246 am: ff8cb50979
am: 3578867216

Change-Id: I80cb47d588c2475eb96768bc8ff4342ac25ce2e3
2016-09-03 01:30:21 +00:00
smain@google.com
3578867216 remove 'useUpdatedTemplates' flag that's no longer supported. Fix build. am: 7dd9749246
am: ff8cb50979

Change-Id: I0a41407e8a605ecbd8ba761427e8a500b0e2d040
2016-09-03 01:24:46 +00:00
smain@google.com
ff8cb50979 remove 'useUpdatedTemplates' flag that's no longer supported. Fix build.
am: 7dd9749246

Change-Id: I5a048d040dd040f40d0b5e30ea67e62de4cf7259
2016-09-03 01:19:05 +00:00
smain@google.com
7dd9749246 remove 'useUpdatedTemplates' flag that's no longer supported. Fix build.
Change-Id: Ic1778b6e3044c80e602f5ce9d4f825c8578c1a0a
2016-09-02 18:10:29 -07:00
Svetoslav Ganov
8b26f5ee31 Fix NPE
am: 4b81252610

Change-Id: Iacf933a5c137cde4ca8215588be2dd6583641cc3
2016-09-03 00:11:14 +00:00
Svetoslav Ganov
4b81252610 Fix NPE
bug:30150688

Change-Id: I2ae0cb76b2f6f0b47241bccc6922f1034183cc75
2016-09-03 00:01:50 +00:00
Svetoslav Ganov
4ff27f97e9 Merge "Prevent apps to overlay other apps via toast windows" into nyc-mr1-dev
am: cbfd373d72

Change-Id: I9f697872bbc6564d01ebb78d1908ea702efc5fb5
2016-09-02 23:44:30 +00:00
Svetoslav Ganov
dea62c6f58 Prevent apps to overlay other apps via toast windows
am: aa07653d2e

Change-Id: I309615a989eade43401b086da42ff6522d000b68
2016-09-02 23:36:59 +00:00
Svetoslav Ganov
cbfd373d72 Merge "Prevent apps to overlay other apps via toast windows" into nyc-mr1-dev 2016-09-02 23:28:26 +00:00
Dirk Dougherty
26e1492421 Merge "Remove obsolete collections and extras metadata files. Authors should use jd_extras_<lang> instead..." into nyc-dev am: 460b9c08e6 am: 995138bb1c
am: 70847a230c

Change-Id: Idd6c21b0e4ab698200a2d1359ce998217e4938c2
2016-09-02 22:43:13 +00:00
Dirk Dougherty
80aa29e11b Remove obsolete collections and extras metadata files. Authors should use jd_extras_<lang> instead... am: 169f86ce7a am: 1b106686f0
am: d966f9a7c9

Change-Id: I7c0663082d02f7b8f4cd825cb3566aaced06c4fe
2016-09-02 22:43:10 +00:00
Dirk Dougherty
70847a230c Merge "Remove obsolete collections and extras metadata files. Authors should use jd_extras_<lang> instead..." into nyc-dev am: 460b9c08e6
am: 995138bb1c

Change-Id: I539eae2af282daacf484e244934d75a47d20d7df
2016-09-02 22:38:10 +00:00
Dirk Dougherty
d966f9a7c9 Remove obsolete collections and extras metadata files. Authors should use jd_extras_<lang> instead... am: 169f86ce7a
am: 1b106686f0

Change-Id: I062da10a5b82f7bd39f935ca36c87aa0b3162aeb
2016-09-02 22:38:07 +00:00
Dirk Dougherty
995138bb1c Merge "Remove obsolete collections and extras metadata files. Authors should use jd_extras_<lang> instead..." into nyc-dev
am: 460b9c08e6

Change-Id: I55c8a7dc7b90a12b177f3923731a2ad913bed60b
2016-09-02 22:31:57 +00:00
Dirk Dougherty
1b106686f0 Remove obsolete collections and extras metadata files. Authors should use jd_extras_<lang> instead...
am: 169f86ce7a

Change-Id: I714461981eb3ed28178006c4acf4cd111204b4bb
2016-09-02 22:31:54 +00:00
Dirk Dougherty
460b9c08e6 Merge "Remove obsolete collections and extras metadata files. Authors should use jd_extras_<lang> instead..." into nyc-dev 2016-09-02 22:27:02 +00:00
Winson Chung
2d48cb99fd Merge "Fixing issue with old tasks being visible in Overview" into nyc-mr1-dev
am: a8c0fe6606

Change-Id: I7a91a11754589a3a1db85f878b4b0e8f77d87c01
2016-09-02 22:08:39 +00:00
Winson
f4806c80ca Fixing issue with old tasks being visible in Overview
am: b258f6a4bd

Change-Id: I27ba3d057147b5200ac75b9f079d26423c9d0b05
2016-09-02 22:08:33 +00:00
Scott Main
b1e6345ddf Merge "switch all API builds to use template-sdk instead of (soon to be deleted) templates-sdk-dev. also update all non-DAC builds to use the "referenceonly" flag for a cleaner output and faster build." into nyc-dev am: 915b566ef0 am: 7e7a1bbe47
am: 244a1f6f78

Change-Id: I0c0ffcf96d56bdd0348757f2a315628ebe1a7db8
2016-09-02 21:59:01 +00:00
smain@google.com
3552190ba3 switch all API builds to use template-sdk instead of (soon to be deleted) templates-sdk-dev. also update all non-DAC builds to use the "referenceonly" flag for a cleaner output and faster build. am: 534bfe1a4a am: 63f29277bc
am: 7ed5e42567

Change-Id: I164ddfe89f457738a62d433b3b7d7bea5185ab2c
2016-09-02 21:57:09 +00:00
Winson Chung
a8c0fe6606 Merge "Fixing issue with old tasks being visible in Overview" into nyc-mr1-dev 2016-09-02 21:49:13 +00:00
Scott Main
244a1f6f78 Merge "switch all API builds to use template-sdk instead of (soon to be deleted) templates-sdk-dev. also update all non-DAC builds to use the "referenceonly" flag for a cleaner output and faster build." into nyc-dev am: 915b566ef0
am: 7e7a1bbe47

Change-Id: I288cb4d509113fc9dc212e6b78b5119e499f0114
2016-09-02 21:44:49 +00:00
smain@google.com
7ed5e42567 switch all API builds to use template-sdk instead of (soon to be deleted) templates-sdk-dev. also update all non-DAC builds to use the "referenceonly" flag for a cleaner output and faster build. am: 534bfe1a4a
am: 63f29277bc

Change-Id: I7311c26d821b9450eb78c911fef2aee359f859b8
2016-09-02 21:43:49 +00:00
Scott Main
7e7a1bbe47 Merge "switch all API builds to use template-sdk instead of (soon to be deleted) templates-sdk-dev. also update all non-DAC builds to use the "referenceonly" flag for a cleaner output and faster build." into nyc-dev
am: 915b566ef0

Change-Id: Id9917788f79f73a7a7f4caa1d45508ae50c00337
2016-09-02 21:36:21 +00:00
smain@google.com
63f29277bc switch all API builds to use template-sdk instead of (soon to be deleted) templates-sdk-dev. also update all non-DAC builds to use the "referenceonly" flag for a cleaner output and faster build.
am: 534bfe1a4a

Change-Id: I9833fe119f6e5fef4cd74439c71d6a40fb5d5db9
2016-09-02 21:36:07 +00:00
Scott Main
915b566ef0 Merge "switch all API builds to use template-sdk instead of (soon to be deleted) templates-sdk-dev. also update all non-DAC builds to use the "referenceonly" flag for a cleaner output and faster build." into nyc-dev 2016-09-02 21:27:22 +00:00
Svetoslav Ganov
aa07653d2e Prevent apps to overlay other apps via toast windows
It was possible for apps to put toast type windows
that overlay other apps which toast winodws aren't
removed after a timeout.

Now for apps targeting SDK greater than N MR1 to add a
toast window one needs to have a special token. The token
is added by the notificatoion manager service only for
the lifetime of the shown toast and is then removed
including all windows associated with this token. This
prevents apps to add arbitrary toast windows.

Since legacy apps may rely on the ability to directly
add toasts we mitigate by allowing these apps to still
add such windows for unlimited duration if this app is
the currently focused one, i.e. the user interacts with
it then it can overlay itself, otherwise we make sure
these toast windows are removed after a timeout like
a toast would be.

We don't allow more that one toast window per UID being
added at a time which prevents 1) legacy apps to put the
same toast after a timeout to go around our new policy
of hiding toasts after a while; 2) modern apps to reuse
the passed token to add more than one window; Note that
the notification manager shows toasts one at a time.

bug:30150688

Change-Id: Ia1dae626bd9e22541be46edb072aa288eb1ae414
2016-09-02 14:00:07 -07:00
Chad Brubaker
01e9682cab Avoid NPE on certificates that cannot be read
Skip certificates in a DirectoryCertificateSource that cannot be read to
due IOExceptions or CertificateExceptions, this prevents a NPE but
connections will still fail due to the certificate being unusable and no
valid trust-anchor existing.

This also logs the error since this really shouldn't happen.
Bug: 29997695

Change-Id: I9f7327efc302a259fb951f1f61f7fc4d647821fa
2016-09-02 13:15:39 -07:00
Dirk Dougherty
5f52ef5782 Exclude sdk files from metadata. am: 355f33a1d9 am: d468597a79
am: 041d39d744

Change-Id: I7725b2b41073c05fad7ed64236976bd9bc333c94
2016-09-02 17:13:55 +00:00
Dirk Dougherty
041d39d744 Exclude sdk files from metadata. am: 355f33a1d9
am: d468597a79

Change-Id: I80242dc75f6dd5768326691fc33d8c701f688e81
2016-09-02 17:07:24 +00:00
Dirk Dougherty
d468597a79 Exclude sdk files from metadata.
am: 355f33a1d9

Change-Id: I4f99fd37bde61dfc813662e0e6d05412b3aef26c
2016-09-02 17:00:37 +00:00
Tyler Gunn
6f657ee021 Add toString method for session event codes.
Used to get a human readable version of a call session event for logging.

Bug: 31199425
Change-Id: Idf024ec405f1d18ff2cfab7f814b2651d7d8f0a0
2016-09-02 09:55:25 -07:00
Tenghui Zhu
76fe391a5f Merge "Remove redundant code" into nyc-mr1-dev
am: 50da38c198

Change-Id: I331566fbb43c614fb2b2e86b8e5a43695de198df
2016-09-02 16:46:27 +00:00
Teng-Hui Zhu
82907dfd36 Remove redundant code
am: 4ebc5986a8

Change-Id: I16ea5561f915a45407a2a9219604359781267cc3
2016-09-02 16:46:25 +00:00
Tenghui Zhu
50da38c198 Merge "Remove redundant code" into nyc-mr1-dev 2016-09-02 16:41:01 +00:00
John Reck
56d0ce45f3 Merge "Fix EGLImage memory leak" into nyc-mr1-dev
am: 02913603bd

Change-Id: If5c9e833cd2cc9d54731137a5f64cab6754c3c98
2016-09-02 15:15:16 +00:00
John Reck
8714e02f6f Fix EGLImage memory leak
am: f8b0360298

Change-Id: Ibf8adad1b0fc66fe9de2bbd86d14b67ffe73efd0
2016-09-02 15:15:13 +00:00
John Reck
02913603bd Merge "Fix EGLImage memory leak" into nyc-mr1-dev 2016-09-02 15:07:25 +00:00
smain@google.com
534bfe1a4a switch all API builds to use template-sdk instead of (soon to be deleted) templates-sdk-dev.
also update all non-DAC builds to use the "referenceonly" flag for a cleaner output and faster build.

Change-Id: Iebd9791305479c5dc406ba3b81eaf076855bc632
2016-09-01 19:57:42 -07:00
Jorim Jaggi
2578beccbe Only show optimizing storage dialog if dex opt dialog was shown
This doesn't take long, so there is little reason to show it if
we didn't show the dex opt dialog.

Bug: 29643498
Change-Id: I955f9dfa233166a8a150deb2d115a591e6d82394
2016-09-01 18:44:53 -07:00
Yohei Yukawa
457af8f809 Merge "Fix typos in JavaDoc for InputConnection" into nyc-mr1-dev
am: bdb81a0a7f

Change-Id: I5f9ef6f373d137f76fc62747d8c293ed0ae809f9
2016-09-02 00:21:41 +00:00
Yohei Yukawa
1a000651d5 Fix typos in JavaDoc for InputConnection
am: 1ab959a6e0

Change-Id: I8e945ed58761262ebe3b7521de1c4b701ab6e195
2016-09-02 00:21:37 +00:00
TreeHugger Robot
bdb81a0a7f Merge "Fix typos in JavaDoc for InputConnection" into nyc-mr1-dev 2016-09-02 00:16:04 +00:00
Jorim Jaggi
031f79560f Only do slow unlock transition if real home is not running
Test: Tested the first unlock on both FDE and non-FDE device.

Change-Id: Ibfbb9d67fb83456acd7b12bbe2d03a961a998ba9
Fixes: 31203310
2016-09-01 16:57:25 -07:00