Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TIMOB-11731-3_1_X: Android: KrollRuntimeThread error in ti.modules.titanium.app.AppModule during project run on emulator #4485

Merged
merged 1 commit into from
Jul 24, 2013
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Appcelerator Titanium Mobile
* Copyright (c) 2009-2012 by Appcelerator, Inc. All Rights Reserved.
* Copyright (c) 2009-2013 by Appcelerator, Inc. All Rights Reserved.
* Licensed under the terms of the Apache Public License
* Please see the LICENSE included with this distribution for details.
*/
Expand Down Expand Up @@ -47,6 +47,7 @@
import org.appcelerator.titanium.util.TiWeakList;

import ti.modules.titanium.TitaniumModule;
import android.annotation.SuppressLint;
import android.app.Activity;
import android.app.Application;
import android.content.BroadcastReceiver;
Expand Down Expand Up @@ -390,6 +391,7 @@ public void onLowMemory ()
super.onLowMemory();
}

@SuppressLint("NewApi")
@Override
public void onTrimMemory(int level)
{
Expand Down Expand Up @@ -537,7 +539,6 @@ private String getStartFilename(String defaultStartFile)

public void addAppEventProxy(KrollProxy appEventProxy)
{
Log.e(TAG, "APP PROXY: " + appEventProxy);
if (appEventProxy != null && !appEventProxies.contains(appEventProxy)) {
appEventProxies.add(new WeakReference<KrollProxy>(appEventProxy));
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@
import org.appcelerator.titanium.view.TiCompositeLayout.LayoutParams;
import org.appcelerator.titanium.view.TiGradientDrawable.GradientType;

import android.annotation.SuppressLint;
import android.app.Activity;
import android.content.Context;
import android.graphics.Paint;
Expand Down Expand Up @@ -1351,6 +1352,7 @@ public boolean onKey(View view, int keyCode, KeyEvent event)
* Sets the nativeView's opacity.
* @param opacity the opacity to set.
*/
@SuppressLint("NewApi")
public void setOpacity(float opacity)
{
if (opacity < 0 || opacity > 1) {
Expand Down