Fix namespace for android bindings
This commit is contained in:
Родитель
354af2e376
Коммит
82bacdf530
|
@ -1,9 +1,9 @@
|
|||
using Android.App;
|
||||
using Android.Content.PM;
|
||||
using Android.OS;
|
||||
using Com.Microsoft.Azure.Mobile.Analytics;
|
||||
using Com.Microsoft.Azure.Mobile.Analytics.Channel;
|
||||
using Com.Microsoft.Azure.Mobile.Ingestion.Models;
|
||||
using Com.Microsoft.AppCenter.Analytics;
|
||||
using Com.Microsoft.AppCenter.Analytics.Channel;
|
||||
using Com.Microsoft.AppCenter.Ingestion.Models;
|
||||
using HockeyApp.Android;
|
||||
using HockeyApp.Android.Utils;
|
||||
using Microsoft.AppCenter;
|
||||
|
|
|
@ -1,16 +1,16 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using Android.App;
|
||||
using Com.Microsoft.Azure.Mobile;
|
||||
using Com.Microsoft.AppCenter;
|
||||
using Java.Lang;
|
||||
|
||||
namespace Microsoft.AppCenter
|
||||
{
|
||||
using System.Reflection;
|
||||
using System.Threading.Tasks;
|
||||
using Com.Microsoft.Azure.Mobile.Utils.Async;
|
||||
using Com.Microsoft.AppCenter.Utils.Async;
|
||||
using Java.Util;
|
||||
using AndroidWrapperSdk = Com.Microsoft.Azure.Mobile.Ingestion.Models.WrapperSdk;
|
||||
using AndroidWrapperSdk = Com.Microsoft.AppCenter.Ingestion.Models.WrapperSdk;
|
||||
|
||||
public partial class AppCenter
|
||||
{
|
||||
|
@ -40,7 +40,7 @@ namespace Microsoft.AppCenter
|
|||
return LogLevel.Error;
|
||||
case 7:
|
||||
return LogLevel.Assert;
|
||||
case Com.Microsoft.Azure.Mobile.Utils.MobileCenterLog.None:
|
||||
case Com.Microsoft.AppCenter.Utils.MobileCenterLog.None:
|
||||
return LogLevel.None;
|
||||
default:
|
||||
throw new ArgumentOutOfRangeException(nameof(value), value, null);
|
||||
|
@ -71,7 +71,7 @@ namespace Microsoft.AppCenter
|
|||
androidValue = 7;
|
||||
break;
|
||||
case LogLevel.None:
|
||||
androidValue = Com.Microsoft.Azure.Mobile.Utils.MobileCenterLog.None;
|
||||
androidValue = Com.Microsoft.AppCenter.Utils.MobileCenterLog.None;
|
||||
break;
|
||||
default:
|
||||
throw new ArgumentOutOfRangeException(nameof(value), value, null);
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
namespace Microsoft.AppCenter
|
||||
{
|
||||
using AndroidAppCenterLog = Com.Microsoft.Azure.Mobile.Utils.MobileCenterLog;
|
||||
using AndroidAppCenterLog = Com.Microsoft.AppCenter.Utils.MobileCenterLog;
|
||||
|
||||
public static partial class AppCenterLog
|
||||
{
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
using System;
|
||||
using Com.Microsoft.Azure.Mobile;
|
||||
using Com.Microsoft.AppCenter;
|
||||
using Java.Lang;
|
||||
using Java.Util;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
namespace Microsoft.AppCenter
|
||||
{
|
||||
using AndroidDevice = Com.Microsoft.Azure.Mobile.Ingestion.Models.Device;
|
||||
using AndroidDevice = Com.Microsoft.AppCenter.Ingestion.Models.Device;
|
||||
|
||||
public partial class Device
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using System.Threading.Tasks;
|
||||
using Android.Runtime;
|
||||
using Com.Microsoft.Azure.Mobile.Analytics;
|
||||
using Com.Microsoft.AppCenter.Analytics;
|
||||
|
||||
namespace Microsoft.AppCenter.Analytics
|
||||
{
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
using Com.Microsoft.Azure.Mobile.Crashes;
|
||||
using Com.Microsoft.Azure.Mobile.Crashes.Model;
|
||||
using CCom.Microsoft.AppCenterCrashes;
|
||||
using Com.Microsoft.AppCenter.Crashes.Model;
|
||||
using Java.Lang;
|
||||
using Java.Util;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
using Com.Microsoft.Azure.Mobile.Crashes.Ingestion.Models;
|
||||
using CCom.Microsoft.AppCenterCrashes.Ingestion.Models;
|
||||
|
||||
namespace Microsoft.AppCenter.Crashes
|
||||
{
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
namespace Microsoft.AppCenter.Crashes
|
||||
{
|
||||
using AndroidExceptionDataManager = Com.Microsoft.Azure.Mobile.Crashes.WrapperSdkExceptionManager;
|
||||
using AndroidErrorReport = Com.Microsoft.Azure.Mobile.Crashes.Model.AndroidErrorReport;
|
||||
using AndroidExceptionDataManager = Com.Microsoft.AppCenter.Crashes.WrapperSdkExceptionManager;
|
||||
using AndroidErrorReport = Com.Microsoft.AppCenter.Crashes.Model.AndroidErrorReport;
|
||||
|
||||
public partial class ErrorReport
|
||||
{
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
using System.Collections.Generic;
|
||||
using Com.Microsoft.Azure.Mobile.Crashes.Model;
|
||||
using Com.Microsoft.AppCenter.Crashes.Model;
|
||||
|
||||
namespace Microsoft.AppCenter.Crashes
|
||||
{
|
||||
|
|
|
@ -4,14 +4,14 @@ using System.Diagnostics;
|
|||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Android.Runtime;
|
||||
using Com.Microsoft.Azure.Mobile.Crashes;
|
||||
using Com.Microsoft.Azure.Mobile.Crashes.Model;
|
||||
using Com.Microsoft.AppCenter.Crashes;
|
||||
using Com.Microsoft.AppCenter.Crashes.Model;
|
||||
using Java.Lang;
|
||||
|
||||
namespace Microsoft.AppCenter.Crashes
|
||||
{
|
||||
using ModelException = Com.Microsoft.Azure.Mobile.Crashes.Ingestion.Models.Exception;
|
||||
using ModelStackFrame = Com.Microsoft.Azure.Mobile.Crashes.Ingestion.Models.StackFrame;
|
||||
using ModelException = Com.Microsoft.AppCenter.Crashes.Ingestion.Models.Exception;
|
||||
using ModelStackFrame = Com.Microsoft.AppCenter.Crashes.Ingestion.Models.StackFrame;
|
||||
using Exception = System.Exception;
|
||||
|
||||
class PlatformCrashes : PlatformCrashesBase
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
namespace Microsoft.AppCenter.Distribute
|
||||
{
|
||||
[Preserve]
|
||||
class DeepLinkActivity : Com.Microsoft.Azure.Mobile.Distribute.DeepLinkActivity
|
||||
class DeepLinkActivity : Com.Microsoft.AppCenter.Distribute.DeepLinkActivity
|
||||
{
|
||||
/* We don't use that subclass, it's only for preserving the parent Java class when linker is used. */
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
namespace Microsoft.AppCenter.Distribute
|
||||
{
|
||||
[Preserve]
|
||||
class DownloadManagerReceiver : Com.Microsoft.Azure.Mobile.Distribute.DownloadManagerReceiver
|
||||
class DownloadManagerReceiver : Com.Microsoft.AppCenter.Distribute.DownloadManagerReceiver
|
||||
{
|
||||
/* We don't use that subclass, it's only for preserving the parent Java class when linker is used. */
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
using System.Threading.Tasks;
|
||||
using Android.App;
|
||||
using Android.Runtime;
|
||||
using Com.Microsoft.Azure.Mobile.Distribute;
|
||||
using Com.Microsoft.AppCenter.Distribute;
|
||||
|
||||
namespace Microsoft.AppCenter.Distribute
|
||||
{
|
||||
|
|
|
@ -3,7 +3,7 @@ using System.Threading.Tasks;
|
|||
using Android.App;
|
||||
using Android.Content;
|
||||
using Android.Runtime;
|
||||
using Com.Microsoft.Azure.Mobile.Push;
|
||||
using Com.Microsoft.AppCenter.Push;
|
||||
|
||||
namespace Microsoft.AppCenter.Push
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
using System;
|
||||
using Android.App;
|
||||
using Com.Microsoft.Azure.Mobile.Push;
|
||||
using Com.Microsoft.AppCenter.Push;
|
||||
|
||||
namespace Microsoft.AppCenter.Push.Android
|
||||
{
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
using System;
|
||||
using System.Threading.Tasks;
|
||||
using Android.Runtime;
|
||||
using Com.Microsoft.Azure.Mobile.Rum;
|
||||
using Com.Microsoft.AppCenter.Rum;
|
||||
|
||||
namespace Microsoft.AppCenter.Rum
|
||||
{
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
using Android.App;
|
||||
using Android.Content.PM;
|
||||
using Android.OS;
|
||||
using Com.Microsoft.Azure.Mobile.Analytics;
|
||||
using Com.Microsoft.Azure.Mobile.Analytics.Channel;
|
||||
using Com.Microsoft.Azure.Mobile.Analytics.Ingestion.Models;
|
||||
using Com.Microsoft.Azure.Mobile.Ingestion.Models;
|
||||
using Com.Microsoft.AppCenter.Analytics;
|
||||
using Com.Microsoft.AppCenter.Analytics.Channel;
|
||||
using Com.Microsoft.AppCenter.Analytics.Ingestion.Models;
|
||||
using Com.Microsoft.AppCenter.Ingestion.Models;
|
||||
using Microsoft.Azure.Mobile;
|
||||
|
||||
namespace Contoso.Forms.Test.Droid
|
||||
|
|
Загрузка…
Ссылка в новой задаче