Bug 1044721 - Part 5: Add dummy implementation for Android backend. r=btseng
authorSamael Wang <sawang@mozilla.com>
Wed, 29 Apr 2015 10:42:17 +0800
changeset 273391 27e6d6fa0a500c8f542c091bd58ea87dcd3a4c35
parent 273390 8de44b38cf3e6a58d007473636d1cae79a6ec327
child 273392 4bdc176f1c5829b3ab290720b8363111028b9f57
push id863
push userraliiev@mozilla.com
push dateMon, 03 Aug 2015 13:22:43 +0000
treeherdermozilla-release@f6321b14228d [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbtseng
bugs1044721
milestone40.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1044721 - Part 5: Add dummy implementation for Android backend. r=btseng
dom/mobilemessage/android/SmsService.cpp
--- a/dom/mobilemessage/android/SmsService.cpp
+++ b/dom/mobilemessage/android/SmsService.cpp
@@ -64,14 +64,27 @@ SmsService::RemoveSilentNumber(const nsA
   return NS_ERROR_NOT_IMPLEMENTED;
 }
 
 NS_IMETHODIMP
 SmsService::GetSmscAddress(uint32_t aServiceId,
                            nsIMobileMessageCallback *aRequest)
 {
   // TODO: bug 878016 - Android backend: implement getSMSCAddress/setSMSCAddress
-  return NS_OK;
+  NS_NOTYETIMPLEMENTED("Implement me!");
+  return NS_ERROR_NOT_IMPLEMENTED;
+}
+
+NS_IMETHODIMP
+SmsService::SetSmscAddress(uint32_t aServiceId,
+                           const nsAString& aNumber,
+                           uint32_t aTypeOfNumber,
+                           uint32_t aNumberPlanIdentification,
+                           nsIMobileMessageCallback* aRequest)
+{
+  // TODO: bug 878016 - Android backend: implement getSMSCAddress/setSMSCAddress
+  NS_NOTYETIMPLEMENTED("Implement me!");
+  return NS_ERROR_NOT_IMPLEMENTED;
 }
 
 } // namespace mobilemessage
 } // namespace dom
 } // namespace mozilla