From 9395f90b26e072b2748db315aaffef27c257a82d Mon Sep 17 00:00:00 2001 From: Maurice Lam Date: Fri, 12 May 2017 18:05:25 -0700 Subject: Add IllustrationVideoView to setup wizard library - Upstreamed setup wizard's IllustrationVideoView to SuwLib - Modified the view to automatically listen to window focus changes to play and pause the video - The view will now release the MediaPlayer as well in onSurfaceTextureDestroyed - Added checkstyle_suppression XML so it will ignore the "__constructor__" magic method name from the style check. Bug: 36584499 Test: ./gradlew connectedAndroidTest test Change-Id: Id045467d5d544a5f54464a0c938d3d56e758e455 --- tools/checkstyle/checkstyle.xml | 20 ++++++++++++++++++++ tools/checkstyle/checkstyle_suppression.xml | 14 ++++++++++++++ 2 files changed, 34 insertions(+) create mode 100644 tools/checkstyle/checkstyle.xml create mode 100644 tools/checkstyle/checkstyle_suppression.xml (limited to 'tools') diff --git a/tools/checkstyle/checkstyle.xml b/tools/checkstyle/checkstyle.xml new file mode 100644 index 0000000..0dbccae --- /dev/null +++ b/tools/checkstyle/checkstyle.xml @@ -0,0 +1,20 @@ + + + + + +]> + + + &defaultModuleChecks; + &defaultCopyrightCheck; + + &defaultJavadocChecks; + &defaultTreewalkerChecks; + + + + + + diff --git a/tools/checkstyle/checkstyle_suppression.xml b/tools/checkstyle/checkstyle_suppression.xml new file mode 100644 index 0000000..6bf7b21 --- /dev/null +++ b/tools/checkstyle/checkstyle_suppression.xml @@ -0,0 +1,14 @@ + + + + + + + + + + -- cgit v1.2.3