fixes latest commit, for DEV
This commit is contained in:
parent
aac7278f58
commit
8f5e0177b2
6 changed files with 43 additions and 9 deletions
|
|
@ -14,23 +14,20 @@ using ZicMoove.Droid.OAuth;
|
|||
namespace ZicMoove.Droid.Services
|
||||
{
|
||||
[Service(
|
||||
Name = "fr.pschneider.bas.AccountChooserService",
|
||||
Label = "Yavsc accounts service",
|
||||
Name = Constants.ApplicationName + ".AccountChooserService",
|
||||
Label = Constants.ApplicationLabel + " accounts service",
|
||||
Icon = "@drawable/icon",
|
||||
Exported = true,
|
||||
Enabled = true
|
||||
)]
|
||||
[IntentFilter(new String[] { "android.accounts.AccountAuthenticator" })]
|
||||
|
||||
[MetaData("android.accounts.AccountAuthenticator",Resource = "@xml/authenticator")]
|
||||
class AccountChooserService : Service
|
||||
{
|
||||
public static YaOAuth2Authenticator authenticator;
|
||||
public override void OnCreate()
|
||||
{
|
||||
base.OnCreate();
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
public override IBinder OnBind(Intent intent)
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ using ZicMoove.Settings;
|
|||
namespace ZicMoove.Droid
|
||||
{
|
||||
|
||||
[Service(Exported = false)]
|
||||
[Service(Exported = false), IntentFilter(new[] { "com.google.android.c2dm.intent.REGISTRATION" })]
|
||||
class GcmRegistrationIntentService : IntentService
|
||||
{
|
||||
static object locker = new object();
|
||||
|
|
|
|||
|
|
@ -15,8 +15,8 @@ using static Android.Manifest;
|
|||
namespace ZicMoove.Droid
|
||||
{
|
||||
[Service(
|
||||
Name = "fr.pschneider.bas.YavscChooserTargetService",
|
||||
Label = "Yavsc share service",
|
||||
Name = Constants.ApplicationName + ".YavscChooserTargetService",
|
||||
Label = Constants.ApplicationLabel + " share service",
|
||||
Permission = Permission.BindChooserTargetService,
|
||||
Icon = "@drawable/icon",
|
||||
Exported = true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue