bugfix
This commit is contained in:
parent
5ed0a06939
commit
a85bed50dc
@ -1,8 +1,11 @@
|
|||||||
from kivy.utils import platform
|
from kivy.utils import platform
|
||||||
import plyer
|
import plyer
|
||||||
try:
|
try:
|
||||||
from plyer.platforms.android import activity
|
from android import activity
|
||||||
|
# from plyer.platforms.android import activity
|
||||||
|
# return rotation is 0 forever
|
||||||
except:
|
except:
|
||||||
|
print('android_rotation.py:from android import activity ERROR')
|
||||||
activity = None
|
activity = None
|
||||||
|
|
||||||
def get_rotation():
|
def get_rotation():
|
||||||
|
Loading…
Reference in New Issue
Block a user