When system process binds to SystemCaptionsManagerService, add BIND_INCLUDE_CAPABILITIES
Bug: 153144383
Test: adb shell dumpsys activity -a, observe com.google.android.as
process has capability 7.
Change-Id: I3284ac60a3032c68b378570ceb20129916445596
heapDump() is used to collect process heaps via "am dumpheap <pid>". It is
alternative to "dumpsys meminfo" and would hang if called on a frozen
process. In this patch:
- disable freezer before the binder transaction to collect heap data
- install a man-in-the-middle callback to handle completion of
collection. The new callback will invoke the original one from the client
and then enable the freezer again.
Change-Id: I43f501a88a7325d1bd2b3d1c6eb4a4d03b97a691
Test: am dumpheap <frozen process pid>
Bug: 151225245
IncrementalService used to keep the storage parameters in the
directory metadata, but our current incfs doesn't support
metadata on directories - so the storage id is encoded in its
name. But the loading code used to think it's still in the
metadata and couldn't load anything for that reason
Bug: 151241369
Test: install an app and reboot the phone. It's still there
Change-Id: Ic93f8f368b48fc5c5cc9bb726eff80478183596c
In *theory*, a View should always receive an ACTION_DOWN before
receiving any other touch events, but this isn't always the case in
practice. Whenever we see one of these "partial" gestures, we should
ignore it until a real one starts.
Test: manual
Bug: 146323887
Change-Id: I22182d90b0057df67fbd6d20785da23d6c17dcf3
After switching to the new socket schema, we can remove certain LogEvent
constructors. AttributionNodeInternal was only used in tests and can be
removed as well.
Bug: 14959031
Test: bit statsd_test:*
Change-Id: Ib5cb6acc50cc4d37a46a076d41face452a0a87d8
* changes:
Dispatch bind pipeline at end of UI thread handler
Fix modifying NBP callbacks in the callback
Refactor heads up view binding
Change free API to free when the content is safe
Some builds may not have secure ADB (ro.secure.adb=1) enabled; however,
they should still be able to use Test Harness Mode. This enables those
builds to enable Test Harness Mode even if they're running the baked-in
ADB keys and/or they don't require keys at all.
Bug: 150721793
Change-Id: If095c379f70a6ca7b0cf3be8b30dfa43b85633e3
Merged-In: If095c379f70a6ca7b0cf3be8b30dfa43b85633e3
(cherry picked from commit af45921344)
... for the cases when a particular task display area target is not
specified, and/or the logic applies only to the default/fallback
task area on the display.
Bug: 152116619
Test: WM CTS and unit tests
Change-Id: I209629baada05b0615ea2874f39a2b30a95b7565
- When disposing the input consumer we were just hiding it, while a new
one was created everytime the IC is requested, resulting a leak of
input surfaces for these consumers
Bug: 153081070
Test: Enter pip several times, ensure there is only one pip input
surface
Change-Id: I0161a36f3c4eb675dab9a72a896801c837d75852