Applet Manager services: Difference between revisions
No edit summary |
|||
Line 121: | Line 121: | ||
| 41 || [12.0.0+] [[#IsRebootEnabled]] | | 41 || [12.0.0+] [[#IsRebootEnabled]] | ||
|- | |- | ||
| 50 || [16.0.0+] LaunchSystemApplet | | 50 || [16.0.0+] [[#LaunchSystemApplet]] | ||
|- | |- | ||
| 51 || [16.0.0+] LaunchStarter | | 51 || [16.0.0+] [[#LaunchStarter]] | ||
|- | |- | ||
| 100 || [6.0.0+] [[#PopRequestLaunchApplicationForDebug]] | | 100 || [6.0.0+] [[#PopRequestLaunchApplicationForDebug]] | ||
Line 164: | Line 164: | ||
==== IsRebootEnabled ==== | ==== IsRebootEnabled ==== | ||
No input, returns an output bool. | No input, returns an output bool. | ||
==== LaunchSystemApplet ==== | |||
No input/output. | |||
This wraps [[NS_Services|ns]] LaunchSystemApplet, ignoring the u64 returned by that cmd (and other functionality). | |||
==== LaunchStarter ==== | |||
No input/output. | |||
This is similar to [[#LaunchSystemApplet]], except this uses [[NS_Services|ns]] LaunchLibraryApplet with a ProgramId from global state. | |||
The global state field is initialized elsewhere with the value of [[System_Settings|system-setting]] <code>am.debug!starter_id</code>, defaulting to ProgramId 0100000000001012 ([[Title_list|starter]]) if not available. | |||
==== PopRequestLaunchApplicationForDebug ==== | ==== PopRequestLaunchApplicationForDebug ==== | ||
Line 180: | Line 192: | ||
The cached value loaded from [[Settings_services#GetDebugModeFlag]] must be 1, otherwise an error is returned. | The cached value loaded from [[Settings_services#GetDebugModeFlag]] must be 1, otherwise an error is returned. | ||
Uses [[NS_Services | Uses [[NS_Services|ns]] LaunchDevMenu. | ||
This is used by [[qlaunch]]. On success, official sw will enter an infinite loop with sleep-thread value 86400000000000. | This is used by [[qlaunch]]. On success, official sw will enter an infinite loop with sleep-thread value 86400000000000. |