Skip to content

Commit e3bdeea

Browse files
committed
2015.02.12
1 parent 787028d commit e3bdeea

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

python/getApp.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def get_match_apk(package_name, path):
1919
list = []
2020
for packages in utils.shell("pm list packages -f %s" %package_name).stdout.readlines():
2121
list.append(packages.split(":")[-1].split("=")[0])
22-
# apk_name = list[0].split("/")[-1]
22+
2323
utils.adb("pull %s %s" %(list[0], path)).wait()
2424

2525
if __name__ == "__main__":

python/get_cpu_mem_info.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ def line_chart():
7575
elif 50 < times <= 90:
7676
xArea = times * 20
7777
else:
78-
xArea = 1800
78+
xArea = 1800
79+
7980
c = XYChart(xArea, 800, 0xCCEEFF, 0x000000, 1)
8081
c.setPlotArea(60, 100, xArea - 100, 650)
8182
c.addLegend(50, 30, 0, "arialbd.ttf", 15).setBackground(Transparent)

python/screenrecord.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@
1919
PATH = lambda p: os.path.abspath(p)
2020

2121
def record():
22-
utils.shell("screenrecord /data/local/tmp/video.mp4")
23-
22+
utils.shell("screenrecord /data/local/tmp/video.mp4")
2423
input_key = raw_input("Please press the Enter key to stop recording:\n")
2524
if input_key == "":
2625
utils.adb("kill-server")

python/screenshot.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ def screenshot():
2020
utils.shell("screencap -p /data/local/tmp/tmp.png").wait()
2121
if not os.path.isdir(path):
2222
os.makedirs(path)
23+
2324
utils.adb("pull /data/local/tmp/tmp.png %s" %PATH("%s/%s.png" %(path, utils.timestamp()))).wait()
2425
utils.shell("rm /data/local/tmp/tmp.png")
2526

0 commit comments

Comments
 (0)