3
0
Fork 0

gms: Drop ExtServices apk since it lives in APEX now

09-22 18:44:04.051  1541  1541 D StagingManager: Resuming session 970460955
09-22 18:44:04.051  1541  1541 D PackageInstallerSession: Marking session 970460955 as failed: Failed to install apk-in-apex of com.google.android.extservices : Failed to scan /apex/com.android.extservices/priv-app/GoogleExtServices@330443000: Application package com.google.android.ext.services already installed.  Skipping duplicate.
09-22 18:44:04.048  1332  1332 I auditd  : type=1400 audit(0.0:1205): avc: denied { getattr } for comm="binder:1332_2" path="/data/app-staging/session_1656724751/lib" dev="dm-35" ino=13958 scontext=u:r:installd:s0 tcontext=u:object_r:staging_data_file:s0 tclass=dir permissive=1
09-22 18:44:04.048  1332  1332 I binder:1332_2: type=1400 audit(0.0:1205): avc: denied { getattr } for path="/data/app-staging/session_1656724751/lib" dev="dm-35" ino=13958 scontext=u:r:installd:s0 tcontext=u:object_r:staging_data_file:s0 tclass=dir permissive=1
09-22 18:44:04.053  1541  1541 E StagingManager: Failed to install sessionId: 970460955 Error: Failed to install apk-in-apex of com.google.android.extservices : Failed to scan /apex/com.android.extservices/priv-app/GoogleExtServices@330443000: Application package com.google.android.ext.services already installed.  Skipping duplicate.
09-22 18:44:04.053   748   748 I apexd   : Not restoring active packages in checkpoint mode.
09-22 18:44:04.054   438   438 I init    : Received sys.powerctl='reboot,abort-staged-install' from pid: 551 (/system/bin/vold)
09-22 18:44:04.054   438   438 I init    : sys.powerctl: do_shutdown: 0 IsShuttingDown: 0
09-22 18:44:04.055  1541  1700 I commit_sys_config_file: [package-session,71]
09-22 18:44:04.055  1541  1541 E ApexManager: Revert requested, when there are no active sessions.
09-22 18:44:04.055  1541  1541 E ApexManager: java.lang.IllegalArgumentException: Revert requested, when there are no active sessions.
09-22 18:44:04.055  1541  1541 E ApexManager: 	at android.os.Parcel.createExceptionOrNull(Parcel.java:3015)
09-22 18:44:04.055  1541  1541 E ApexManager: 	at android.os.Parcel.createException(Parcel.java:2995)
09-22 18:44:04.055  1541  1541 E ApexManager: 	at android.os.Parcel.readException(Parcel.java:2978)
09-22 18:44:04.055  1541  1541 E ApexManager: 	at android.os.Parcel.readException(Parcel.java:2920)
09-22 18:44:04.055  1541  1541 E ApexManager: 	at android.apex.IApexService$Stub$Proxy.revertActiveSessions(IApexService.java:613)
09-22 18:44:04.055  1541  1541 E ApexManager: 	at com.android.server.pm.ApexManager$ApexManagerImpl.revertActiveSessions(ApexManager.java:907)
09-22 18:44:04.055  1541  1541 E ApexManager: 	at com.android.server.pm.StagingManager.onInstallationFailure(StagingManager.java:438)
09-22 18:44:04.055  1541  1541 E ApexManager: 	at com.android.server.pm.StagingManager.restoreSessions(StagingManager.java:753)
09-22 18:44:04.055  1541  1541 E ApexManager: 	at com.android.server.pm.PackageInstallerService.restoreAndApplyStagedSessionIfNeeded(PackageInstallerService.java:353)
09-22 18:44:04.055  1541  1541 E ApexManager: 	at com.android.server.pm.PackageManagerService.systemReady(PackageManagerService.java:4135)
09-22 18:44:04.055  1541  1541 E ApexManager: 	at com.android.server.SystemServer.startOtherServices(SystemServer.java:2712)
09-22 18:44:04.055  1541  1541 E ApexManager: 	at com.android.server.SystemServer.run(SystemServer.java:939)
09-22 18:44:04.055  1541  1541 E ApexManager: 	at com.android.server.SystemServer.main(SystemServer.java:649)
09-22 18:44:04.055  1541  1541 E ApexManager: 	at java.lang.reflect.Method.invoke(Native Method)
09-22 18:44:04.055  1541  1541 E ApexManager: 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
09-22 18:44:04.055  1541  1541 E ApexManager: 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:914)
09-22 18:44:04.055  1541  1541 E StagingManager: Failed to abort APEXd session
This commit is contained in:
Sourajit Karmakar 2022-09-22 19:03:40 -04:00
parent 23128c270e
commit ee744acab1
4 changed files with 0 additions and 13 deletions

View File

@ -39,17 +39,6 @@ android_app_import {
privileged: true,
}
android_app_import {
name: "GoogleExtServices",
owner: "gms",
apk: "proprietary/system/priv-app/GoogleExtServices/GoogleExtServices.apk",
presigned: true,
dex_preopt: {
enabled: false,
},
privileged: true,
}
android_app_import {
name: "GooglePackageInstaller",
owner: "gms",

View File

@ -161,7 +161,6 @@ PRODUCT_PACKAGES += \
GoogleExtShared \
GooglePrintRecommendationService \
DocumentsUIGoogle \
GoogleExtServices \
GooglePackageInstaller \
TagGoogle \
CalculatorGooglePrebuilt \

View File

@ -99,7 +99,6 @@ product/app/WebViewGoogle/WebViewGoogle.apk.gz
# Device Personalization Services
-product/priv-app/DevicePersonalizationPrebuiltPixel2021/DevicePersonalizationPrebuiltPixel2021.apk;PRESIGNED
-system/priv-app/GoogleExtServices/GoogleExtServices.apk;PRESIGNED|b9db71197fecf9886207af70a2a798fde8b23c4c
# Diagnostics/Telemetry
-product/app/PrebuiltGoogleTelemetryTvp/PrebuiltGoogleTelemetryTvp.apk;PRESIGNED