No description
3ff648d5ff
On some systems (Minidroid & friends) there is no suspend-service, which means that acquiring a wake lock would wait indefinitely. In our case this prevented `adb bugreport` from working. With this change if the service is not declared, acquire_wake_lock would fail, as opposed to getting stuck. Test: atest libpower_test Test: block_suspend - works on aosp_cf_x86_64_phone-trunk_staging-userdebug - fails (expected) on aosp_cf_x86_64_minidroid-trunk_staging-userdebug Bug: 291070376 Change-Id: Ie25f3d96e457aa7945f36c301e70b751d529e6c7 |
||
---|---|---|
audio | ||
include | ||
Android.bp | ||
Android.mk | ||
block_suspend.cpp | ||
CleanSpec.mk | ||
METADATA | ||
NOTICE | ||
OWNERS | ||
power.cpp | ||
power_test.cpp | ||
TEST_MAPPING | ||
uevent.c |