(self)
run
run
run
def run(self):
        """run
        """
        if self.adb.available():
            packages = self.adb.list_packages()
            for package in sorted(packages, key=lambda x: x.package):
                self.onAddPackage.emit([package.package, package.path])

        self.onFinished.emit()
def run ( self ) : if self . adb . available ( ) : packages = self . adb . list_packages ( ) for package in sorted ( packages , key = lambda x : x . package ) : self . onAddPackage . emit ( [ package . package , package . path ] ) self . onFinished . emit ( )