summaryrefslogtreecommitdiff
path: root/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/MainActivity.java
diff options
context:
space:
mode:
authorTrevor Johns <trevorjohns@google.com>2014-11-12 11:39:30 -0800
committerTrevor Johns <trevorjohns@google.com>2014-11-12 11:39:30 -0800
commit527a4f30a69aaa54fc9654539f0b6d839e37af3c (patch)
tree38f816a286e672e8f00caed6a0344c3c18632a78 /samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/MainActivity.java
parentfcd28181a15ebe95724fe096a8b5198c964b0d7f (diff)
Update browseable samples for lmp-docs
Synced to commit df5e5013422b81b4fd05c0ac9fd964b13624847a. Includes new samples for Android Auto. Change-Id: I3fec46e2a6b3f196682a92f1afd91eb682dc2dc1
Diffstat (limited to 'samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/MainActivity.java')
-rw-r--r--samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/MainActivity.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/MainActivity.java b/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/MainActivity.java
index 5e4f7e3e7..536269387 100644
--- a/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/MainActivity.java
+++ b/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/MainActivity.java
@@ -13,9 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
-
-
-
package com.example.android.batchstepsensor;
import android.os.Bundle;
@@ -58,7 +55,7 @@ public class MainActivity extends SampleActivityBase implements CardStream {
}
// Use fragment as click listener for cards, but must implement correct interface
- if(!(fragment instanceof OnCardClickListener)){
+ if (!(fragment instanceof OnCardClickListener)){
throw new ClassCastException("BatchStepSensorFragment must " +
"implement OnCardClickListener interface.");
}