Skip to content

Commit

Permalink
[camera] reduce camera startup delay on first start after reboot
Browse files Browse the repository at this point in the history
run droid-camres once during boot
  • Loading branch information
kimmoli committed Dec 26, 2016
1 parent 4c53394 commit 85a4ee3
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
3 changes: 3 additions & 0 deletions patterns/jolla-hw-adaptation-onyx.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ Requires:
- camera-settings-plugin
- buttonjackd

# Used to speed up camera starting after reboot
- droid-camres

# Other usefull stuff that i install anyways
- nano
- mce-tools
Expand Down
11 changes: 11 additions & 0 deletions sparse/usr/lib/systemd/user/droid-camera-start-boost.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[Unit]
Description=Camera first start booster
After=user-session.target

[Service]
Type=oneshot
StandardOutput=null
ExecStart=/usr/bin/droid-camres

[Install]
WantedBy=post-user-session.target

0 comments on commit 85a4ee3

Please sign in to comment.