Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8910bf2c authored by Rubin Xu's avatar Rubin Xu Committed by android-build-merger
Browse files

Merge "Handle null packageName in PendingIntentRecord" into nyc-mr1-dev am:...

Merge "Handle null packageName in PendingIntentRecord" into nyc-mr1-dev am: 6acd5e73 am: 2f6eecbe
am: f38514cc

Change-Id: I1071a92b4ff74a57bf94c9b6aad9df4fb3852072
parents 4bb1cc1f f38514cc
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@ import android.annotation.Nullable;
import android.annotation.WorkerThread;
import android.app.Activity;
import android.app.PendingIntent;
import android.app.Service;
import android.content.ComponentName;
import android.content.Context;
import android.content.Intent;
@@ -397,6 +398,9 @@ public final class KeyChain {
     *
     * <p> This method may block while waiting for a connection to another process, and must never
     * be called from the main thread.
     * <p> As {@link Activity} and {@link Service} contexts are short-lived and can be destroyed
     * at any time from the main thread, it is safer to rely on a long-lived context such as one
     * returned from {@link Context#getApplicationContext()}.
     *
     * @param alias The alias of the desired private key, typically returned via
     *              {@link KeyChainAliasCallback#alias}.
@@ -443,6 +447,9 @@ public final class KeyChain {
     *
     * <p> This method may block while waiting for a connection to another process, and must never
     * be called from the main thread.
     * <p> As {@link Activity} and {@link Service} contexts are short-lived and can be destroyed
     * at any time from the main thread, it is safer to rely on a long-lived context such as one
     * returned from {@link Context#getApplicationContext()}.
     *
     * @param alias The alias of the desired certificate chain, typically
     * returned via {@link KeyChainAliasCallback#alias}.