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

Commit dcd37612 authored by Caitlin Shkuratov's avatar Caitlin Shkuratov
Browse files

[SB][Sat] Add satellite information to demo mode docs.

Bug: NONE
Flag: DOCS_ONLY
Test: NONE

Change-Id: Ia208e39002a4f5a075a4e03dfec287ee2827b133
parent 5efe00ed
Loading
Loading
Loading
Loading
+48 −36
Original line number Diff line number Diff line
@@ -23,7 +23,7 @@ intent.
Commands are sent as string extras with key ```command``` (required). Possible values are:

| Command              | Subcommand                 | Argument         | Description
| ---                  | ---                        | ---            | ---
| ---                  |----------------------------|------------------| ---
| ```enter```          |                            |                  | Enters demo mode, bar state allowed to be modified (for convenience, any of the other non-exit commands will automatically flip demo mode on, no need to call this explicitly in practice)
| ```exit```           |                            |                  | Exits demo mode, bars back to their system-driven state
| ```battery```        |                            |                  | Control the battery display
@@ -38,6 +38,9 @@ Commands are sent as string extras with key ```command``` (required). Possible v
|                      | ```mobile```               |                  | ```show``` to show icon, any other value to hide
|                      |                            | ```datatype```   | Values: ```1x```, ```3g```, ```4g```, ```e```, ```g```, ```h```, ```lte```, ```roam```, any other value to hide
|                      |                            | ```level```      | Sets mobile signal strength level (null or 0-4)
|                      | ```satellite```            |                  | ```show``` to show icon, any other value to hide
|                      |                            | ```connection``` | ```connected```, ```off```, ```on```, or ```unknown``` (matches SatelliteConnectionState enum)
|                      |                            | ```level```      | Sets satellite signal strength level (0-4)
|                      | ```carriernetworkchange``` |                  | Sets mobile signal icon to carrier network change UX when disconnected (```show``` to show icon, any other value to hide)
|                      | ```sims```                 |                  | Sets the number of sims (1-8)
|                      | ```nosim```                |                  | ```show``` to show icon, any other value to hide
@@ -90,6 +93,15 @@ show -e level 4
```


Show the satellite icon

```
# Sets mobile to be out-of-service, which is required for satellite to show
adb shell am broadcast -a com.android.systemui.demo -e command network -e mobile show -e level 0
# Sets satellite to be connected
adb shell am broadcast -a com.android.systemui.demo -e command network -e satellite show -e level 4 -e connection connected
```

Show the silent volume icon

```