Fixed some lint errors

Signed-off-by: Ricky Barrette <rickbarrette@gmail.com>
This commit is contained in:
2012-06-03 11:35:36 -04:00
parent 7177bc089d
commit 9b7c2594c9
4 changed files with 22 additions and 2 deletions

View 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

View File

@@ -4,7 +4,9 @@
android:versionCode="1"
android:versionName="1.0" >
<uses-sdk android:minSdkVersion="1" />
<uses-sdk
android:minSdkVersion="1"
android:targetSdkVersion="11" />
<uses-permission android:name="android.permission.INTERNET" />
@@ -14,7 +16,9 @@
android:configChanges="keyboard|keyboardHidden|orientation" >
</activity>
<service android:name="ReportPostingService" >
<service
android:name="ReportPostingService"
android:process=":reportpostingservice" >
</service>
</application>

View File

@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<lint>
</lint>

View File

@@ -11,6 +11,7 @@ import java.io.IOException;
import org.apache.http.client.ClientProtocolException;
import android.annotation.SuppressLint;
import android.annotation.TargetApi;
import android.app.Notification;
import android.app.Notification.Builder;
import android.app.NotificationManager;
@@ -174,6 +175,7 @@ public class ReportPostingService extends Service {
* (non-Javadoc)
* @see android.app.Service#onStartCommand(android.content.Intent, int, int)
*/
@TargetApi(5)
@Override
public int onStartCommand(Intent intent, int flags, int startId) {
mStartId = startId;