blob: d537519e8607ab2ff5b5e6c86d916ed272e554e0 [file] [log] [blame]
#!/usr/bin/env python
# adb_reboot.py - Reboots and cleans an Android device. -*- python -*-
#
# This source file is part of the Swift.org open source project
#
# Copyright (c) 2014 - 2016 Apple Inc. and the Swift project authors
# Licensed under Apache License v2.0 with Runtime Library Exception
#
# See http://swift.org/LICENSE.txt for license information
# See http://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
from adb.commands import DEVICE_TEMP_DIR, reboot, rmdir
if __name__ == '__main__':
reboot()
rmdir(DEVICE_TEMP_DIR)