1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-02 03:20:06 +00:00

Re-saved all projects.

This commit is contained in:
Lukasz Kozakiewicz 2017-11-22 14:25:18 +01:00
parent e89e220aa6
commit fd6b7de444
138 changed files with 617 additions and 9 deletions

View file

@ -14,7 +14,7 @@
<uses-feature android:glEsVersion="0x00030000" android:required="true"/>
<application android:label="@string/app_name" android:hardwareAccelerated="false">
<activity android:name="PushNotificationsDemo" android:label="@string/app_name" android:configChanges="keyboardHidden|orientation|screenSize"
android:screenOrientation="unspecified" android:launchMode="singleTask">
android:screenOrientation="unspecified" android:launchMode="singleTask" android:hardwareAccelerated="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>

View file

@ -1582,6 +1582,27 @@ public class PushNotificationsDemo extends Activity
colorMatrix.set (colorTransform);
paint.setColorFilter (new ColorMatrixColorFilter (colorMatrix));
java.lang.reflect.Method method = null;
try
{
method = getClass().getMethod ("setLayerType", int.class, Paint.class);
}
catch (SecurityException e) {}
catch (NoSuchMethodException e) {}
if (method != null)
{
try
{
int layerTypeNone = 0;
method.invoke (this, layerTypeNone, null);
}
catch (java.lang.IllegalArgumentException e) {}
catch (java.lang.IllegalAccessException e) {}
catch (java.lang.reflect.InvocationTargetException e) {}
}
}
//==============================================================================