OSDN Git Service

Remove all FATAL_IFs from graphicsstats service
authorJohn Reck <jreck@google.com>
Mon, 18 Sep 2017 18:08:31 +0000 (11:08 -0700)
committerJohn Reck <jreck@google.com>
Mon, 18 Sep 2017 19:55:17 +0000 (12:55 -0700)
commit5206a871dc227b58b7d97da65e0c9563277fc4d2
treee26c0db37abdc19aade40a064fe96fa0d194adb1
parent7a09f7ec9c212220068cac4380e69ff9c95b8b3e
Remove all FATAL_IFs from graphicsstats service

As graphicsstats can be subjected to data coming
from the disk and is in system_server we want
to bias towards best-effort instead of strict
no-errors that the rest of HWUI typically uses.

So treat any dump/merge of graphics stats as
best effort, ignoring any errors that occur.

Bug: 65652900
Test: verified 'dumpsys graphicsstats' still works

Change-Id: Ia9b91b745c2a9aedad2f22e3087e1d4bf37a1135
libs/hwui/service/GraphicsStatsService.cpp