Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(330)

Unified Diff: device/generic_sensor/android/java/src/org/chromium/device/sensors/PlatformSensorException.java

Issue 2284613002: [sensors] Android platform adaptation for Generic Sensor API (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebased. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: device/generic_sensor/android/java/src/org/chromium/device/sensors/PlatformSensorException.java
diff --git a/device/generic_sensor/android/java/src/org/chromium/device/sensors/PlatformSensorException.java b/device/generic_sensor/android/java/src/org/chromium/device/sensors/PlatformSensorException.java
new file mode 100644
index 0000000000000000000000000000000000000000..fbb664cf88b5b2d9d25027e0031af6c35b957ed2
--- /dev/null
+++ b/device/generic_sensor/android/java/src/org/chromium/device/sensors/PlatformSensorException.java
@@ -0,0 +1,11 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+package org.chromium.device.sensors;
+
+/**
+ * Exception that raised when Sensor instance cannot be created or when sensor reading buffer
+ * cannot be filled with the data.
+ */
+public final class PlatformSensorException extends Exception {}

Powered by Google App Engine
This is Rietveld 408576698