Root cause: should call corresponding function
Goal: using performAccessibilityShortcut function from AccessibilityManager
Bug: 148779579
Test: manual test
Change-Id: Ibc3fcb77e1aef54683328d1e7a71afabccffc523
Root cause: shouldn't speak "Double tap to activate" for disabled item.
Goal: set disable for the item.
Bug: 148834576
Test: manual test
Change-Id: I40a083ec4f7d18073dd46636719d6b64fb674f67
This CL adds support for a new feature flag
(notifications_allow_fgs_dismissal) that enables a user to visually
dismiss a notificationg that represents FLAG_ONGOING_EVENT or
FLAG_FOREGROUND_SERVICE into a new bottom section of the shade. Tapping
on the list items in the new section reinstantiates them back to the
shade.
In this CL:
- the new device_config flag + feature controller for it
- ForegroundServiceSectionController that can track dismissed FGS
notifications and then show them in its own decor view
- ForegroundServiceDungeonView that is optionally added at the bottom of
the shade
- Changes to the logic for NotificationEntry#isClearable to take into
account the new flag
Todo:
- Minify the dungeon view before first tap
- pin the dungeon view to the bottom of the notification shade
Test: atest SystemUITests
Test: adb shell device_config put systemui notifications_use_people_filtering false && adb shell kill $(pid com.android.systemui)
Bug: 136562823
Change-Id: I8359e8c3ad9de89cd867f5ac147d62e22b9cf816
* changes:
[NS A36] Add a test for lost trusted capability
[NS A35] Send updated scores to factories at the end.
[NS A34] Still more simplification
[NS A33] Unify changing the default network
[NS A32] More simplification
[NS A31] Simplification
[NS A30] Note linger out of the rematch loop
[NS A29] Call LOST callbacks at the end of the rematch.
[NS A28] Move setting the default network out of the rematch loop.
As part of statsd becoming a Mainline module in R, autogenerated
StatsLog.write() calls are going away and replaced by
*StatsLog.java
that is autogenerated for each module.
This CL replaces some usages of StatsLog with
FrameworkStatsLog.
Bug: 145952197
Test: m
Change-Id: Iaa2db34a7be4c3215f62cc36661ba8ac81656baa
As part of statsd becoming a Mainline module in R, autogenerated
StatsLog.write() calls are going away and replaced by *StatsLog.java
that is autogenerated for each module.
This CL replaces some usages of StatsLog with FrameworkStatsLog.
Re-landing of http://ag/10194708 .
Bug: 145952197
Test: m
Change-Id: Ie5dcc3c677c0f3667d6505a76b91c05649787fba
Fixes: 148657395
Test: manually used share sheet on both personal and work
profiles with the feature flag disabled
Change-Id: I02617454a57fb1933ba8e0e2a6d5598a3bb4016d
The package monitor instances are now initialized after
configureContentView, which means we have to null check
when we autolaunch.
Test: none
Fixes: 148656667
Change-Id: If0bed185c7ee85840f691290a7718a6ff3b81b12
The concept will move into the support library (androidx), so in
the framework we only need a simple boolean to toggle the default
behavior.
Also remove redundant methods on WIC to control IME.
Bug: 143556682
Bug: 118118435
Test: WindowTest CTS
Change-Id: I30fbffdfbe79a57b0f4166f0657c78370c7bcf02
Move all StatsLog generated constants into ChangeReporter, to make
re-submitting http://ag/10194708 easier.
Bug: 145952197
Test: atest PlatformCompatTest ChangeReporterTest
Change-Id: Iccff9582099c58f070a6b6aeb1d2588b0fafa90a
App window can override attributes available in Window#getAttributes(),
instead use ViewRootImpl attributes.
Bug: 111084606
Test: Manually verify with apps that use adjust_resize
Change-Id: I6091a08879d897bd708972347ac80be859d29f35
Replace the existing usages of now-deprecated API
WindowManager.getDefaultDisplay() with WindowMetrics or
Context.getDisplay() in frameworks/base.
Bug: 128338354
Test: Build, auto test
Change-Id: I02d38a022c5e0e6e9d699f03d35b65d6c8126da9
Since LocationPermissionChecker#checkLocationPermission will be
used in ConnectivityService and the try-catch style will end up
in unwinding the stack. This CL remove the try-catch block from
this check function.
Bug: 148460709
Test: atest LocationPermissionCheckerTest
Change-Id: Ia97b3d8b1a96aca10fd87876969c290818e7e758
Merged-In: Ia97b3d8b1a96aca10fd87876969c290818e7e758
Since LocationPermissionChecker#checkLocationPermission will be
used in ConnectivityService and the try-catch style will end up
in unwinding the stack. This CL remove the try-catch block from
this check function.
Bug: 148460709
Test: atest LocationPermissionCheckerTest
Change-Id: Ia97b3d8b1a96aca10fd87876969c290818e7e758
Notification instance IDs are generated by NotificationManagerService
when the notification is first posted, and stored in the
StatusBarNotification so that they can be passed to the SystemUI
process.
Bug: 144022566
Test: atest NotificationManagerService BuzzBeepBlinkTest RoleObserverTest
Test: statsd_testdrive 244
Change-Id: I804786dfa165864257d8801d7e96f2ac0ead960f