Skip to content

Commit 31cb325

Browse files
committed
Update pending status
1 parent 46b1cbf commit 31cb325

File tree

15 files changed

+30
-30
lines changed

15 files changed

+30
-30
lines changed

examples/all-clusters-minimal-app/all-clusters-common/all-clusters-minimal-app.matter

+1-1
Original file line numberDiff line numberDiff line change
@@ -5264,7 +5264,7 @@ cluster ApplicationLauncher = 1292 {
52645264
kSuccess = 0;
52655265
kAppNotAvailable = 1;
52665266
kSystemBusy = 2;
5267-
kPending = 3;
5267+
kPendingUserApproval = 3;
52685268
kDownloading = 4;
52695269
kInstalling = 5;
52705270
}

examples/placeholder/linux/apps/app1/config.matter

+2-2
Original file line numberDiff line numberDiff line change
@@ -7895,7 +7895,7 @@ cluster ApplicationLauncher = 1292 {
78957895
kSuccess = 0;
78967896
kAppNotAvailable = 1;
78977897
kSystemBusy = 2;
7898-
kPending = 3;
7898+
kPendingUserApproval = 3;
78997899
kDownloading = 4;
79007900
kInstalling = 5;
79017901
}
@@ -7957,7 +7957,7 @@ cluster ApplicationLauncher = 1292 {
79577957
kSuccess = 0;
79587958
kAppNotAvailable = 1;
79597959
kSystemBusy = 2;
7960-
kPending = 3;
7960+
kPendingUserApproval = 3;
79617961
kDownloading = 4;
79627962
kInstalling = 5;
79637963
}

examples/placeholder/linux/apps/app2/config.matter

+2-2
Original file line numberDiff line numberDiff line change
@@ -7852,7 +7852,7 @@ cluster ApplicationLauncher = 1292 {
78527852
kSuccess = 0;
78537853
kAppNotAvailable = 1;
78547854
kSystemBusy = 2;
7855-
kPending = 3;
7855+
kPendingUserApproval = 3;
78567856
kDownloading = 4;
78577857
kInstalling = 5;
78587858
}
@@ -7914,7 +7914,7 @@ cluster ApplicationLauncher = 1292 {
79147914
kSuccess = 0;
79157915
kAppNotAvailable = 1;
79167916
kSystemBusy = 2;
7917-
kPending = 3;
7917+
kPendingUserApproval = 3;
79187918
kDownloading = 4;
79197919
kInstalling = 5;
79207920
}

examples/tv-app/android/App/platform-app/build.gradle

+8-8
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@ android {
4747
aidl.srcDirs = ['../common-api/src/main/aidl']
4848

4949
// uncomment this code to debug
50-
// java.srcDirs = [
51-
// 'src/main/java',
52-
// '../common-api/src/main/java',
53-
// '../../third_party/connectedhomeip/src/setup_payload/java/src',
54-
// '../../third_party/connectedhomeip/src/platform/android/java',
55-
// '../../third_party/connectedhomeip/src/app/server/java/src/',
56-
// '../../java/src',
57-
// ]
50+
java.srcDirs = [
51+
'src/main/java',
52+
'../common-api/src/main/java',
53+
'../../third_party/connectedhomeip/src/setup_payload/java/src',
54+
'../../third_party/connectedhomeip/src/platform/android/java',
55+
'../../third_party/connectedhomeip/src/app/server/java/src/',
56+
'../../java/src',
57+
]
5858
}
5959
}
6060
buildFeatures {

examples/tv-app/android/App/platform-app/src/main/java/com/matter/tv/server/handlers/ApplicationLauncherManagerImpl.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ public LauncherResponse launchApp(Application app, String data) {
114114
Log.i(
115115
TAG,
116116
"Matter enabled app is not installed, but app is installed. Launching app's install page");
117-
status = LauncherResponse.STATUS_PENDING;
117+
status = LauncherResponse.STATUS_PENDING_USER_APPROVAL;
118118
responseData = "App is installed, try updating";
119119

120120
//
@@ -129,7 +129,7 @@ public LauncherResponse launchApp(Application app, String data) {
129129
Log.i(TAG, "App is installing");
130130
status = LauncherResponse.STATUS_INSTALLING;
131131
} else {
132-
status = LauncherResponse.STATUS_PENDING;
132+
status = LauncherResponse.STATUS_PENDING_USER_APPROVAL;
133133
if (appInstallFailed) {
134134
responseData = "App install failed. Try again";
135135
}

examples/tv-app/android/java/src/com/matter/tv/server/tvapp/LauncherResponse.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ public class LauncherResponse {
55
public static final int STATUS_SUCCESS = 0;
66
public static final int STATUS_APP_NOT_AVAILABLE = 1;
77
public static final int STATUS_SYSTEM_BUSY = 2;
8-
public static final int STATUS_PENDING = 3;
8+
public static final int STATUS_PENDING_USER_APPROVAL = 3;
99
public static final int STATUS_DOWNLOADING = 4;
1010
public static final int STATUS_INSTALLING = 5;
1111

examples/tv-app/tv-common/tv-app.matter

+1-1
Original file line numberDiff line numberDiff line change
@@ -2928,7 +2928,7 @@ cluster ApplicationLauncher = 1292 {
29282928
kSuccess = 0;
29292929
kAppNotAvailable = 1;
29302930
kSystemBusy = 2;
2931-
kPending = 3;
2931+
kPendingUserApproval = 3;
29322932
kDownloading = 4;
29332933
kInstalling = 5;
29342934
}

examples/tv-casting-app/tv-casting-common/tv-casting-app.matter

+1-1
Original file line numberDiff line numberDiff line change
@@ -2390,7 +2390,7 @@ cluster ApplicationLauncher = 1292 {
23902390
kSuccess = 0;
23912391
kAppNotAvailable = 1;
23922392
kSystemBusy = 2;
2393-
kPending = 3;
2393+
kPendingUserApproval = 3;
23942394
kDownloading = 4;
23952395
kInstalling = 5;
23962396
}

src/app/zap-templates/zcl/data-model/chip/application-launcher-cluster.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ limitations under the License.
8080
<item name="Success" value="0x00"/>
8181
<item name="AppNotAvailable" value="0x01"/>
8282
<item name="SystemBusy" value="0x02"/>
83-
<item name="Pending" value="0x03"/>
83+
<item name="PendingUserApproval" value="0x03"/>
8484
<item name="Downloading" value="0x04"/>
8585
<item name="Installing" value="0x05"/>
8686
</enum>

src/controller/data_model/controller-clusters.matter

+1-1
Original file line numberDiff line numberDiff line change
@@ -8870,7 +8870,7 @@ cluster ApplicationLauncher = 1292 {
88708870
kSuccess = 0;
88718871
kAppNotAvailable = 1;
88728872
kSystemBusy = 2;
8873-
kPending = 3;
8873+
kPendingUserApproval = 3;
88748874
kDownloading = 4;
88758875
kInstalling = 5;
88768876
}

src/controller/python/chip/clusters/Objects.py

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/darwin/Framework/CHIP/zap-generated/MTRBaseClusters.h

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

zzz_generated/app-common/app-common/zap-generated/cluster-enums-check.h

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

zzz_generated/app-common/app-common/zap-generated/cluster-enums.h

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)