diff options
author | John Reck <jreck@google.com> | 2015-03-18 15:24:33 -0700 |
---|---|---|
committer | John Reck <jreck@google.com> | 2015-03-27 11:50:56 -0700 |
commit | edc524c90506d80e0fc5fb67e8de7b8f3ef53439 (patch) | |
tree | 098c18daa80655fe0fa3faab7c39332685c163ef /services/java | |
parent | 1cef4196886b0cc1238111d396c1e3665a5fd2ae (diff) | |
download | frameworks_base-edc524c90506d80e0fc5fb67e8de7b8f3ef53439.zip frameworks_base-edc524c90506d80e0fc5fb67e8de7b8f3ef53439.tar.gz frameworks_base-edc524c90506d80e0fc5fb67e8de7b8f3ef53439.tar.bz2 |
Add GraphicsStatsService
More S's for More Speed
Split JankTracker's backing data from the
class to allow for data relocation to/from ashmem regions
Pack the jank tracking data to fit in 256 bytes
Change-Id: Ife86a64b71a328fbd0c8075fe6a0404e081f725b
Diffstat (limited to 'services/java')
-rw-r--r-- | services/java/com/android/server/SystemServer.java | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/services/java/com/android/server/SystemServer.java b/services/java/com/android/server/SystemServer.java index ae2c54b..2effb44 100644 --- a/services/java/com/android/server/SystemServer.java +++ b/services/java/com/android/server/SystemServer.java @@ -925,6 +925,11 @@ public final class SystemServer { } } + if (!disableNonCoreServices) { + ServiceManager.addService(GraphicsStatsService.GRAPHICS_STATS_SERVICE, + new GraphicsStatsService(context)); + } + if (mPackageManager.hasSystemFeature(PackageManager.FEATURE_PRINTING)) { mSystemServiceManager.startService(PRINT_MANAGER_SERVICE_CLASS); } |