Merge branch 'master' of github.com:n1nj4sec/pupy

This commit is contained in:
n1nj4sec 2017-05-16 23:11:26 +02:00
commit e40fecfb1d
2 changed files with 3 additions and 2 deletions

2
client/android_sources/PythonActivity.java Normal file → Executable file
View File

@ -143,7 +143,7 @@ public class PythonActivity extends Activity implements Runnable {
mPath.getAbsolutePath());
Hardware.view = mView;
//setContentView(mView);
setContentView(mView);
// Force the background window color if asked
if ( this.mInfo.metaData.containsKey("android.background_color") ) {

View File

@ -21,7 +21,8 @@ cp MyBroadcastReceiver.java .buildozer/android/platform/python-for-android/dist/
#hidden notification
cp PythonService.java .buildozer/android/platform/python-for-android/dist/pupy/src/org/renpy/android/PythonService.java
cp PythonActivity.java .buildozer/android/platform/python-for-android/src/src/org/renpy/android/PythonActivity.java
#cp PythonActivity.java .buildozer/android/platform/python-for-android/src/src/org/renpy/android/PythonActivity.java
cp PythonActivity.java .buildozer/android/platform/python-for-android/dist/pupy/src/org/renpy/android/PythonActivity.java
if [ "$1" = "debug" ]; then
rm bin/*.apk