- Add the 3rd-line data in BaseTemplateData to support new Android T
use case;
- Remove the optional constructor from Text for API review comments in
b/218860086;
- Add SubItemLoggingInfo to support the sub-card logging on the base
card.
Fixes: 218860086
Test: atest CtsSmartspaceServiceTestCases
Change-Id: I39d7014f4f5b36719f54e191ed5af1fa45429a53
Right now signature check is unconditionally bypassed on debuggable
builds, which makes things a little bit confusing - instrumentation will
succeed on debuggable build, but fail on the user build.
Bug: 209061624
Test: adb shell am --always-check-signature com.android.tests.supplemental.process/androidx.test.runner.AndroidJUnitRunner
Change-Id: I66d6331156d4503e147141872cbe73a9330ea701
Terms
- Host activity, the activity that the content-pip is originated from.
There should be some UI affordance on Host activity user can tap to
enter content-pip
- Container activity, the activity that carries the content from Host
Activity and transits to PiP mode
Workflow in brief
- Container activity is defined in the same application as Host activity
- A new ActivityOptions#makeLaunchIntoPip API is added, Host activity
uses this API to construct ActivityOptions to launch the Container
activity directly into pip mode.
- ActivityStarter sets a reference on Container activity pointing to
Host activity upon creation and moves the activity to pinned task
- WMShell transits Container activity to pinned mode
- When user taps on `Expand` button in PiP menu, WMShell calls
WCT#startTask with the task id to bring the Host task to front
Content hand-off
- Since Host activity is the one starts Container activity, it can
replace its content with some placeholder right after startActivity
- This CL also makes the assumption that Host activity can establish a
communication channel with the Container activity, such as using the
ResultReceiver parcelable. Therefore it's out of scope to provide
extra callback to Host activity on lifecycle events of Container activity.
See also the design doc go/content-pip-v2 and the end-to-end demo in
ApiDemos `App > Activity > Picture in Picture`
Bug: 165793661
Video: http://recall/-/aaaaaabFQoRHlzixHdtY/e9Mp5rvxYBrNOdGSUoSXHO
Test: manual, see Video
Test: atest WmTests:ActivityOptionsTest \
WmTests:ActivityRecordTests \
WmTests:ActivityStarterTests \
PinnedStackTests
Change-Id: I2bebfea8d1930b0b7e495d91cfd5ddc7c347da68
Adds option to set a custom remote action to the PiP params to be used
instead of the system provided close action.
Although PipParamsBuilder gets a new setter, we do *not* add any new
getters to PipParams since the convention for this class has been to
not have any getters at all. The only existing public APIs are from
Parcelable: describeContents, writeToParcel, and CREATOR.
Bug: 218487423
Test: atest PinnedStackTests#testCloseActionIsSet
Change-Id: I04f1cc6177744e43236876cebbfc80cced1637ff
On TV information about the PIP is to be shown in the dashboard and via
a card in the launcher. The app should be able to provide information
for this in the form of a title and subtitle if they want to.
Bug: 204173025
Test: atest PinnedStackTests#testTitleIsSet
Test: atest PinnedStackTests#testSubtitleIsSet
Change-Id: I805e010bad177215627f2a4876cd7bd7e0bd2314
Populate a new stats atom with information about PendingIntents; per-uid: (1) the total number of intents and (2) the total size of any extras bundled with the intents.
Change-Id: I04e6b368a76623c80ead6f846baf85b1a6c5ce70
Test: statsd_testdrive 10151
Bug: 217162457
Add a manifest flag for applications to opt-out of the new back
navigation system.
Test: atest
CtsWindowManagerDeviceTestCases: android.server.wm.BackNavigationLegacyTest
Bug: 217709328
Change-Id: I43d09a37b126e59bdb8f20bb83cf6d99e53a1e91
Also
1. update documentation about the IllegalArgumentException thrown in
setNightModeCustomType
2. modify NightModeCustomType to not include MODE_NIGHT_CUSTOM_TYPE_UNKNOWN
3. add @IntDef, NightModeCustomReturnType, for the getNightModeCustomType
4. Fix lint warning
Test: atest FrameworksUiServicesTests:UiModeManagerServiceTest
Bug: 218860231
Change-Id: Id8b1f1d7a3ee60f62a0ff6cdee0b5e416a130d63
These 3 options (--autofill, --contentcapture, and --tranlation)
are now available as '--dump-dumpable DUMPABLE' (where DUMPABLE is
AutofillManager, ContentCaptureManager, and UiTranslationController
respectively).
Test: adb shell am start com.android.settings && adb shell dumpsys activity com.android.settings --autofill
Test: m -j update-api
Bug: 149254050
Change-Id: Iaf9040a4afcd87d32c60e32d19aaca8e1d2c817a
- Fix handle of special args (they were not called unless the app
targeted T).
- Lazy-adds some dumpables to Activity (so the list of dumpables
is not created until dump() is called).
Test: adb shell am start com.android.settings && adb shell dumpsys activity com.android.settings --list-dumpables
Test: atest CtsAppTestCases:android.app.cts.ActivityDumpTest
Bug: 149254050
Change-Id: Id25d115d4aef8ab16ceb3d035c134c637e16dadd
This changelist provides access to whether dreams are supported and
enabled through the DreamManager. These methods are hidden and part of
the Test API.
Bug: 215744456
Test: atest DreamServiceTest DreamManagerServiceTests
Change-Id: Ie2245429c580ad0f7a3d510b26d4001c26a8ad9c