Loading Android.bp +2 −0 Original line number Diff line number Diff line Loading @@ -1756,6 +1756,7 @@ droidstubs { last_released: { api_file: ":last-released-public-api", removed_api_file: "api/removed.txt", baseline_file: ":public-api-incompatibilities-with-last-released", }, }, jdiff_enabled: true, Loading @@ -1781,6 +1782,7 @@ droidstubs { last_released: { api_file: ":last-released-system-api", removed_api_file: "api/system-removed.txt", baseline_file: ":system-api-incompatibilities-with-last-released" }, }, jdiff_enabled: true, Loading packages/SystemUI/src/com/android/systemui/classifier/brightline/ZigZagClassifier.java +2 −2 Original line number Diff line number Diff line Loading @@ -39,8 +39,8 @@ class ZigZagClassifier extends FalsingClassifier { // most swipes will follow somewhat of a 'C' or 'S' shape, we allow more deviance along the // `SECONDARY` axis. private static final float MAX_X_PRIMARY_DEVIANCE = .05f; private static final float MAX_Y_PRIMARY_DEVIANCE = .05f; private static final float MAX_X_SECONDARY_DEVIANCE = .3f; private static final float MAX_Y_PRIMARY_DEVIANCE = .1f; private static final float MAX_X_SECONDARY_DEVIANCE = .6f; private static final float MAX_Y_SECONDARY_DEVIANCE = .3f; private final float mMaxXPrimaryDeviance; Loading packages/SystemUI/tests/src/com/android/systemui/classifier/brightline/ZigZagClassifierTest.java +2 −2 Original line number Diff line number Diff line Loading @@ -133,8 +133,8 @@ public class ZigZagClassifierTest extends ClassifierTest { // This test looks just like testPass_horizontalZigZagVerticalStraight but with // a shorter y range, making it look more crooked. appendMoveEvent(0, 0); appendMoveEvent(5, 10); appendMoveEvent(-5, 20); appendMoveEvent(6, 10); appendMoveEvent(-6, 20); assertThat(mClassifier.isFalseTouch(), is(true)); } Loading services/net/java/android/net/dhcp/DhcpServerCallbacks.java +2 −4 Original line number Diff line number Diff line Loading @@ -21,13 +21,11 @@ package android.net.dhcp; * @hide */ public abstract class DhcpServerCallbacks extends IDhcpServerCallbacks.Stub { // TODO: add @Override here once the API is versioned /** * Get the version of the aidl interface implemented by the callbacks. */ @Override public int getInterfaceVersion() { // TODO: return IDhcpServerCallbacks.VERSION; return 0; return IDhcpServerCallbacks.VERSION; } } telephony/java/android/telephony/data/DataServiceCallback.java +5 −0 Original line number Diff line number Diff line Loading @@ -42,6 +42,8 @@ public class DataServiceCallback { private static final String TAG = DataServiceCallback.class.getSimpleName(); private static final boolean DBG = true; /** * Result of data requests * @hide Loading Loading @@ -81,6 +83,7 @@ public class DataServiceCallback { IDataServiceCallback callback = mCallback.get(); if (callback != null) { try { if (DBG) Rlog.d(TAG, "onSetupDataCallComplete"); callback.onSetupDataCallComplete(result, response); } catch (RemoteException e) { Rlog.e(TAG, "Failed to onSetupDataCallComplete on the remote"); Loading @@ -98,6 +101,7 @@ public class DataServiceCallback { IDataServiceCallback callback = mCallback.get(); if (callback != null) { try { if (DBG) Rlog.d(TAG, "onDeactivateDataCallComplete"); callback.onDeactivateDataCallComplete(result); } catch (RemoteException e) { Rlog.e(TAG, "Failed to onDeactivateDataCallComplete on the remote"); Loading Loading @@ -169,6 +173,7 @@ public class DataServiceCallback { IDataServiceCallback callback = mCallback.get(); if (callback != null) { try { if (DBG) Rlog.d(TAG, "onDataCallListChanged"); callback.onDataCallListChanged(dataCallList); } catch (RemoteException e) { Rlog.e(TAG, "Failed to onDataCallListChanged on the remote"); Loading Loading
Android.bp +2 −0 Original line number Diff line number Diff line Loading @@ -1756,6 +1756,7 @@ droidstubs { last_released: { api_file: ":last-released-public-api", removed_api_file: "api/removed.txt", baseline_file: ":public-api-incompatibilities-with-last-released", }, }, jdiff_enabled: true, Loading @@ -1781,6 +1782,7 @@ droidstubs { last_released: { api_file: ":last-released-system-api", removed_api_file: "api/system-removed.txt", baseline_file: ":system-api-incompatibilities-with-last-released" }, }, jdiff_enabled: true, Loading
packages/SystemUI/src/com/android/systemui/classifier/brightline/ZigZagClassifier.java +2 −2 Original line number Diff line number Diff line Loading @@ -39,8 +39,8 @@ class ZigZagClassifier extends FalsingClassifier { // most swipes will follow somewhat of a 'C' or 'S' shape, we allow more deviance along the // `SECONDARY` axis. private static final float MAX_X_PRIMARY_DEVIANCE = .05f; private static final float MAX_Y_PRIMARY_DEVIANCE = .05f; private static final float MAX_X_SECONDARY_DEVIANCE = .3f; private static final float MAX_Y_PRIMARY_DEVIANCE = .1f; private static final float MAX_X_SECONDARY_DEVIANCE = .6f; private static final float MAX_Y_SECONDARY_DEVIANCE = .3f; private final float mMaxXPrimaryDeviance; Loading
packages/SystemUI/tests/src/com/android/systemui/classifier/brightline/ZigZagClassifierTest.java +2 −2 Original line number Diff line number Diff line Loading @@ -133,8 +133,8 @@ public class ZigZagClassifierTest extends ClassifierTest { // This test looks just like testPass_horizontalZigZagVerticalStraight but with // a shorter y range, making it look more crooked. appendMoveEvent(0, 0); appendMoveEvent(5, 10); appendMoveEvent(-5, 20); appendMoveEvent(6, 10); appendMoveEvent(-6, 20); assertThat(mClassifier.isFalseTouch(), is(true)); } Loading
services/net/java/android/net/dhcp/DhcpServerCallbacks.java +2 −4 Original line number Diff line number Diff line Loading @@ -21,13 +21,11 @@ package android.net.dhcp; * @hide */ public abstract class DhcpServerCallbacks extends IDhcpServerCallbacks.Stub { // TODO: add @Override here once the API is versioned /** * Get the version of the aidl interface implemented by the callbacks. */ @Override public int getInterfaceVersion() { // TODO: return IDhcpServerCallbacks.VERSION; return 0; return IDhcpServerCallbacks.VERSION; } }
telephony/java/android/telephony/data/DataServiceCallback.java +5 −0 Original line number Diff line number Diff line Loading @@ -42,6 +42,8 @@ public class DataServiceCallback { private static final String TAG = DataServiceCallback.class.getSimpleName(); private static final boolean DBG = true; /** * Result of data requests * @hide Loading Loading @@ -81,6 +83,7 @@ public class DataServiceCallback { IDataServiceCallback callback = mCallback.get(); if (callback != null) { try { if (DBG) Rlog.d(TAG, "onSetupDataCallComplete"); callback.onSetupDataCallComplete(result, response); } catch (RemoteException e) { Rlog.e(TAG, "Failed to onSetupDataCallComplete on the remote"); Loading @@ -98,6 +101,7 @@ public class DataServiceCallback { IDataServiceCallback callback = mCallback.get(); if (callback != null) { try { if (DBG) Rlog.d(TAG, "onDeactivateDataCallComplete"); callback.onDeactivateDataCallComplete(result); } catch (RemoteException e) { Rlog.e(TAG, "Failed to onDeactivateDataCallComplete on the remote"); Loading Loading @@ -169,6 +173,7 @@ public class DataServiceCallback { IDataServiceCallback callback = mCallback.get(); if (callback != null) { try { if (DBG) Rlog.d(TAG, "onDataCallListChanged"); callback.onDataCallListChanged(dataCallList); } catch (RemoteException e) { Rlog.e(TAG, "Failed to onDataCallListChanged on the remote"); Loading