OSDN Git Service
Makoto Onuki [Wed, 7 Sep 2016 21:36:35 +0000 (21:36 +0000)]
Merge "Allow DO/PO to be installed with certain preconfigured accounts." into nyc-mr1-dev
TreeHugger Robot [Wed, 7 Sep 2016 21:16:22 +0000 (21:16 +0000)]
Merge "Fix slow PIN dismiss animation" into nyc-mr1-dev
Alan Viverette [Wed, 7 Sep 2016 21:03:45 +0000 (21:03 +0000)]
Merge "Support library 24.2.0 API diff" into nyc-dev am:
9d25bf73a4
am:
75136ac15b
Change-Id: I83b88e8b9c2b5f807f06b016110a19d46dbb348c
Alan Viverette [Wed, 7 Sep 2016 21:03:43 +0000 (21:03 +0000)]
Support library 24.2.0 API diff am:
ae3fecc1a9
am:
56477c1fcb
Change-Id: I3e4f453f37fabe0e5358b32272d38d93ea97b28c
Alan Viverette [Wed, 7 Sep 2016 20:59:53 +0000 (20:59 +0000)]
Merge "Support library 24.2.0 API diff" into nyc-dev
am:
9d25bf73a4
Change-Id: I0f691281d86562c96ed0768efb69d6df77d29456
Alan Viverette [Wed, 7 Sep 2016 20:59:49 +0000 (20:59 +0000)]
Support library 24.2.0 API diff
am:
ae3fecc1a9
Change-Id: Ie9a007ad44ae0293ef4c4138888da0e78d61b322
Alan Viverette [Wed, 7 Sep 2016 20:54:04 +0000 (20:54 +0000)]
Merge "Support library 24.2.0 API diff" into nyc-dev
Narayan Kamath [Wed, 7 Sep 2016 20:43:30 +0000 (20:43 +0000)]
Backport changes to whitelist sockets opened by the zygote. am:
7ec85f9d54 am:
f7b9f84f87 am:
9a409265fc -s ours am:
9802fcfa2b am:
2acf9f7e3c am:
36b90a1934 am:
5febcdd210 am:
ebcc7aeda9 am:
f52b30cf8d
am:
a2112ae2a0
Change-Id: I0a25aa4285f9661a5bc53114c90aaca054ea6df1
Andrew Solovay [Wed, 7 Sep 2016 20:37:16 +0000 (20:37 +0000)]
Merge "docs: Fixing redirect file" into nyc-dev am:
33831c02b5
am:
733e368097
Change-Id: Ice97fbcfcd0fa8b412bfc2abe8b526bc4de86800
Andrew Solovay [Wed, 7 Sep 2016 20:37:14 +0000 (20:37 +0000)]
docs: Fixing redirect file am:
5bf2ea6670
am:
7771476630
Change-Id: I591778d29944c5c74c9953ae24d4ba31a45ae8b7
Narayan Kamath [Wed, 7 Sep 2016 20:36:47 +0000 (20:36 +0000)]
Backport changes to whitelist sockets opened by the zygote. am:
7ec85f9d54 am:
f7b9f84f87 am:
9a409265fc -s ours am:
9802fcfa2b am:
2acf9f7e3c am:
36b90a1934 am:
5febcdd210 am:
ebcc7aeda9
am:
f52b30cf8d
Change-Id: I99751b55fb10e0fcd2703d59d8925744a73bcfd0
Narayan Kamath [Wed, 7 Sep 2016 20:32:17 +0000 (20:32 +0000)]
Backport changes to whitelist sockets opened by the zygote. am:
7ec85f9d54 am:
f7b9f84f87 am:
9a409265fc -s ours am:
9802fcfa2b am:
2acf9f7e3c am:
36b90a1934 am:
5febcdd210
am:
ebcc7aeda9
Change-Id: Ie2e2292bbb8c6d274109d64f7dd3ed00fca0ba0f
Andrew Solovay [Wed, 7 Sep 2016 20:25:45 +0000 (20:25 +0000)]
Merge "docs: Fixing redirect file" into nyc-dev
am:
33831c02b5
Change-Id: I22a2c26b77c0ce27499ee1a9ba3567e6c337cf02
Andrew Solovay [Wed, 7 Sep 2016 20:25:43 +0000 (20:25 +0000)]
docs: Fixing redirect file
am:
5bf2ea6670
Change-Id: I8d1ea69862b543eb13c96398d967979e2040914a
Narayan Kamath [Wed, 7 Sep 2016 20:23:28 +0000 (20:23 +0000)]
Backport changes to whitelist sockets opened by the zygote. am:
7ec85f9d54 am:
f7b9f84f87 am:
9a409265fc -s ours am:
9802fcfa2b am:
2acf9f7e3c am:
36b90a1934
am:
5febcdd210
Change-Id: Ib7e40acc4682e4198dcaab78c57de02acfe89c94
TreeHugger Robot [Wed, 7 Sep 2016 20:19:07 +0000 (20:19 +0000)]
Merge "docs: Fixing redirect file" into nyc-dev
Narayan Kamath [Wed, 7 Sep 2016 20:17:02 +0000 (20:17 +0000)]
Backport changes to whitelist sockets opened by the zygote. am:
7ec85f9d54 am:
f7b9f84f87 am:
9a409265fc -s ours am:
9802fcfa2b am:
2acf9f7e3c
am:
36b90a1934
Change-Id: Iec55904ecb004d3bf89bf3a065e5811afae798d6
Narayan Kamath [Wed, 7 Sep 2016 20:12:43 +0000 (20:12 +0000)]
Backport changes to whitelist sockets opened by the zygote. am:
7ec85f9d54 am:
f7b9f84f87 am:
9a409265fc -s ours am:
9802fcfa2b
am:
2acf9f7e3c
Change-Id: Ideae7875e299ec0292054aad85fe8aa92b6aba9b
Narayan Kamath [Wed, 7 Sep 2016 20:07:58 +0000 (20:07 +0000)]
Backport changes to whitelist sockets opened by the zygote. am:
7ec85f9d54 am:
f7b9f84f87 am:
9a409265fc -s ours
am:
9802fcfa2b
Change-Id: Iabeefa7d07d78002c124ce62dc210111b83a99b7
Narayan Kamath [Wed, 7 Sep 2016 20:01:56 +0000 (20:01 +0000)]
Backport changes to whitelist sockets opened by the zygote. am:
7ec85f9d54 am:
f7b9f84f87
am:
9a409265fc -s ours
Change-Id: Idf4dcc5ab7e8b0510848cbd2f220fe7a8e4b3e04
TreeHugger Robot [Wed, 7 Sep 2016 19:19:55 +0000 (19:19 +0000)]
Merge "SurfaceView: Correct coordinate space in windowPositionLostRT." into nyc-mr1-dev
Andrew Solovay [Wed, 7 Sep 2016 19:12:38 +0000 (19:12 +0000)]
Merge "docs: Added note about CustomTabsIntent.setAlwaysUseBrowserUI" into nyc-dev am:
4dc743ac67
am:
d4c903e233
Change-Id: I89dd3b93a80e13f8b196bfc9a111d29299540759
Andrew Solovay [Wed, 7 Sep 2016 19:12:33 +0000 (19:12 +0000)]
docs: Added note about CustomTabsIntent.setAlwaysUseBrowserUI am:
7cfe9f83ac
am:
f2752e8f51
Change-Id: I397d056fe1d73898d28d89770dbcd95095f344b4
Andrew Solovay [Wed, 7 Sep 2016 19:07:52 +0000 (19:07 +0000)]
Merge "docs: Added note about CustomTabsIntent.setAlwaysUseBrowserUI" into nyc-dev
am:
4dc743ac67
Change-Id: Id0057e57b226cddb1411aa9c864143d704565013
Andrew Solovay [Wed, 7 Sep 2016 19:07:47 +0000 (19:07 +0000)]
docs: Added note about CustomTabsIntent.setAlwaysUseBrowserUI
am:
7cfe9f83ac
Change-Id: Ia16702066a3760311eac69e4b2a8923380e77fde
TreeHugger Robot [Wed, 7 Sep 2016 19:02:35 +0000 (19:02 +0000)]
Merge "docs: Added note about CustomTabsIntent.setAlwaysUseBrowserUI" into nyc-dev
Narayan Kamath [Wed, 7 Sep 2016 18:58:41 +0000 (18:58 +0000)]
Backport changes to whitelist sockets opened by the zygote. am:
7ec85f9d54
am:
f7b9f84f87
Change-Id: I317cecff389f30c5d47e4adee1afafbde8d9d23d
Narayan Kamath [Wed, 7 Sep 2016 18:53:40 +0000 (18:53 +0000)]
Backport changes to whitelist sockets opened by the zygote.
am:
7ec85f9d54
Change-Id: I6db56b5b06636201382f6d908297644183253c0b
Andrew Solovay [Fri, 26 Aug 2016 21:31:25 +0000 (14:31 -0700)]
docs: Fixing redirect file
Devsite handles "redirect this directory tree" differently than DAC
did; as a result, a bunch of redirects were broken. (On Devsite, a
redirect ending in a slash redirects *only* paths that match it;
to redirect that directory and all its contents, end with /...)
Also deleted one redirect that wouldn't work (trying to redirect
foo.html#bar , which wouldn't work--the anchors are ignored on
devsite and there was a separate redirect for just foo.html).
When a redirect pointed *to* a path ending in slash -- but was clearly
meant to point to the directory itself (i.e. the /index.html file) --
I removed the trailing slash.
Redirects staged to https://android-dot-devsite.googleplex.com , so
they should all work there.
bug:
30748799
Change-Id: I6d090de5e6efa6ddb2bbe3e99fdbfb0ae02b88d5
Robert Carr [Tue, 6 Sep 2016 21:41:40 +0000 (14:41 -0700)]
SurfaceView: Correct coordinate space in windowPositionLostRT.
mWinFrame as set when returning from relayout will be in screen
space coordinates. repositionChild however expects coordinates relative to the
parent position (like relayout).
Bug:
31112993
Change-Id: Id4fcd7fcb771908e8a7db981207d19c99fb51b98
Narayan Kamath [Wed, 7 Sep 2016 17:53:31 +0000 (17:53 +0000)]
Merge "fd_utils: Fix broken usage of iterators." into nyc-mr1-dev
Narayan Kamath [Fri, 19 Aug 2016 12:45:24 +0000 (13:45 +0100)]
Backport changes to whitelist sockets opened by the zygote.
This is the backport of the following commits :
Commit
c5f27a7cb2ec816f483a65255034a1b57a8aa22:
-----------------------------------------------
Reopen whitelisted zygote file descriptors after a fork.
We don't want these descriptors to be shared post-fork, so we'll
have to close and reopen them when the zygote forks. The set of
open descriptors is checked against a whitelist and it is a fatal
error if a non whitelisted FD is opened. It is also a fatal error
if anything other than a regular file / character device or socket
is opened at the time of forking.
This work is done in two stages :
- An initial list of FDs is constructed and cached prior to the
first zygote fork.
- On each subsequent fork, we check whether the list of open FDs
has changed. We are currently tolerant of changes, but in the
longer term, it should be a fatal error if the set of open file
descriptors in the zygote changes.
- Post fork, we traverse the list of open descriptors and reopen
them if necessary.
bug:
30963384
Commit
3764a260f0c90dcb323caeda14baf903cc108759:
-----------------------------------------------
Add a whitelist of sockets on fork.
Maintain a whitelist of AF_UNIX sockets that are permitted
to exist at the time of forking. If an open socket does not belong
to the whitelist (or is not AF_UNIX), the process will abort. If an
open socket is whitelisted, it will be redirected to /dev/null after
a sucessful fork. This allows us to unify our handling of the special
zygote sockets (/dev/socket/zygote[_secondary]) with the existing
whitelist of non socket file descriptors.
This change also removes non-fatal ALOGW messages since they have the
side effect of reopening the logging socket.
bug:
30963384
Commit
0b76d6a28e6978151bf245a775329cdae5e574d5:
-----------------------------------------------
fd_utils: Fix broken usage of iterators.
There were two separate issues here :
- RestatInternal was using an iterator after a call to erase(). This
will not work because it will be invalidated.
- The "standard" for loop idiom for iterating over a map while making
structural changes to it is broken. Switch to a while loop and treat
cases where elements are erased differently from cases where they
aren't.
bug:
31092930
bug:
30963384
Plus additional changes:
-----------------------------------------------
- change std::unordered_map to std::tr1::unordered_map.
- add /dev/alarm and /dev/__properties__ to the whitelist.
- map.erase(iterator) returns void prior to C++11, so need the kludge
of calling erase(it++).
Change-Id: I694ff66d5f227239b0190ffc2287882b16e336fa
Narayan Kamath [Wed, 7 Sep 2016 17:13:37 +0000 (17:13 +0000)]
Merge "fd_utils: Remove /system/etc/event-log-tags from the whitelist." into nyc-mr1-dev
Narayan Kamath [Wed, 7 Sep 2016 12:14:40 +0000 (13:14 +0100)]
fd_utils: Fix broken usage of iterators.
There were two separate issues here :
- RestatInternal was using an iterator after a call to erase(). This
will not work because it will be invalidated.
- The "standard" for loop idiom for iterating over a map while making
structural changes to it is broken. Switch to a while loop and treat
cases where elements are erased differently from cases where they
aren't.
bug:
31092930
bug:
30963384
Change-Id: I261d59239558230dd8cdd1d1cb5b9e2448a4c23f
TreeHugger Robot [Wed, 7 Sep 2016 12:06:14 +0000 (12:06 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Wed, 7 Sep 2016 12:05:51 +0000 (12:05 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev
TreeHugger Robot [Wed, 7 Sep 2016 12:00:28 +0000 (12:00 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev
Bill Yi [Wed, 7 Sep 2016 09:53:53 +0000 (02:53 -0700)]
Import translations. DO NOT MERGE
Change-Id: I7ee34b9c13e6c4d8919c5eae201954561a8e6cba
Auto-generated-cl: translation import
Bill Yi [Wed, 7 Sep 2016 07:01:44 +0000 (00:01 -0700)]
Import translations. DO NOT MERGE
Change-Id: I2541b36722c5142046760d243c27929c46c4ec42
Auto-generated-cl: translation import
Bill Yi [Wed, 7 Sep 2016 06:53:36 +0000 (23:53 -0700)]
Import translations. DO NOT MERGE
Change-Id: I911f2d59dcaefe83da01e18160b9ab905a9a96b0
Auto-generated-cl: translation import
TreeHugger Robot [Wed, 7 Sep 2016 04:47:34 +0000 (04:47 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev
Tyler Gunn [Tue, 6 Sep 2016 22:47:32 +0000 (22:47 +0000)]
Merge "Add toString method for session event codes." into nyc-mr1-dev
Jorim Jaggi [Tue, 6 Sep 2016 22:27:56 +0000 (15:27 -0700)]
Fix slow PIN dismiss animation
We need to do the slow dismissal when the user is locked, and not the
other way around.
Bug:
31203310
Change-Id: I6ad0fc831bd9dc26e7375916a0a091552f7790ae
Jaewan Kim [Tue, 6 Sep 2016 22:27:24 +0000 (22:27 +0000)]
Merge "Keep the PIP at the shifted position when the Settings is shown" into nyc-mr1-dev
Bill Yi [Tue, 6 Sep 2016 22:19:50 +0000 (15:19 -0700)]
Import translations. DO NOT MERGE
Auto-generated-cl: translation import
Bug:
30362824
Change-Id: I089a218f5903bb8c0e9166dd84ea082eecba9470
TreeHugger Robot [Tue, 6 Sep 2016 21:52:49 +0000 (21:52 +0000)]
Merge "Quicker exit animation for bottom dock on Keyguard" into nyc-mr1-dev
Sreevani Sreejith [Tue, 6 Sep 2016 21:44:05 +0000 (21:44 +0000)]
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
sreevanis [Tue, 6 Sep 2016 21:43:59 +0000 (21:43 +0000)]
docs: Added functional and UI quality criteria for Wear 2.0 apps. Bug:
30951238 am:
1e4bc15f31
am:
bc59fba7d5
Change-Id: Ie0db2a46c03cad5c2b8955ed02ad454ccbb7003a
Sreevani Sreejith [Tue, 6 Sep 2016 21:32:22 +0000 (21:32 +0000)]
Merge "docs: Added functional and UI quality criteria for Wear 2.0 apps. Bug:
30951238" into nyc-dev
am:
d2273e433c
Change-Id: I76ced02277404117c008fcea76ffafbd8ec39e82
sreevanis [Tue, 6 Sep 2016 21:32:17 +0000 (21:32 +0000)]
docs: Added functional and UI quality criteria for Wear 2.0 apps. Bug:
30951238
am:
1e4bc15f31
Change-Id: I72bb425f9d40e73a9562312f990555673553bcc4
Sreevani Sreejith [Tue, 6 Sep 2016 21:24:31 +0000 (21:24 +0000)]
Merge "docs: Added functional and UI quality criteria for Wear 2.0 apps. Bug:
30951238" into nyc-dev
TreeHugger Robot [Tue, 6 Sep 2016 21:20:19 +0000 (21:20 +0000)]
Merge "Fix receive timeout on LocalSocket" into nyc-mr1-dev
Chad Brubaker [Tue, 6 Sep 2016 21:16:30 +0000 (21:16 +0000)]
Merge "Avoid NPE on certificates that cannot be read" into nyc-mr1-dev
Jaewan Kim [Tue, 6 Sep 2016 07:45:51 +0000 (00:45 -0700)]
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
Jorim Jaggi [Tue, 6 Sep 2016 19:38:23 +0000 (12:38 -0700)]
Quicker exit animation for bottom dock on Keyguard
Change-Id: I9d07dc6ce7e2aec36bf797bd4041701315e71e0e
Fixes:
31274209
Amanda Kassay [Tue, 6 Sep 2016 19:18:26 +0000 (19:18 +0000)]
Update #jd-content to #body-content for DevSite layout changes. am:
b5887e68c3
am:
efae2d7dd6
Change-Id: Ida19d99d502013f91cb041ab9709234c1fdac2ed
Amanda Kassay [Tue, 6 Sep 2016 19:11:56 +0000 (19:11 +0000)]
Update #jd-content to #body-content for DevSite layout changes.
am:
b5887e68c3
Change-Id: I105828c530bb57aa367d8ae937a194cd1181ff0e
Makoto Onuki [Fri, 2 Sep 2016 01:02:01 +0000 (18:02 -0700)]
Allow DO/PO to be installed with certain preconfigured accounts.
- Non-test-only DO/PO still can't be installed when there are
accounts.
- Test-only DO/PO can be installed even when there are accounts,
as long as all the accounts have the
"android.account.DEVICE_OR_PROFILE_OWNER_ALLOWED" feature.
Some authenticators claim to have any features, so to detect it,
we also check android.account.DEVICE_OR_PROFILE_OWNER_DISALLOWED
and disallow installing if any of the accounts have it.
- Also add logs on certain important events in DPMS.
Bug
28928996
Change-Id: I62efce10e9cc22e994ea8cae91a4fafcce25dd77
sreevanis [Tue, 30 Aug 2016 17:02:43 +0000 (10:02 -0700)]
docs: Added functional and UI quality criteria for Wear 2.0 apps.
Bug:
30951238
Change-Id: I5cbfac60716415d87f049ae2313fed7bfa214e28
Amanda Kassay [Tue, 6 Sep 2016 16:57:36 +0000 (12:57 -0400)]
Update #jd-content to #body-content for DevSite layout changes.
Change-Id: I57c43a9b05a2bd072c54bf53e8428015edf0a90e
Phil Weaver [Tue, 6 Sep 2016 16:33:39 +0000 (16:33 +0000)]
Merge "Stop double notifying a11y about Toasts." into nyc-mr1-dev
Dirk Dougherty [Tue, 6 Sep 2016 14:29:07 +0000 (14:29 +0000)]
Doc change: remove useUpdatedTemplates script and sections using old templates. am:
9ac575abc3
am:
87b4fcfd90
Change-Id: Id5e097da26d8150bc82212d8751745b4298cd118
Dirk Dougherty [Tue, 6 Sep 2016 14:22:30 +0000 (14:22 +0000)]
Doc change: remove useUpdatedTemplates script and sections using old templates.
am:
9ac575abc3
Change-Id: I7a9d976f300b516bc7f38dacb0c89be95f1b3ef4
Narayan Kamath [Tue, 6 Sep 2016 13:46:54 +0000 (14:46 +0100)]
fd_utils: Remove /system/etc/event-log-tags from the whitelist.
We don't need this file open after change
bfd8eafa1d33460.
bug:
30963384
Change-Id: Iaa6ff54cdef2b29c8d170b1fe0718cd045b44e2f
Narayan Kamath [Mon, 5 Sep 2016 12:38:21 +0000 (13:38 +0100)]
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
TreeHugger Robot [Sun, 4 Sep 2016 01:39:30 +0000 (01:39 +0000)]
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
Dirk Dougherty [Fri, 2 Sep 2016 22:24:11 +0000 (15:24 -0700)]
Doc change: remove useUpdatedTemplates script and sections using old templates.
Change-Id: I7c4e8f36125ad120699d5b2c66bea29433fecf59
smain@google.com [Sat, 3 Sep 2016 01:24:46 +0000 (01:24 +0000)]
remove 'useUpdatedTemplates' flag that's no longer supported. Fix build. am:
7dd9749246
am:
ff8cb50979
Change-Id: I0a41407e8a605ecbd8ba761427e8a500b0e2d040
smain@google.com [Sat, 3 Sep 2016 01:19:05 +0000 (01:19 +0000)]
remove 'useUpdatedTemplates' flag that's no longer supported. Fix build.
am:
7dd9749246
Change-Id: I5a048d040dd040f40d0b5e30ea67e62de4cf7259
smain@google.com [Sat, 3 Sep 2016 01:10:29 +0000 (18:10 -0700)]
remove 'useUpdatedTemplates' flag that's no longer supported. Fix build.
Change-Id: Ic1778b6e3044c80e602f5ce9d4f825c8578c1a0a
Svetoslav Ganov [Fri, 2 Sep 2016 23:55:25 +0000 (16:55 -0700)]
Fix NPE
bug:
30150688
Change-Id: I2ae0cb76b2f6f0b47241bccc6922f1034183cc75
Svetoslav Ganov [Fri, 2 Sep 2016 23:28:23 +0000 (23:28 +0000)]
Merge "Prevent apps to overlay other apps via toast windows" into nyc-mr1-dev
Dirk Dougherty [Fri, 2 Sep 2016 22:38:10 +0000 (22:38 +0000)]
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
Dirk Dougherty [Fri, 2 Sep 2016 22:38:07 +0000 (22:38 +0000)]
Remove obsolete collections and extras metadata files. Authors should use jd_extras_<lang> instead... am:
169f86ce7a
am:
1b106686f0
Change-Id: I062da10a5b82f7bd39f935ca36c87aa0b3162aeb
Dirk Dougherty [Fri, 2 Sep 2016 22:31:57 +0000 (22:31 +0000)]
Merge "Remove obsolete collections and extras metadata files. Authors should use jd_extras_<lang> instead..." into nyc-dev
am:
460b9c08e6
Change-Id: I55c8a7dc7b90a12b177f3923731a2ad913bed60b
Dirk Dougherty [Fri, 2 Sep 2016 22:31:54 +0000 (22:31 +0000)]
Remove obsolete collections and extras metadata files. Authors should use jd_extras_<lang> instead...
am:
169f86ce7a
Change-Id: I714461981eb3ed28178006c4acf4cd111204b4bb
Dirk Dougherty [Fri, 2 Sep 2016 22:26:59 +0000 (22:26 +0000)]
Merge "Remove obsolete collections and extras metadata files. Authors should use jd_extras_<lang> instead..." into nyc-dev
Winson Chung [Fri, 2 Sep 2016 21:49:09 +0000 (21:49 +0000)]
Merge "Fixing issue with old tasks being visible in Overview" into nyc-mr1-dev
Scott Main [Fri, 2 Sep 2016 21:44:49 +0000 (21:44 +0000)]
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
smain@google.com [Fri, 2 Sep 2016 21:43:49 +0000 (21:43 +0000)]
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
Scott Main [Fri, 2 Sep 2016 21:36:21 +0000 (21:36 +0000)]
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
smain@google.com [Fri, 2 Sep 2016 21:36:07 +0000 (21:36 +0000)]
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
Scott Main [Fri, 2 Sep 2016 21:27:19 +0000 (21:27 +0000)]
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
Svetoslav Ganov [Tue, 2 Aug 2016 02:16:43 +0000 (19:16 -0700)]
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
Chad Brubaker [Thu, 7 Jul 2016 17:17:24 +0000 (10:17 -0700)]
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
Dirk Dougherty [Fri, 2 Sep 2016 17:07:24 +0000 (17:07 +0000)]
Exclude sdk files from metadata. am:
355f33a1d9
am:
d468597a79
Change-Id: I80242dc75f6dd5768326691fc33d8c701f688e81
Dirk Dougherty [Fri, 2 Sep 2016 17:00:37 +0000 (17:00 +0000)]
Exclude sdk files from metadata.
am:
355f33a1d9
Change-Id: I4f99fd37bde61dfc813662e0e6d05412b3aef26c
Tyler Gunn [Fri, 2 Sep 2016 16:55:25 +0000 (09:55 -0700)]
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
Tenghui Zhu [Fri, 2 Sep 2016 16:40:58 +0000 (16:40 +0000)]
Merge "Remove redundant code" into nyc-mr1-dev
John Reck [Fri, 2 Sep 2016 15:07:23 +0000 (15:07 +0000)]
Merge "Fix EGLImage memory leak" into nyc-mr1-dev
smain@google.com [Fri, 2 Sep 2016 02:52:17 +0000 (19:52 -0700)]
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
Jorim Jaggi [Fri, 2 Sep 2016 01:38:53 +0000 (18:38 -0700)]
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
TreeHugger Robot [Fri, 2 Sep 2016 00:16:01 +0000 (00:16 +0000)]
Merge "Fix typos in JavaDoc for InputConnection" into nyc-mr1-dev
Jorim Jaggi [Thu, 1 Sep 2016 23:39:26 +0000 (16:39 -0700)]
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
TreeHugger Robot [Thu, 1 Sep 2016 23:12:13 +0000 (23:12 +0000)]
Merge "Also Set IME_FLAG_NO_FULLSCREEN to RemoteEditText" into nyc-mr1-dev
Svetoslav Ganov [Thu, 1 Sep 2016 23:07:54 +0000 (23:07 +0000)]
Merge "White-list grandfathered sync adapters" into nyc-mr1-dev
Yohei Yukawa [Thu, 1 Sep 2016 22:42:29 +0000 (15:42 -0700)]
Fix typos in JavaDoc for InputConnection
This CL fixes typos in JavaDoc for InputConnection.
This CL slso updates the content regarding a new API that was added in
API 25 [1][2].
[1]: Iaadf934a997ffcd6000a516cc3c1873db56e60ad
152944f4909c47917473293b258d266435c6ab35
[2]: Ica1ba3154795c1bf44e140dfe639b299f83cd8af
adebb52588b098a1af678d4e33a234ef1ce783b2
Bug:
31249896
Change-Id: Icafedb15943a84f8e5b03ef9eb3a50627d508bdd
Svet Ganov [Thu, 1 Sep 2016 17:24:11 +0000 (10:24 -0700)]
White-list grandfathered sync adapters
Sync adapters were able to access the synced account without the accounts
permission which circumvents our permission model. Therefore, we require
sync adapters that don't have access to the account to get user consent.
This can be noisy, therefore we will white-list sync adapters installed
before we started checking for account access because they already know
the account (they run before) which is the genie is out of the bottle.
bug:
31162498
Change-Id: I815e521778892ec592d53d086273743f1711bd17
Dirk Dougherty [Thu, 1 Sep 2016 21:07:47 +0000 (14:07 -0700)]
Exclude sdk files from metadata.
Change-Id: I16f89a3bfae32a0fa54037e328fc784133e5d9b0
Bug-Id:
31244539
Wyatt Riley [Thu, 1 Sep 2016 21:16:23 +0000 (21:16 +0000)]
Canada AGNSS settings update
am:
ff374d4def
Change-Id: Ieafa6e4ebcf326038c97d1e9d0dc1acff43531ab