chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ee3266
)
Filter out another troublemaking feature introduced by recent platform tools
author
Ciaran Gultnieks
<ciaran@ciarang.com>
Tue, 1 Nov 2011 21:24:02 +0000
(21:24 +0000)
committer
Ciaran Gultnieks
<ciaran@ciarang.com>
Tue, 1 Nov 2011 21:24:02 +0000
(21:24 +0000)
update.py
patch
|
blob
|
history
diff --git
a/update.py
b/update.py
index 2c6a80626431f87fa5693ea20307aec4712d9ed8..dc228a2ef07f64860b65d083b78fa91023dbffce 100755
(executable)
--- 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)