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

Commit da6377f9 authored by Charles Wang's avatar Charles Wang
Browse files

Add context to QAW javadoc for new gesture intent API.


Change-Id: Iedd76eed2118dac520af2e1438610a7bda9f41aa
Test: N/A; docs
Bug: 384569118
Flag: android.service.quickaccesswallet.launch_wallet_option_on_power_double_tap
parent 37b9d5c9
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -93,6 +93,10 @@ import android.util.Log;
 * must do its own state management (keeping in mind that the service's process might be killed
 * by the Android System when unbound; for example, if the device is running low in memory).
 *
 * <p> The service also provides pending intents to override the system's Quick Access activities
 * via the {@link #getTargetActivityPendingIntent} and the
 * {@link #getGestureTargetActivityPendingIntent} method.
 *
 * <p>
 * <a name="ErrorHandling"></a>
 * <h3>Error handling</h3>
@@ -384,6 +388,10 @@ public abstract class QuickAccessWalletService extends Service {
     *
     * <p>The pending intent will be sent when the user performs a gesture to open Wallet.
     * The pending intent should launch an activity.
     *
     * <p> If the gesture is performed and this method returns null, the system will launch the
     * activity specified by the {@link #getTargetActivityPendingIntent} method. If that method
     * also returns null, the system will launch the system-provided card switcher activity.
     */
    @Nullable
    @FlaggedApi(Flags.FLAG_LAUNCH_WALLET_OPTION_ON_POWER_DOUBLE_TAP)