Commit Graph

251534 Commits

Author SHA1 Message Date
TreeHugger Robot
2c0df72ff6 Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-09-07 04:47:37 +00:00
Tyler Gunn
b2e0ed8772 Merge "Add toString method for session event codes." into nyc-mr1-dev 2016-09-06 22:47:34 +00:00
Jaewan Kim
e70f79b584 Merge "Keep the PIP at the shifted position when the Settings is shown" into nyc-mr1-dev 2016-09-06 22:27:27 +00:00
Bill Yi
dd0e168ca5 Import translations. DO NOT MERGE
Auto-generated-cl: translation import

Bug: 30362824
Change-Id: I089a218f5903bb8c0e9166dd84ea082eecba9470
2016-09-06 15:19:50 -07:00
TreeHugger Robot
1191fee634 Merge "Quicker exit animation for bottom dock on Keyguard" into nyc-mr1-dev 2016-09-06 21:52:51 +00:00
Sreevani Sreejith
b8cf0a24ad Merge "docs: Added functional and UI quality criteria for Wear 2.0 apps. Bug:30951238" into nyc-dev am: d2273e433c
am: bbc189dd96

Change-Id: I58ab0b454636e913cfa9a51fcab0a71f7ef720d1
2016-09-06 21:44:05 +00:00
sreevanis
8281a41bab docs: Added functional and UI quality criteria for Wear 2.0 apps. Bug:30951238 am: 1e4bc15f31
am: bc59fba7d5

Change-Id: Ie0db2a46c03cad5c2b8955ed02ad454ccbb7003a
2016-09-06 21:43:59 +00:00
Sreevani Sreejith
bbc189dd96 Merge "docs: Added functional and UI quality criteria for Wear 2.0 apps. Bug:30951238" into nyc-dev
am: d2273e433c

Change-Id: I76ced02277404117c008fcea76ffafbd8ec39e82
2016-09-06 21:32:22 +00:00
sreevanis
bc59fba7d5 docs: Added functional and UI quality criteria for Wear 2.0 apps. Bug:30951238
am: 1e4bc15f31

Change-Id: I72bb425f9d40e73a9562312f990555673553bcc4
2016-09-06 21:32:17 +00:00
Sreevani Sreejith
d2273e433c Merge "docs: Added functional and UI quality criteria for Wear 2.0 apps. Bug:30951238" into nyc-dev 2016-09-06 21:24:34 +00:00
TreeHugger Robot
e3e952148c Merge "Fix receive timeout on LocalSocket" into nyc-mr1-dev 2016-09-06 21:20:23 +00:00
Chad Brubaker
ae76b4eab1 Merge "Avoid NPE on certificates that cannot be read" into nyc-mr1-dev 2016-09-06 21:16:32 +00:00
Jaewan Kim
177801c273 Keep the PIP at the shifted position when the Settings is shown
Some top level Settings menus launch activities from other packages.
In that case, they should be considered as a part of the Settings
if they follow the Leanback's side panel style.

Add such activities to the whitelist to keep the PIP position.

Bug: 31142005
Change-Id: I12cab611b346154048cbd61f6a678f23b5a10c00
2016-09-06 14:09:07 -07:00
Jorim Jaggi
48832811b0 Quicker exit animation for bottom dock on Keyguard
Change-Id: I9d07dc6ce7e2aec36bf797bd4041701315e71e0e
Fixes: 31274209
2016-09-06 12:38:23 -07:00
Amanda Kassay
735b9eca0f Update #jd-content to #body-content for DevSite layout changes. am: b5887e68c3
am: efae2d7dd6

Change-Id: Ida19d99d502013f91cb041ab9709234c1fdac2ed
2016-09-06 19:18:26 +00:00
Amanda Kassay
efae2d7dd6 Update #jd-content to #body-content for DevSite layout changes.
am: b5887e68c3

Change-Id: I105828c530bb57aa367d8ae937a194cd1181ff0e
2016-09-06 19:11:56 +00:00
sreevanis
1e4bc15f31 docs: Added functional and UI quality criteria for Wear 2.0 apps.
Bug:30951238

Change-Id: I5cbfac60716415d87f049ae2313fed7bfa214e28
2016-09-06 10:37:04 -07:00
Amanda Kassay
b5887e68c3 Update #jd-content to #body-content for DevSite layout changes.
Change-Id: I57c43a9b05a2bd072c54bf53e8428015edf0a90e
2016-09-06 13:33:09 -04:00
Phil Weaver
85d18cce6d Merge "Stop double notifying a11y about Toasts." into nyc-mr1-dev 2016-09-06 16:33:42 +00:00
Dirk Dougherty
a2153e6246 Doc change: remove useUpdatedTemplates script and sections using old templates. am: 9ac575abc3
am: 87b4fcfd90

Change-Id: Id5e097da26d8150bc82212d8751745b4298cd118
2016-09-06 14:29:07 +00:00
Dirk Dougherty
87b4fcfd90 Doc change: remove useUpdatedTemplates script and sections using old templates.
am: 9ac575abc3

Change-Id: I7a9d976f300b516bc7f38dacb0c89be95f1b3ef4
2016-09-06 14:22:30 +00:00
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
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
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
4b81252610 Fix NPE
bug:30150688

Change-Id: I2ae0cb76b2f6f0b47241bccc6922f1034183cc75
2016-09-03 00:01:50 +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
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
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
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
50da38c198 Merge "Remove redundant code" into nyc-mr1-dev 2016-09-02 16:41:01 +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
TreeHugger Robot
bdb81a0a7f Merge "Fix typos in JavaDoc for InputConnection" into nyc-mr1-dev 2016-09-02 00:16:04 +00:00