Skip to content

Commit

Permalink
Merge pull request #615 from ix5/power-add-interface
Browse files Browse the repository at this point in the history
[Q-COMPAT] Power: Add interface info to .rc
  • Loading branch information
jerpelea committed Jul 29, 2019
2 parents 3dcbedf + e4a9138 commit 0e27d04
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 0 additions & 1 deletion hardware/power/Hints.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,6 @@ static void *powerserver_looper(void *obj)
int RQBalanceHintsHandler::manage_powerserver(bool start)
{
int ret;
struct stat st = {};
struct passwd *pwd;
struct passwd *grp;
uid_t uid;
Expand Down
5 changes: 5 additions & 0 deletions hardware/power/android.hardware.power@1.3-service.sony.rc
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
service vendor.power-hal-1-3 /vendor/bin/hw/android.hardware.power@1.3-service.sony
# 1.0 is somehow still required even though 1.0-3 are allowed by P/Q FCM
interface android.hardware.power@1.0::IPower default
interface android.hardware.power@1.1::IPower default
interface android.hardware.power@1.2::IPower default
interface android.hardware.power@1.3::IPower default
class hal
user root
group system
Expand Down

0 comments on commit 0e27d04

Please sign in to comment.