+ Don't allow contact sharing by default for devices not recognized
as carkit at pair time.
Bug: 23607427
Change-Id: If6babb10117ba7ee5008a4a29450a7cb981bea4a
(cherry picked from commit 07533dbffff5551ad4c58852b5856f57d7da6801)
Bug: 25411780
Partial-revert for now, reopened b/22565656 to
deal with the memory use in a followup
Change-Id: I1ec636bc811a85eb2dc4f8c91562dc81b6261355
Mark activity window as invisible with window manager when it's
destroyed normally, to differentiate with the case where the app
crashed while visible.
bug: 25671369
Change-Id: I26d8df6b7e08fc5b65cd2c7aa432a3c5c8c5c7b3
Speedup by telling __android_is_loggable interface it will not
be called within a signal handler. This saves two system calls.
Bug: 25563384
Change-Id: Ib8188641c8c76e5aa848476da98596be6b8e5040
am: 76e30f26af -s ours
* commit '76e30f26afe9b5971028ce10353da5f760f6738a':
DO NOT MERGE ANYWHERE Use correct lock for reading/writing usage stats files
am: ddf77e14e5 -s ours
* commit 'ddf77e14e5d6a5b8aa61c0a9f82c099468129df7':
DO NOT MERGE ANYWHERE Fix system watchdog timeout when reading too many usage events.
am: 4d93d122bd -s ours
* commit '4d93d122bd8c9988cb4239d5aec7401f6ee3c54b':
DO NOT MERGE ANYWHERE Use correct lock for reading/writing usage stats files
am: 2d43dd3c0e -s ours
* commit '2d43dd3c0e49776589cb21bfbf9b3860623d0bfc':
DO NOT MERGE ANYWHERE Fix system watchdog timeout when reading too many usage events.
am: 516ac154e1 -s ours
* commit '516ac154e16324d178fc1343293c4b1d5447ef2c':
DO NOT MERGE ANYWHERE Use correct lock for reading/writing usage stats files
am: 6915d809e8 -s ours
* commit '6915d809e895d29411c0a687bff7fdd391509dc7':
DO NOT MERGE ANYWHERE Fix system watchdog timeout when reading too many usage events.
We should use freeform animation spec not only when the task is already
freeform, but also when it is entering freeform.
Bug: 25669457
Change-Id: I30cba79a149183b0a8b9e1e4751a215cef6a490f
Change-Id: I4013e0700369764a26485d8620ebf16d8bea1951
Test: Built and ran Android in an emulator
Bug: 25242023
Signed-off-by: Casey Dahlin <sadmac@google.com>
When there's an exception during the inflation of a framework view (for
example invalid attributes), report the exception correctly. The earlier
behaviour assumed the exception to be a ClassNotFoundException and tried
to load it from the user's project. This is not longer the case.
Also, update the MockView class to a FrameLayout with a single TextView.
This means that the MockView is a ViewGroup and will not choke when
someone attempts to add a View to it (although, the view will be
silently dropped).
Change-Id: Ice003817ceb627ebfbbbb245ab6be10f9141e728
Previously applications where uninstalled for the system user at a later stage
in a boot process, when PM has already been initialized and registered as
a service. This was causing a flood of PACKAGE_REMOVED broadcasts.
Applications are now uninstalled at an earlier stage, when PM hasn't been
registered. Packages can simply be marked as not installed and broadcast
can be skipped.
Bug: 25626819
Change-Id: Ib64e7c45619809b0efb99cc566a9a2120ed48cd3
When setting the stack bounds from the system UI we need depend on
DisplayInfo.logicalWidth/Height instead of DisplayMetrics.
DisplayMetrics have values adjusted for status bar and nav bar, but the
Activity Manager doesn't know about that. It expects the stack bounds to
use full display size.
Bug: 25665425
Change-Id: Idf5f3192105b72686d1ad11fe4f42c894bb87fbe
When getting trust anchors we need to dedup them based on the
certificate to avoid having multiple trust anchors with the same cert
but different pin override behavior. If there are multiple trust anchors
with the same cert, the trust anchor which overrides pins wins.
Change-Id: Ida31f2551f56997418b8b091bb2598c5593cb069
- Evaluate touch exclusion region on per-task basis, instead of per
window. Smallest unit for exclusion is Task, if task has more than
one app window, we still need to use the visible area of the task
to do focus transfer properly.
- Only add back the touch region for focused task after all tasks
are processed for eclusion, otherwise the focused area could be
removed from exclusion incorrectly.
- Skip app windows that's exiting or hidden.
bug: 25494928
Change-Id: I972ba2149431557e7420b1095d9496a6cd821bdb
print services are enabled
The add printer icon is always visible as this is used for both adding
a printer and adding addition print services
We have three different empty views now:
1. No print services
2. No printers found (not search filter set)
3. No printers found (search filter set)
Bug: 24132367
Change-Id: Ic30812b60986f1e0f023488cefc6aa901ce20824