Skip to content

Commit 83af823

Browse files
committed
Merge branch 'master' of github.com:kivy/python-for-android
2 parents 6e2e12d + fda81ae commit 83af823

File tree

2 files changed

+3
-21
lines changed

2 files changed

+3
-21
lines changed

README.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,8 @@ branch.
4141

4242
# Documentation
4343

44-
This toolchain is documented (temporarily)
45-
[here](http://inclem.net/files/p4a_revamp_doc/). Follow the
46-
[quickstart instructions](http://inclem.net/files/p4a_revamp_doc/quickstart.html#quickstart)
44+
Follow the
45+
[quickstart instructions](https://python-for-android.readthedocs.org/en/latest/quickstart/)
4746
to install and begin creating APK.
4847

4948
Quick instructions to start would be:
@@ -90,8 +89,7 @@ the reference commit that the revamp is based on:
9089

9190
# Current status
9291

93-
The tool works, testing is welcomed. Doc is available
94-
[here](http://inclem.net/files/p4a_revamp_doc/).
92+
The tool works, testing is welcomed.
9593

9694
# Development notes
9795

pythonforandroid/recipes/android/src/android/activity.py

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -18,14 +18,6 @@ def __init__(self, callback, **kwargs):
1818
def onNewIntent(self, intent):
1919
self.callback(intent)
2020

21-
@java_method('(Ljava/lang/Object;)Z')
22-
def equals(self, obj):
23-
return obj.hashCode() == self.hashCode()
24-
25-
@java_method('()I')
26-
def hashCode(self):
27-
return id(self)
28-
2921

3022
class ActivityResultListener(PythonJavaClass):
3123
__javainterfaces__ = ['org/renpy/android/PythonActivity$ActivityResultListener']
@@ -39,14 +31,6 @@ def __init__(self, callback):
3931
def onActivityResult(self, requestCode, resultCode, intent):
4032
self.callback(requestCode, resultCode, intent)
4133

42-
@java_method('(Ljava/lang/Object;)Z')
43-
def equals(self, obj):
44-
return obj.hashCode() == self.hashCode()
45-
46-
@java_method('()I')
47-
def hashCode(self):
48-
return id(self)
49-
5034

5135
def bind(**kwargs):
5236
for event, callback in kwargs.items():

0 commit comments

Comments
 (0)