diff options
author | 2018-03-29 16:52:09 +0900 | |
---|---|---|
committer | 2018-05-10 17:39:37 +0000 | |
commit | 788e1c413914731b2e2e52a9b1e007422fc367cf (patch) | |
tree | e9529070aed4fe7a32b78f20ab17f66ca5530ad0 /libs/binder/Static.cpp | |
parent | de1de879042442f6925d65281cc963473b1d9d3c (diff) |
Reduce the polling interval in getService() to 100ms
The 1 second polling interval is too long and 100ms interval can reduce
the boot time, especially for ARC++. The test results can be found in
b/30892329.
This CL also adds some ALOGs to show the service start failure as well
as to avoid spam.
Bug: 38432898
Test: Services can still start. Test cheets_PerfBootServer for ARC++.
Change-Id: I9c0da9ef8a18a0e1432c39d98a34377bb66c5d85
Diffstat (limited to 'libs/binder/Static.cpp')
-rw-r--r-- | libs/binder/Static.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/binder/Static.cpp b/libs/binder/Static.cpp index 9899b65288..c5c3fd58c3 100644 --- a/libs/binder/Static.cpp +++ b/libs/binder/Static.cpp @@ -97,5 +97,6 @@ sp<IServiceManager> gDefaultServiceManager; #ifndef __ANDROID_VNDK__ sp<IPermissionController> gPermissionController; #endif +bool gSystemBootCompleted = false; } // namespace android |