summaryrefslogtreecommitdiff
path: root/packages/SystemUI/src/com/android/systemui/ActivityIntentHelper.java
Commit message (Collapse)AuthorAgeFilesLines
* Update ActivityIntentHelper to use PendingIntents directlyJohn Wu2022-08-051-7/+54
| | | | | | | | | | Use PendingIntent.queryIntentComponents to query components instead of going through the intent contained. This allows package manager to properly determine the identity to perform the intent resolution. Bug: 238415222 Test: manual Change-Id: I0dd32765755732a7a9141e3be2b04b7eed696928
* 6/N Move everything into SysUIComponent.Dave Mankoff2020-08-161-2/+3
| | | | | | | | | | | | | | | It is far easier to move _everything_ into SysUIComponent, and then selectively promote things back to GlobalScope and/or WMScope than it is to try to do it one at a time. With this change, though lots of files are touched, very little actually changes structurally. After this change goes in, folks should stop using @Singleton quite so freely. Most things should live in @SysuiSingleton. @Singleton is due to quickly be replaced by @GlobalScope. Bug: 162923491 Test: atest SystemUITests && manual Change-Id: Idc31d3d83b030581fb1fa869f7fafc4f2d3a8828
* Make StatusBarNotificationActivityStarter injectable.Dave Mankoff2019-11-181-0/+6
| | | | | | | | | This is one step in the process of removing calls to Dependency.get(MAIN_HANDLER) and Dependency.get(BG_HANDLER). Bug: 144503618 Test: atest SystemUITests Change-Id: Ifbd49efcfe1eaf8af355e6dde4c70bb26c823cd2
* Adds StatusBarNotificationActivityStarterTestMark Renouf2019-03-221-0/+119
This change includes a refactoring to extract static methods from PreviewInflater into a seperate class to allow for easier testing. This allows tests to bypas interaction with package manager. Test: atest SystemUITests Change-Id: I3211395e7eb78351106cabd8c473f11f06bb0f97