summaryrefslogtreecommitdiffstats
path: root/print_db.py
diff options
context:
space:
mode:
authorWinson Chung <winsonc@google.com>2013-08-09 16:06:38 -0700
committerWinson Chung <winsonc@google.com>2013-08-09 16:06:38 -0700
commit8481e32e5ba318d11c31317072a8a23aacd3d0b9 (patch)
treed17252af1ab42cf3c6d92761b63396da2cba60b8 /print_db.py
parentd1a191d32d5d92ff7fd2fb69d5754d228cd365aa (diff)
downloadandroid_packages_apps_Trebuchet-8481e32e5ba318d11c31317072a8a23aacd3d0b9.tar.gz
android_packages_apps_Trebuchet-8481e32e5ba318d11c31317072a8a23aacd3d0b9.tar.bz2
android_packages_apps_Trebuchet-8481e32e5ba318d11c31317072a8a23aacd3d0b9.zip
Adding additional debugging code to track screen id updates.
Change-Id: I1749ab998a4c213b32f1160d5d21f21b2f30e389
Diffstat (limited to 'print_db.py')
-rwxr-xr-xprint_db.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/print_db.py b/print_db.py
index f0fc45eda..6caa7bb87 100755
--- a/print_db.py
+++ b/print_db.py
@@ -140,6 +140,10 @@ def process_file(fn):
hotseatIdMap = []
HOTSEAT_SIZE = 0
for d in data:
+ if d["spanX"] is None:
+ d["spanX"] = 1
+ if d["spanY"] is None:
+ d["spanY"] = 1
if d["container"] == CONTAINER_DESKTOP:
if d["screen"] not in screensIdMap:
screensIdMap.append(d["screen"])