Replace some existing usages of mSupportsNonResizableMultiWindow with
checking supportsMultiWindow() per Task/Activity.
This is cleanup before updating supportsMultiWindow().
Bug: 176061101
Test: pass existing
Change-Id: I3de46d6ecaae1ad93d031384e9cba6e0e4ebb01d
We have a reason to reference this flag from the base framework. Mark
the flag as @SystemApi so it can be referenced.
Bug: 184962595
Test: atest AutoRevokeTest
Change-Id: Id9cb5d32b4afc9c49b8f97996fdfde2d4c239ca4
Many apps currently mis-use getRaw APIs assuming they just
mean screen-space. Until they are educated about it, we need
to add this compatibility layer to apply rotation-only to
getRaw API output. This is a small part of the change, the
rest is in frameworks/native.
Bug: 179274888
Test: atest inputflinger_tests:InputDispatcherTest
Change-Id: I5f3ddf885f6b348201bfc92be128d9a36104abc8
The android.database.sqlite package summary page now mentions the
versions of SQLite that are available on Android devices running Pie
(API level 28), Q (API level 29), R (API level 30) and S (API level 31)
Change-Id: I49c6bdd7edbaf98a62f50cb65ba00f160c800f0c
Test: make ds-docs -j16
If an incoming transition merge request contains only a task
open, this will be converted into the existing onTaskAppeared
callback that recents expects.
Bug: 186132704
Test: open app, swipe to overview, scroll to another app, launch.
Change-Id: Ifd288fbb73e2b4ea7011066bda5c3694b5f579d9
Rename Battery to BatteryState, and rename the method hasBattery to
isPresent.
Return NaN in getCapacity() if capacity can not be read.
Bug: 180733860
Test: atest android.hardware.input.cts.tests
Change-Id: I8e855be0b263479c2744b817df5f591c9d1e4a64
Instead of GRUU URI parsing cause NPE if the string is empty,
check to make sure the string is populated before trying to parse.
Test: atest CtsTelephonyTestCases
Change-Id: I194ed8cc0e7df359ff9cf826e233f29e80ad71ff
YT calls Activity#moveTaskToBack(false) when tapping on background play
in PiP mode. Simply ignore any system transition in this case.
See also go/pip-move-task-to-back
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/g1i3IAyUeSJua1dA61OhXQ
Bug: 175279237
Test: Tap background play when in PiP, see Video
Change-Id: I7319fe6e12208e51e516bc4ea82ee7325ccecc11
- Add the ability to get tag param from from and to headers
- Add the ability to parse Accept-Contact header feature
tags that start with "+" for session tracking.
Test: CtsTelephonyTestCase:SipDelegateManagerTest TeleServiceTests
Bug: 173828358
Change-Id: I29aca0911a6600b99bc462ea816bdd283751ea00
Since the AR and location source concepts define what the
app can do, i.e. it can provide activity recognition or
location to other apps, we treat that app as the AR/location
source and allow op remapping for app users (as this app
runs for all users as a separate instance).
bug: 185504196
Test: manual
Change-Id: Iab15e2d4a2c3f6f15fe8a22c61ea7272460ea4d2
If the device doesn't have the reboot escorw HAL, default the provider
to server-based. It helps OEM testing before our P/H flag rollout;
because most OEM devices don't install the HAL.
Test: unittests
Change-Id: Ia43ab0abb769bbf8e11e61841f4a647ae2acc6be
The alarm store implementation might change, leaving the pointer passed
to MetricsHelper with an empty instance.
Also reordered some code to reduce unnecessary locking.
Test: Manually, run:
adb shell device_config put alarm_manager lazy_batching false
Then:
./out/host/linux-x86/bin/statsd_testdrive 10106
should show non-zero values.
Bug: 177556103
Change-Id: I55b4318d14632f227adfd79f7a08bb50af98f03a
AAPT2 Macros are compile-time resources definitions that are expanded
when referenced during the link phase.
A macro must be defined in the res/values.xml directory. A macro
definition for a macro named "foo" looks like the following:
<macro name="foo">contents</macro>
When "@macro/foo" is used in the res/values directory or in a compiled
XML file, the contents of the macro replace the macro reference and
then the substituted contents are compiled and linked. If the macro
contents reference xml namespaces from its original definition, the
namespaces of the original macro definition will be used to determine
which package is being referenced.
Macros can be used anywhere resources can be referenced using the
@package:type/entry syntax.
Macros are not included in the final resource table or the R.java since
they are not actual resources.
Bug: 175616308
Test: aapt2_tests
Change-Id: I48b29ab6564357b32b4b4e32bff7ef06036382bc
Smartspace always sends out an update on headphones connection for a reliable triggering:
- A valid recommendation list with >= 3 items;
- Otherwise, an empty list only for triggering.
If it's the latter case, the recommendation should not be shown.
Fixes: 186585554
Test: Studio builds
Change-Id: I441454809f7c6b10e21d18f46c10e01efc892db0
Bug: 185906621
During overscroll animation, there is no need to call
disallowInterceptTouchEvents(). This removed the
call so that parents can intercept touch events.
Test: Ia9ac6d81a5b60222f489ea87f31ecba0c1d48cea
Test: manual testing
Change-Id: Ie5d9428d95b86d7a976c2f3c519547151a45cec5