From a3730df1795ee8e5d7ad2c244d6bab08eb85f076 Mon Sep 17 00:00:00 2001 From: Matt Garnes Date: Tue, 5 Jan 2016 16:30:13 -0800 Subject: [PATCH] Reorder new setZenModeWithDuration API in aidl Previously, a new method was added to IPartnerInterface.aidl in the middle of other methods. This needs to be added only at the end to ensure backwards compatibility with older versions. Reorder the methods to place setZenModeWithDuration at the end. Change-Id: Ib9f9c7acceb928db5acc76e7351147074b230141 --- src/java/cyanogenmod/app/IPartnerInterface.aidl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/cyanogenmod/app/IPartnerInterface.aidl b/src/java/cyanogenmod/app/IPartnerInterface.aidl index 69ee268..1b02dd1 100644 --- a/src/java/cyanogenmod/app/IPartnerInterface.aidl +++ b/src/java/cyanogenmod/app/IPartnerInterface.aidl @@ -23,8 +23,8 @@ interface IPartnerInterface void setAirplaneModeEnabled(boolean enabled); void setMobileDataEnabled(boolean enabled); boolean setZenMode(int mode); - boolean setZenModeWithDuration(int mode, long durationMillis); void shutdown(); void reboot(); String getCurrentHotwordPackageName(); + boolean setZenModeWithDuration(int mode, long durationMillis); }