LibreShift / red-moon

Android screen filter app for night time phone use.
GNU General Public License v3.0
650 stars 81 forks source link

Add root listener source #167

Closed notjuliee closed 7 years ago

notjuliee commented 7 years ago

listener.cpp, when compiled for the right architecture, will listen on an existing fifo at argv[1]. Whenever something is recived on the fifo, it will run service call SurfaceFlinger <line>. To kill the listener, write exit to the fifo.