Esempio n. 1
0
    def startReading(self, clear):
        if self._thread:
            raise RuntimeError('Attempting to start reading twice')

        if clear:
            ADB.clearLogcat()

        self._thread = LogcatDatabase.ReaderThread(self._dbPath)

        self._thread.start()