Skip to content

Commit 439c408

Browse files
committed
Make the SDLSurfaceView knows about PythonActivity itself
1 parent c781ad7 commit 439c408

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

src/build.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -391,6 +391,9 @@ def make_package(args):
391391
if args.ignore_path is None:
392392
args.ignore_path = []
393393

394+
if args.meta_data is None:
395+
args.meta_data = []
396+
394397
if args.compile_pyo:
395398
if PYTHON is None:
396399
ap.error('To use --compile-pyo, you need Python 2.7.1 installed and in your PATH.')

src/src/org/renpy/android/SDLSurfaceView.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ private void printConfig(EGL10 egl, EGLDisplay display,
271271
}
272272

273273
// The activity we're a part of.
274-
private static Activity mActivity;
274+
private static PythonActivity mActivity;
275275

276276
// Have we started yet?
277277
public boolean mStarted = false;

0 commit comments

Comments
 (0)