SurfaceFlinger: update the refresh rate overlay based on kernel idle timer

The frameworks maintains its own copy of inactivity timer to track the
kernel idle timer. Update the refresh rate overlay based on that timer.

Test: Enable refresh rate overlay from developer options
Bug: 149710432
Change-Id: I6c50d64575149317106f72fecdd50cef4e08db6a
diff --git a/services/surfaceflinger/SurfaceFlinger.h b/services/surfaceflinger/SurfaceFlinger.h
index c79621b..07232d4 100644
--- a/services/surfaceflinger/SurfaceFlinger.h
+++ b/services/surfaceflinger/SurfaceFlinger.h
@@ -524,6 +524,8 @@
     void changeRefreshRate(const Scheduler::RefreshRate&, Scheduler::ConfigEvent) override;
     // force full composition on all displays without resetting the scheduler idle timer.
     void repaintEverythingForHWC() override;
+    // Called when kernel idle timer has expired. Used to update the refresh rate overlay.
+    void kernelTimerChanged(bool expired) override;
     /* ------------------------------------------------------------------------
      * Message handling
      */