Skip to content

Commit

Permalink
sdm660-common: Use MIUI poweroff charging animation
Browse files Browse the repository at this point in the history
 * It's cool, and more importantly... it actually works!
   Oh look, it even displays battery level. Wow. :-P
  • Loading branch information
bgcngm authored and Danish1999 committed Feb 10, 2021
1 parent c8bbd3b commit 8728bb0
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
3 changes: 3 additions & 0 deletions proprietary-files.txt
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,9 @@ vendor/lib64/[email protected]|3939e4d1ab4f74e6bbd04524a9e6211ade9c5d0
vendor/lib64/[email protected]|ce0030a7e6593236277962ffff290b834eaf1f25
vendor/lib64/[email protected]|0b578a42706c770c6c61eccdee8a9e4c89c08b10

# Power-off charging daemon
-sbin/charger:bin/chargeonlymode|664dfa548b81cac348f1699222160f8d2b4d247c

# QMI - from jasmine
etc/permissions/qti_permissions.xml|e6ff4572352b1a4f91b6b9d7cbb1cad9924410a0
product/lib64/libdiag_system.so|588e842c56dfba4c978d2ef864a567d9cc0051da
Expand Down
2 changes: 1 addition & 1 deletion rootdir/etc/init.qcom.rc
Original file line number Diff line number Diff line change
Expand Up @@ -878,7 +878,7 @@ service profiler_daemon /system/bin/profiler_daemon
group root
disabled

service charger /system/bin/charger
service vendor.charger /system/bin/chargeonlymode
class charger
user system
group system graphics input
Expand Down
2 changes: 2 additions & 0 deletions sepolicy/private/file_contexts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# Executables
/system/bin/chargeonlymode u:object_r:charger_exec:s0

0 comments on commit 8728bb0

Please sign in to comment.