diff options
| author | 2024-04-22 11:37:03 +0800 | |
|---|---|---|
| committer | 2024-05-02 00:39:47 +0000 | |
| commit | 70aac12203dba7a37a3254ed79b29f2c4ac8ba40 (patch) | |
| tree | 1e44c746aed947068b4627fd833b39a5576af148 /libs/androidfw/ResourceTimer.cpp | |
| parent | 1232dc2bd8980192ffb9d40b03c1a71fb0531d02 (diff) | |
Explicitly request to support package restart query
Explicitly request to support package restart query for services
that need to handle onHandleForceStop(). That makes PackageMonitor
MUST register the broadcast receiver for ACTION_QUERY_PACKAGE_RESTART.
Currently, the default constructor is the same as the default
constructor with true. All PackageMonitor will register a receiver.
Behavior is not a change in this CL. There will be a follow up CL to
change default behavior to false, then PackageMonitor only registers
a receiver for service that explicitly requests to support package
restart query.
Bug: 300309050
Test: atest FrameworksCorePackageMonitorTests
Change-Id: Iefe04a0ae594722f793422b23db09d12dc4b05f1
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions