Skip to content

Commit

Permalink
Handle backported AndroidRuntime::start()
Browse files Browse the repository at this point in the history
Samsung decided to backport this change into Android 5.0(e.g. N900S).
Consider sdk21 can differ too.

Signed-off-by: Park Ju Hyung <[email protected]>
  • Loading branch information
arter97 authored and rovo89 committed Nov 15, 2015
1 parent 2d27804 commit 27f96f9
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app_main2.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,7 @@ static const char ZYGOTE_NICE_NAME[] = "zygote";

static void runtimeStart(AppRuntime& runtime, const char *classname, const Vector<String8>& options, bool zygote)
{
#if PLATFORM_SDK_VERSION == 21
runtime.start(classname, options);
#elif PLATFORM_SDK_VERSION >= 23
#if PLATFORM_SDK_VERSION >= 23
runtime.start(classname, options, zygote);
#else
// try newer variant (5.1.1_r19 and later) first
Expand Down

0 comments on commit 27f96f9

Please sign in to comment.