@@ -753,7 +753,7 @@ void doHandleMessage(Message msg) {
753753
754754 if (state != null ) {
755755 final InstallArgs args = state .getInstallArgs ();
756- Slog .i (TAG , "Validation timed out for " + args .packageURI .toString ());
756+ Slog .i (TAG , "Verification timed out for " + args .packageURI .toString ());
757757 mPendingVerification .remove (verificationId );
758758
759759 int ret = PackageManager .INSTALL_FAILED_VERIFICATION_TIMEOUT ;
@@ -769,7 +769,7 @@ void doHandleMessage(Message msg) {
769769
770770 final PackageVerificationState state = mPendingVerification .get (verificationId );
771771 if (state == null ) {
772- Slog .w (TAG , "Invalid validation token " + verificationId + " received" );
772+ Slog .w (TAG , "Invalid verification token " + verificationId + " received" );
773773 break ;
774774 }
775775
@@ -5464,8 +5464,8 @@ public void handleStartCopy() throws RemoteException {
54645464 final int requiredUid = mRequiredVerifierPackage == null ? -1
54655465 : getPackageUid (mRequiredVerifierPackage );
54665466 if (requiredUid != -1 && isVerificationEnabled ()) {
5467- final Intent verification = new Intent (
5468- Intent . ACTION_PACKAGE_NEEDS_VERIFICATION , packageURI );
5467+ final Intent verification = new Intent (Intent . ACTION_PACKAGE_NEEDS_VERIFICATION );
5468+ verification . setDataAndType ( packageURI , PACKAGE_MIME_TYPE );
54695469 verification .addFlags (Intent .FLAG_GRANT_READ_URI_PERMISSION );
54705470
54715471 final List <ResolveInfo > receivers = queryIntentReceivers (verification , null ,
0 commit comments