File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55from play_store_api import get_latest_version_code
66
77
8- android_installer_version = "0.1.8 "
8+ android_installer_version = "0.1.9 "
99
1010
1111BUILD_TYPE_DEBUG = "debug"
Original file line number Diff line number Diff line change 55from android_utils import share_by_intent
66from django .utils import timezone
77from jnius import autoclass
8+ from kolibri .core .content .hooks import ShareFileHook
89from kolibri .core .device .hooks import CheckIsMeteredHook
910from kolibri .core .device .hooks import GetOSUserHook
10- from kolibri .core .device .hooks import ShareFileHook
11- from kolibri .core .tasks .hooks import StorageHook
11+ from kolibri .core .tasks .hooks import JobHook
1212from kolibri .core .tasks .job import Priority
1313from kolibri .plugins import KolibriPluginBase
1414from kolibri .plugins .hooks import register_hook
@@ -43,12 +43,12 @@ def check_is_metered(self):
4343
4444@register_hook
4545class AndroidShareFileHook (ShareFileHook ):
46- def share_file (self , * args , ** kwargs ):
47- return share_by_intent (* args , ** kwargs )
46+ def share_file (self , filename , message ):
47+ return share_by_intent (filename , message )
4848
4949
5050@register_hook
51- class StorageHook ( StorageHook ):
51+ class AndroidJobHook ( JobHook ):
5252 def schedule (
5353 self ,
5454 job ,
You can’t perform that action at this time.
0 commit comments