Skip to content

Commit

Permalink
[SVN] r2292 twister-lib-android in /Libraries/twister-lib-android/
Browse files Browse the repository at this point in the history
[FIX] Ignore some warnings until better tooling support arrives
  • Loading branch information
TWiStErRob committed Mar 12, 2017
1 parent 63a5425 commit de5bb5d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions libs/twister-lib-android/lint.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
<ignore regexp="R\.bool\.in_test" />
<!-- Not used, because this is a library, used by consuming apps -->
<ignore path="src/main/res/values/dimens.xml" />
<ignore path="src/main/res/values/consts.xml" />
<!-- Used by consuming applications -->
<ignore path="src/main/res/layout/inc_empty.xml" />
<ignore path="src/main/res/values/strings_about.xml" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

import android.Manifest;
import android.animation.*;
import android.annotation.TargetApi;
import android.annotation.*;
import android.app.Activity;
import android.content.*;
import android.content.pm.PackageManager;
Expand Down Expand Up @@ -55,6 +55,7 @@
* > <a href="https://code.google.com/archive/p/ece301-examples/downloads">Downloads</a>
* > <a href="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/ece301-examples/CameraPreview.zip">CameraPreview.zip</a> (password preview).
*/
@SuppressLint("WrongThread") // TODEL when updated the Gradle plugin with new lint
@UiThread
public class CaptureImage extends Activity implements ActivityCompat.OnRequestPermissionsResultCallback {
private static final Logger LOG = LoggerFactory.getLogger(CaptureImage.class);
Expand Down

0 comments on commit de5bb5d

Please sign in to comment.