Bug 774621 - Part 4/5: Android backend, r=sicking
This commit is contained in:
@@ -90,7 +90,6 @@ public class GeckoAppShell
|
||||
public static native void notifyBatteryChange(double aLevel, boolean aCharging, double aRemainingTime);
|
||||
|
||||
public static native void notifySmsReceived(String aSender, String aBody, int aMessageClass, long aTimestamp);
|
||||
public static native int saveMessageInSentbox(String aReceiver, String aBody, long aTimestamp);
|
||||
public static native void notifySmsSent(int aId, String aReceiver, String aBody, long aTimestamp, int aRequestId);
|
||||
public static native void notifySmsDelivery(int aId, int aDeliveryStatus, String aReceiver, String aBody, long aTimestamp);
|
||||
public static native void notifySmsSendFailed(int aError, int aRequestId);
|
||||
@@ -1708,14 +1707,6 @@ public class GeckoAppShell
|
||||
SmsManager.getInstance().send(aNumber, aMessage, aRequestId);
|
||||
}
|
||||
|
||||
public static int saveSentMessage(String aRecipient, String aBody, long aDate) {
|
||||
if (SmsManager.getInstance() == null) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
return SmsManager.getInstance().saveSentMessage(aRecipient, aBody, aDate);
|
||||
}
|
||||
|
||||
public static void getMessage(int aMessageId, int aRequestId) {
|
||||
if (SmsManager.getInstance() == null) {
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user