Skip to content

Commit

Permalink
gts2-common: Ramdisk: Fix FDE when using GNSS binder service
Browse files Browse the repository at this point in the history
Need to stop gnss before decryption because it hangs umount of data
as our libgps leaves some open handles on /data.
  • Loading branch information
danwood76 authored and retiredtab-gerrit committed Apr 19, 2024
1 parent cf7fc48 commit 878964a
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions rootdir/etc/init.universal5433.rc
Expand Up @@ -625,6 +625,14 @@ service gpsd /vendor/bin/gpsd -c /vendor/etc/gps.xml
group system inet net_raw
ioprio be 0

# Need to stop gnss before decryption because it hangs umount of data
# as our libgps leaves some open handles on /data
on property:vold.decrypt=trigger_shutdown_framework
stop vendor.gnss_service

on property:vold.decrypt=trigger_restart_framework
start vendor.gnss_service

# ARGOSD
service argos-daemon /vendor/bin/argosd
class main
Expand Down

0 comments on commit 878964a

Please sign in to comment.