From 3f5a0dd64b1cc80479044da02adfb89710873114 Mon Sep 17 00:00:00 2001 From: Ciaran Gultnieks Date: Tue, 1 Nov 2011 21:24:02 +0000 Subject: [PATCH] Filter out another troublemaking feature introduced by recent platform tools --- update.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/update.py b/update.py index 2c6a8062..dc228a2e 100755 --- a/update.py +++ b/update.py @@ -129,7 +129,8 @@ for apkfile in glob.glob(os.path.join('repo','*.apk')): perm = re.match(pat, line).group(1) #Filter out this, it's only added with the latest SDK tools and #causes problems for lots of apps. - if perm != "android.hardware.screen.portrait": + if (perm != "android.hardware.screen.portrait" and + perm != "android.hardware.screen.landscape"): if perm.startswith("android.feature."): perm = perm[16:] thisinfo['features'].append(perm) -- 2.30.2