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