mirror of
https://github.com/nix-community/nix-on-droid-app.git
synced 2025-11-29 05:31:09 +01:00
Add pluginIntent field to ExecutionCommand
This commit is contained in:
parent
7620800cd5
commit
cb8b0225ca
1 changed files with 4 additions and 2 deletions
|
|
@ -2,6 +2,7 @@ package com.termux.shared.models;
|
||||||
|
|
||||||
import android.app.Activity;
|
import android.app.Activity;
|
||||||
import android.app.PendingIntent;
|
import android.app.PendingIntent;
|
||||||
|
import android.content.Intent;
|
||||||
import android.net.Uri;
|
import android.net.Uri;
|
||||||
|
|
||||||
import androidx.annotation.NonNull;
|
import androidx.annotation.NonNull;
|
||||||
|
|
@ -106,9 +107,10 @@ public class ExecutionCommand {
|
||||||
|
|
||||||
|
|
||||||
/** Defines if {@link ExecutionCommand} was started because of an external plugin request
|
/** Defines if {@link ExecutionCommand} was started because of an external plugin request
|
||||||
* like {@link TERMUX_SERVICE#ACTION_SERVICE_EXECUTE} intent or from within Termux app itself.
|
* like {@link TERMUX_SERVICE#ACTION_SERVICE_EXECUTE} intent or from within Termux app itself. */
|
||||||
*/
|
|
||||||
public boolean isPluginExecutionCommand;
|
public boolean isPluginExecutionCommand;
|
||||||
|
/** Defines the {@link Intent} received from the external plugin which started the {@link ExecutionCommand}. */
|
||||||
|
public Intent pluginIntent;
|
||||||
/** Defines {@link PendingIntent} that should be sent if an external plugin requested the execution. */
|
/** Defines {@link PendingIntent} that should be sent if an external plugin requested the execution. */
|
||||||
public PendingIntent pluginPendingIntent;
|
public PendingIntent pluginPendingIntent;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue