chiark / gitweb /
ACCESS_SUPERUSER is now deprecated
authorDaniel Martí <mvdan@mvdan.cc>
Thu, 14 May 2015 10:31:10 +0000 (12:31 +0200)
committerDaniel Martí <mvdan@mvdan.cc>
Thu, 14 May 2015 10:31:10 +0000 (12:31 +0200)
fdroidserver/update.py

index f5eee07cfb550e42152cd7d3070c06750bcdb492..ee7435e7b81eb7b77839a9c1ba6693b464c1f341 100644 (file)
@@ -866,10 +866,6 @@ def make_index(apps, sortedids, apks, repodir, archive, categories):
                 addElement('maxsdkver', str(apk['maxsdkversion']), doc, apkel)
             if 'added' in apk:
                 addElement('added', time.strftime('%Y-%m-%d', apk['added']), doc, apkel)
-            if app['Requires Root']:
-                if 'ACCESS_SUPERUSER' not in apk['permissions']:
-                    apk['permissions'].add('ACCESS_SUPERUSER')
-
             if len(apk['permissions']) > 0:
                 addElement('permissions', ','.join(apk['permissions']), doc, apkel)
             if 'nativecode' in apk and len(apk['nativecode']) > 0: