Fixed some lint errors
Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
This commit is contained in:
11
ExceptionHandlerLib/.settings/org.eclipse.jdt.core.prefs
Normal file
11
ExceptionHandlerLib/.settings/org.eclipse.jdt.core.prefs
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
eclipse.preferences.version=1
|
||||||
|
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
|
||||||
|
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.6
|
||||||
|
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
|
||||||
|
org.eclipse.jdt.core.compiler.compliance=1.6
|
||||||
|
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
|
||||||
|
org.eclipse.jdt.core.compiler.debug.localVariable=generate
|
||||||
|
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
|
||||||
|
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
|
||||||
|
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
|
||||||
|
org.eclipse.jdt.core.compiler.source=1.6
|
||||||
@@ -4,7 +4,9 @@
|
|||||||
android:versionCode="1"
|
android:versionCode="1"
|
||||||
android:versionName="1.0" >
|
android:versionName="1.0" >
|
||||||
|
|
||||||
<uses-sdk android:minSdkVersion="1" />
|
<uses-sdk
|
||||||
|
android:minSdkVersion="1"
|
||||||
|
android:targetSdkVersion="11" />
|
||||||
|
|
||||||
<uses-permission android:name="android.permission.INTERNET" />
|
<uses-permission android:name="android.permission.INTERNET" />
|
||||||
|
|
||||||
@@ -14,7 +16,9 @@
|
|||||||
android:configChanges="keyboard|keyboardHidden|orientation" >
|
android:configChanges="keyboard|keyboardHidden|orientation" >
|
||||||
</activity>
|
</activity>
|
||||||
|
|
||||||
<service android:name="ReportPostingService" >
|
<service
|
||||||
|
android:name="ReportPostingService"
|
||||||
|
android:process=":reportpostingservice" >
|
||||||
</service>
|
</service>
|
||||||
</application>
|
</application>
|
||||||
|
|
||||||
|
|||||||
3
ExceptionHandlerLib/lint.xml
Normal file
3
ExceptionHandlerLib/lint.xml
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<lint>
|
||||||
|
</lint>
|
||||||
@@ -11,6 +11,7 @@ import java.io.IOException;
|
|||||||
import org.apache.http.client.ClientProtocolException;
|
import org.apache.http.client.ClientProtocolException;
|
||||||
|
|
||||||
import android.annotation.SuppressLint;
|
import android.annotation.SuppressLint;
|
||||||
|
import android.annotation.TargetApi;
|
||||||
import android.app.Notification;
|
import android.app.Notification;
|
||||||
import android.app.Notification.Builder;
|
import android.app.Notification.Builder;
|
||||||
import android.app.NotificationManager;
|
import android.app.NotificationManager;
|
||||||
@@ -174,6 +175,7 @@ public class ReportPostingService extends Service {
|
|||||||
* (non-Javadoc)
|
* (non-Javadoc)
|
||||||
* @see android.app.Service#onStartCommand(android.content.Intent, int, int)
|
* @see android.app.Service#onStartCommand(android.content.Intent, int, int)
|
||||||
*/
|
*/
|
||||||
|
@TargetApi(5)
|
||||||
@Override
|
@Override
|
||||||
public int onStartCommand(Intent intent, int flags, int startId) {
|
public int onStartCommand(Intent intent, int flags, int startId) {
|
||||||
mStartId = startId;
|
mStartId = startId;
|
||||||
|
|||||||
Reference in New Issue
Block a user