Skip to content

Commit

Permalink
Add downloading state
Browse files Browse the repository at this point in the history
  • Loading branch information
lazarkov committed Jul 2, 2024
1 parent 1e8b685 commit 46b1cbf
Show file tree
Hide file tree
Showing 12 changed files with 46 additions and 32 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5264,8 +5264,9 @@ cluster ApplicationLauncher = 1292 {
kSuccess = 0;
kAppNotAvailable = 1;
kSystemBusy = 2;
kStatusPending = 3;
kStatusInstalling = 4;
kPending = 3;
kDownloading = 4;
kInstalling = 5;
}

bitmap Feature : bitmap32 {
Expand Down
10 changes: 6 additions & 4 deletions examples/placeholder/linux/apps/app1/config.matter
Original file line number Diff line number Diff line change
Expand Up @@ -7895,8 +7895,9 @@ cluster ApplicationLauncher = 1292 {
kSuccess = 0;
kAppNotAvailable = 1;
kSystemBusy = 2;
kStatusPending = 3;
kStatusInstalling = 4;
kPending = 3;
kDownloading = 4;
kInstalling = 5;
}

bitmap Feature : bitmap32 {
Expand Down Expand Up @@ -7956,8 +7957,9 @@ cluster ApplicationLauncher = 1292 {
kSuccess = 0;
kAppNotAvailable = 1;
kSystemBusy = 2;
kStatusPending = 3;
kStatusInstalling = 4;
kPending = 3;
kDownloading = 4;
kInstalling = 5;
}

bitmap Feature : bitmap32 {
Expand Down
10 changes: 6 additions & 4 deletions examples/placeholder/linux/apps/app2/config.matter
Original file line number Diff line number Diff line change
Expand Up @@ -7852,8 +7852,9 @@ cluster ApplicationLauncher = 1292 {
kSuccess = 0;
kAppNotAvailable = 1;
kSystemBusy = 2;
kStatusPending = 3;
kStatusInstalling = 4;
kPending = 3;
kDownloading = 4;
kInstalling = 5;
}

bitmap Feature : bitmap32 {
Expand Down Expand Up @@ -7913,8 +7914,9 @@ cluster ApplicationLauncher = 1292 {
kSuccess = 0;
kAppNotAvailable = 1;
kSystemBusy = 2;
kStatusPending = 3;
kStatusInstalling = 4;
kPending = 3;
kDownloading = 4;
kInstalling = 5;
}

bitmap Feature : bitmap32 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ public class LauncherResponse {
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_INSTALLING = 4;
public static final int STATUS_DOWNLOADING = 4;
public static final int STATUS_INSTALLING = 5;

public LauncherResponse(int status, String data) {
this.status = status;
Expand Down
5 changes: 3 additions & 2 deletions examples/tv-app/tv-common/tv-app.matter
Original file line number Diff line number Diff line change
Expand Up @@ -2928,8 +2928,9 @@ cluster ApplicationLauncher = 1292 {
kSuccess = 0;
kAppNotAvailable = 1;
kSystemBusy = 2;
kStatusPending = 3;
kStatusInstalling = 4;
kPending = 3;
kDownloading = 4;
kInstalling = 5;
}

bitmap Feature : bitmap32 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2390,8 +2390,9 @@ cluster ApplicationLauncher = 1292 {
kSuccess = 0;
kAppNotAvailable = 1;
kSystemBusy = 2;
kStatusPending = 3;
kStatusInstalling = 4;
kPending = 3;
kDownloading = 4;
kInstalling = 5;
}

bitmap Feature : bitmap32 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,8 @@ limitations under the License.
<item name="Success" value="0x00"/>
<item name="AppNotAvailable" value="0x01"/>
<item name="SystemBusy" value="0x02"/>
<item name="StatusPending" value="0x03"/>
<item name="StatusInstalling" value="0x04"/>
<item name="Pending" value="0x03"/>
<item name="Downloading" value="0x04"/>
<item name="Installing" value="0x05"/>
</enum>
</configurator>
5 changes: 3 additions & 2 deletions src/controller/data_model/controller-clusters.matter
Original file line number Diff line number Diff line change
Expand Up @@ -8870,8 +8870,9 @@ cluster ApplicationLauncher = 1292 {
kSuccess = 0;
kAppNotAvailable = 1;
kSystemBusy = 2;
kStatusPending = 3;
kStatusInstalling = 4;
kPending = 3;
kDownloading = 4;
kInstalling = 5;
}

bitmap Feature : bitmap32 {
Expand Down
7 changes: 4 additions & 3 deletions src/controller/python/chip/clusters/Objects.py

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

5 changes: 3 additions & 2 deletions 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 46b1cbf

Please sign in to comment.