By default we hide all insets while the DreamActivity is active.
The client app has access to the main window of the activity, so it
could override this.
Bug: 151749301
Test: m && flash && start the screensaver and verify that nav bar is
gone
Change-Id: Iecdc5f67c976de5477523e9745a9e8733703c11f
* Use the original authentication instead
* Also support sending intent from augmented autofill, with the
limitation of not supporting sending back the FillResponse or
Dataset from the activity result
Test: manual
Test: atest android.autofillservice.cts.inline
Test: atest android.autofillservice.cts.FillResponseTest
Test: atest android.autofillservice.cts.augmented
Test: atest android.autofillservice.cts.LoginActivityTest
Bug: 150499490
Change-Id: I81031ff456adb4c07f530188dda80e97cc84b707
* so that the parent view's onClick, onLongClick listeners
as well as scrolling still works
* explicitly invoke child view's onClick and onLongClick
listeners from the parent view's listeners
Test: manual verification
Bug: 150321630
Change-Id: Ie9e9b5a17fa15b502c51a2fbb6af2c09a77d567f
Previously, only changes to the "allowBubbles" on the channel or
package would trigger a ranking change. This bit only indicates that
the notification is allowed to bubble -- it doesn't indicate that
the notification *is* a bubble. To allow active notifications to
become bubbles if the user changes the setting, we need to
flag them in response to ranking changes.
This CL moves the bubble flagging code into BubbleExtractor that
way the flag is always updated during ranking changes.
BubbleController listens to ranking changes and adds / removes bubbles
based on the ranking. The ranking needs to have an isBubble bit on
it because ranking changes won't pipe flag updates through. SysUI
uses this bit to flag the entry on SysUI's side.
Moves the shortcut getting / validating code into a helper class.
Also removes the inline reply requirement.
Test: NotificationManagerTest NotificationManagerServiceTest BubbleExtractorTest ShortcutHelperTest BubbleCheckerTest
Bug: 149736441
Change-Id: Ib5b62923c123187ae5f7073ec7ca50d7e20c04b1
Merged-In: Ib5b62923c123187ae5f7073ec7ca50d7e20c04b1
1. libtextclassifier and libtextclassifier-java are no longer built
into framework/base.
2. Removed local text classifier code
3. Removed local text classifier test code.
All of them should be already moved to libtextclassifier/tcs side.
4. Unify all the TC related log tags to "androidtc".
BUG: 147412216
Test: mts-tradefed run mts-extservices
Test: atest frameworks/base/core/java/android/view/textclassifier
Test: Sanity test: Smart selection
Change-Id: Icb1076153f51d5674c8a6c58681ffed5aa772149
API Council provided the following feedback:
1. Rename addView() to setView()
2. Add getView()
Bug: 151311937
Test: Existing tests pass
Change-Id: I26665c8bb8d0c10c5eb4228feb4ff13ee89f0d7b
In the core functionality this changes everything including aidl's and
field names:
- Context
- ContentProvider
- AppOps*
- Package parsing
For the rest, this is a shallow change to only change to the changed
APIs. This keeps the change small-ish
Exempt-From-Owner-Approval: Rename
Fixes: 148792795
Test: TH
Change-Id: I2a2245fe76e09e62cb13d5785d2efb4a304ba54a
Merged-In: I2a2245fe76e09e62cb13d5785d2efb4a304ba54a
setWindowless is a hidden API since 2014 and was marked
@UnsupportedAppUsage in 2018. It is not known to be used anywhere as
reported by go/nonsdk-dash. This CL removes the @UnsupportedAppUsage.
Bug: 151221085
Test: m
Change-Id: Ic95a2d9da4eb9f4abeba75a35ebe1f8921fb2416
This adds a notion of per caller wallpaper zoom, in order to support
simultaneous clients.
The shade might be pulled down while in overview, for example, and we
must coordinate between launcher and systemui.
Bug: 149792636
Bug: 146387434
Test: atest NotificationShadeWindowViewTest
Test: atest WallpaperControllerTests
Test: manual
Change-Id: I588ba56d3d2704845d033ea2a5890ce812b9ee07
Write data to an installation file requires INSTALL_PACKAGES permission.
Test: builds
BUG: 149299379
Change-Id: I8e6d6681cc26b748375cc1a0569033a18c3bb670
* Before this change, we were putting the action intent in the Slice,
but we realize that's not the best place as slice is only meant for
data representation, and intent does not fall into that
* This patch includes the code to actually fire the pending intent when
action suggestion is clicked. However, it'll only work if the fill
service have the SYSTEM_ALERT_WINDOW permission for the intent to
be fired when it is in the background. We will move it to be fired
from the client foreground app in a separate patch
Test: manual verification
Test: atest android.autofillservice.cts.inline
Bug: 150499490
Change-Id: I411a7ee05e783f7de94a54064c44a6126afe0b12
* This is to incorporate the API council feedback at b/148107416
* This is made possible by the new DataClass codegen version 15
Test: build
Bug: 148107416
Change-Id: I8adaf45a64bc08e73988d61fba56430f2b49f747
Apps can support the idea of a routine. Routines tie together multiple
actions across multiple controls to support everyday tasks that would
otherwise require multiple clicks.
Bug: 150869263
Test: atest ControlProviderTest
Change-Id: I3ee2c87c6130420032ebe407b2ffc1e3e8c1504f
Instead of using Bundle, explicitly specify params when initializing a data loader.
BUG: 150406132
Test: atest PackageManagerShellCommandIncrementalTest
Change-Id: I2f89d3c3ea1058fdbd689da0d5cb801bf4d9a0b4
Image wallpaper uses DisplayInfo to compute the wallpaper scaling.
When the wallpaper has a fixed rotation transform, its DisplayInfo do
not correspond to its transformed bounds.
We can't use the Configuration's bounds either because the wallpaper
token is created on the server side and we do not have a way to
propagate the changed configuration to a token created from the server.
Bug: 148000485
Test: atest WallpaperControllerTests#testWallpaperSizeWithFixedTransform
Change-Id: Ie80592ae868c980faddece17b94cd34178b1de0e
(cherry picked from commit f79baeaa20)
The InlineContentView uses the SurfacePackage instead of the SurfaceControl
for accessibility and UiAutomation supporting.
Bug: 149194105
Test: manual
Change-Id: Ib10f37a58dde7dc09d0ea16d1a121088dab4738e
* Pipe the augmented autofill's inline actions through to the
InlineSuggestionsResponse
* Do not send the inline action if the number of inline suggestions is
zero
* Refactor autofill inline suggstion session so that all the calls to
the IME has happens within the class
* Send an empty response to IME to hide the inline suggestion UI when
view exits and the previous response wasn't empty
Test: manual verification, atest InlineLoginActivityTest
Bug: 149522488
Bug: 150312201
Change-Id: I7a0dbf44e9fad6e7da857448c0f2b186e1681d17