mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 23:10:29 +03:00
Filter out another troublemaking feature introduced by recent platform tools
This commit is contained in:
parent
3ee3266551
commit
3f5a0dd64b
1 changed files with 2 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue