Bug 674725 - Part AF - Implement delete() on Android. r=cjones
This commit is contained in:
@@ -128,6 +128,7 @@ public class GeckoAppShell
|
||||
public static native void notifySmsSendFailed(int aError, int aRequestId, long aProcessId);
|
||||
public static native void notifyGetSms(int aId, String aReceiver, String aSender, String aBody, long aTimestamp, int aRequestId, long aProcessId);
|
||||
public static native void notifyGetSmsFailed(int aError, int aRequestId, long aProcessId);
|
||||
public static native void notifySmsDeleted(boolean aDeleted, int aRequestId, long aProcessId);
|
||||
|
||||
// A looper thread, accessed by GeckoAppShell.getHandler
|
||||
private static class LooperThread extends Thread {
|
||||
@@ -1710,6 +1711,10 @@ public class GeckoAppShell
|
||||
GeckoSmsManager.getMessage(aMessageId, aRequestId, aProcessId);
|
||||
}
|
||||
|
||||
public static void deleteMessage(int aMessageId, int aRequestId, long aProcessId) {
|
||||
GeckoSmsManager.deleteMessage(aMessageId, aRequestId, aProcessId);
|
||||
}
|
||||
|
||||
public static boolean isTablet() {
|
||||
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.GINGERBREAD) {
|
||||
Configuration config = GeckoApp.mAppContext.getResources().getConfiguration();
|
||||
|
||||
Reference in New Issue
Block a user