Skip to content

Commit

Permalink
Update pending status
Browse files Browse the repository at this point in the history
  • Loading branch information
lazarkov committed Aug 7, 2024
1 parent d44ce2e commit 112ab52
Show file tree
Hide file tree
Showing 14 changed files with 29 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5583,7 +5583,7 @@ cluster ApplicationLauncher = 1292 {
kSuccess = 0;
kAppNotAvailable = 1;
kSystemBusy = 2;
kPending = 3;
kPendingUserApproval = 3;
kDownloading = 4;
kInstalling = 5;
}
Expand Down
4 changes: 2 additions & 2 deletions examples/placeholder/linux/apps/app1/config.matter
Original file line number Diff line number Diff line change
Expand Up @@ -8236,7 +8236,7 @@ cluster ApplicationLauncher = 1292 {
kSuccess = 0;
kAppNotAvailable = 1;
kSystemBusy = 2;
kPending = 3;
kPendingUserApproval = 3;
kDownloading = 4;
kInstalling = 5;
}
Expand Down Expand Up @@ -8298,7 +8298,7 @@ cluster ApplicationLauncher = 1292 {
kSuccess = 0;
kAppNotAvailable = 1;
kSystemBusy = 2;
kPending = 3;
kPendingUserApproval = 3;
kDownloading = 4;
kInstalling = 5;
}
Expand Down
4 changes: 2 additions & 2 deletions examples/placeholder/linux/apps/app2/config.matter
Original file line number Diff line number Diff line change
Expand Up @@ -8193,7 +8193,7 @@ cluster ApplicationLauncher = 1292 {
kSuccess = 0;
kAppNotAvailable = 1;
kSystemBusy = 2;
kPending = 3;
kPendingUserApproval = 3;
kDownloading = 4;
kInstalling = 5;
}
Expand Down Expand Up @@ -8255,7 +8255,7 @@ cluster ApplicationLauncher = 1292 {
kSuccess = 0;
kAppNotAvailable = 1;
kSystemBusy = 2;
kPending = 3;
kPendingUserApproval = 3;
kDownloading = 4;
kInstalling = 5;
}
Expand Down
16 changes: 8 additions & 8 deletions examples/tv-app/android/App/platform-app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,14 @@ android {
aidl.srcDirs = ['../common-api/src/main/aidl']

// uncomment this code to debug
// java.srcDirs = [
// 'src/main/java',
// '../common-api/src/main/java',
// '../../third_party/connectedhomeip/src/setup_payload/java/src',
// '../../third_party/connectedhomeip/src/platform/android/java',
// '../../third_party/connectedhomeip/src/app/server/java/src/',
// '../../java/src',
// ]
java.srcDirs = [
'src/main/java',
'../common-api/src/main/java',
'../../third_party/connectedhomeip/src/setup_payload/java/src',
'../../third_party/connectedhomeip/src/platform/android/java',
'../../third_party/connectedhomeip/src/app/server/java/src/',
'../../java/src',
]
}
}
buildFeatures {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ public LauncherResponse launchApp(Application app, String data) {
Log.i(
TAG,
"Matter enabled app is not installed, but app is installed. Launching app's install page");
status = LauncherResponse.STATUS_PENDING;
status = LauncherResponse.STATUS_PENDING_USER_APPROVAL;
responseData = "App is installed, try updating";

//
Expand All @@ -129,7 +129,7 @@ public LauncherResponse launchApp(Application app, String data) {
Log.i(TAG, "App is installing");
status = LauncherResponse.STATUS_INSTALLING;
} else {
status = LauncherResponse.STATUS_PENDING;
status = LauncherResponse.STATUS_PENDING_USER_APPROVAL;
if (appInstallFailed) {
responseData = "App install failed. Try again";
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ public class LauncherResponse {
public static final int STATUS_SUCCESS = 0;
public static final int STATUS_APP_NOT_AVAILABLE = 1;
public static final int STATUS_SYSTEM_BUSY = 2;
public static final int STATUS_PENDING = 3;
public static final int STATUS_PENDING_USER_APPROVAL = 3;
public static final int STATUS_DOWNLOADING = 4;
public static final int STATUS_INSTALLING = 5;

Expand Down
2 changes: 1 addition & 1 deletion examples/tv-app/tv-common/tv-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -3259,7 +3259,7 @@ cluster ApplicationLauncher = 1292 {
kSuccess = 0;
kAppNotAvailable = 1;
kSystemBusy = 2;
kPending = 3;
kPendingUserApproval = 3;
kDownloading = 4;
kInstalling = 5;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2699,7 +2699,7 @@ cluster ApplicationLauncher = 1292 {
kSuccess = 0;
kAppNotAvailable = 1;
kSystemBusy = 2;
kPending = 3;
kPendingUserApproval = 3;
kDownloading = 4;
kInstalling = 5;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ limitations under the License.
<item name="Success" value="0x00"/>
<item name="AppNotAvailable" value="0x01"/>
<item name="SystemBusy" value="0x02"/>
<item name="Pending" value="0x03"/>
<item name="PendingUserApproval" value="0x03"/>
<item name="Downloading" value="0x04"/>
<item name="Installing" value="0x05"/>
</enum>
Expand Down
2 changes: 1 addition & 1 deletion src/controller/data_model/controller-clusters.matter
Original file line number Diff line number Diff line change
Expand Up @@ -9114,7 +9114,7 @@ cluster ApplicationLauncher = 1292 {
kSuccess = 0;
kAppNotAvailable = 1;
kSystemBusy = 2;
kPending = 3;
kPendingUserApproval = 3;
kDownloading = 4;
kInstalling = 5;
}
Expand Down
2 changes: 1 addition & 1 deletion src/controller/python/chip/clusters/Objects.py

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 112ab52

Please sign in to comment.