Jackal Guo a4a15f12c1 Keep install reason unchanged when package is uninstalled
The install reason of the package should be only updated for the users
that are having the package newly installed. The install reason should
remain UNKNOWN for the users that package actually remains uninstalled.

Bug: 152629990
Test: atest PackageManagerServiceTest
Change-Id: Ie1c61620b278dde5707be6124b62257f745a81a0
2021-11-18 15:45:56 +08:00

25 lines
968 B
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2021 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.servicestests.apps.stubapp">
<application android:label="StubTestApp">
<activity android:name=".TestActivity"
android:exported="true" />
</application>
</manifest>