Fix device registration pref and debloat
This commit is contained in:
parent
067a602137
commit
e6329fddc5
34 changed files with 10 additions and 709 deletions
14
README.md
14
README.md
|
|
@ -12,9 +12,15 @@ This fork tweaks MicroG to be usable by applications that require Google authent
|
|||
- No longer a system app
|
||||
- Package name changed from `com.google.android.gms` to `com.mgoogle.android.gms` to support installation alongside the official MicroG
|
||||
- Removed unnecessary features:
|
||||
- Maps & Location
|
||||
- Wear-Api
|
||||
- Safetynet
|
||||
- Games
|
||||
- Ads
|
||||
- Analytics
|
||||
- Car
|
||||
- Games
|
||||
- Location
|
||||
- Maps & Location
|
||||
- SafetyNet
|
||||
- Self-Check
|
||||
- TapandPay
|
||||
- Wallet
|
||||
- Wear-Api
|
||||
- Removed all permissions, as none are required for Google authentication
|
||||
|
|
|
|||
|
|
@ -1,4 +0,0 @@
|
|||
package com.google.android.gms.ads;
|
||||
|
||||
interface AdManagerCreator {
|
||||
}
|
||||
|
|
@ -1,8 +0,0 @@
|
|||
package com.google.android.gms.ads.identifier.internal;
|
||||
|
||||
interface IAdvertisingIdService {
|
||||
String getAdvertisingId() = 0;
|
||||
boolean isAdTrackingLimited(boolean defaultHint) = 1;
|
||||
String generateAdvertisingId(String packageName) = 2;
|
||||
void setAdTrackingLimited(String packageName, boolean limited) = 3;
|
||||
}
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
package com.google.android.gms.location.places.internal;
|
||||
|
||||
interface IGooglePlaceDetectionService {
|
||||
|
||||
}
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
package com.google.android.gms.location.places.internal;
|
||||
|
||||
interface IGooglePlacesService {
|
||||
|
||||
}
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
package com.google.android.gms.reminders;
|
||||
|
||||
parcelable AccountState;
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
package com.google.android.gms.reminders;
|
||||
|
||||
parcelable CreateReminderOptionsInternal;
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
package com.google.android.gms.reminders;
|
||||
|
||||
parcelable LoadRemindersOptions;
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
package com.google.android.gms.reminders;
|
||||
|
||||
parcelable ReindexDueDatesOptions;
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
package com.google.android.gms.reminders;
|
||||
|
||||
parcelable UpdateRecurrenceOptions;
|
||||
|
|
@ -1,17 +0,0 @@
|
|||
package com.google.android.gms.reminders.internal;
|
||||
|
||||
import com.google.android.gms.common.api.Status;
|
||||
import com.google.android.gms.common.data.DataHolder;
|
||||
|
||||
import com.google.android.gms.reminders.AccountState;
|
||||
|
||||
interface IRemindersCallbacks {
|
||||
void onDataHolder(in DataHolder data, in Status status) = 0;
|
||||
void onStatus(in Status status) = 1;
|
||||
void onNoStatus() = 2;
|
||||
void onDataHolderNoStatus(in DataHolder data, in Status status) = 3;
|
||||
void onBool(boolean b, in Status status) = 4;
|
||||
void onString(in String s, in Status status) = 5;
|
||||
void onAccountState(in AccountState accountState, in Status status) = 6;
|
||||
void onAsyncDataHolder(in DataHolder data) = 7;
|
||||
}
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
package com.google.android.gms.reminders.internal;
|
||||
|
||||
interface IRemindersListener {
|
||||
|
||||
}
|
||||
|
|
@ -1,37 +0,0 @@
|
|||
package com.google.android.gms.reminders.internal;
|
||||
|
||||
import com.google.android.gms.reminders.internal.IRemindersCallbacks;
|
||||
|
||||
import com.google.android.gms.reminders.AccountState;
|
||||
import com.google.android.gms.reminders.CreateReminderOptionsInternal;
|
||||
import com.google.android.gms.reminders.LoadRemindersOptions;
|
||||
import com.google.android.gms.reminders.ReindexDueDatesOptions;
|
||||
import com.google.android.gms.reminders.UpdateRecurrenceOptions;
|
||||
import com.google.android.gms.reminders.model.CustomizedSnoozePresetEntity;
|
||||
import com.google.android.gms.reminders.model.TaskEntity;
|
||||
import com.google.android.gms.reminders.model.TaskIdEntity;
|
||||
|
||||
interface IRemindersService {
|
||||
void loadReminders(IRemindersCallbacks callbacks, in LoadRemindersOptions options) = 0;
|
||||
void addListener(IRemindersCallbacks callbacks) = 1;
|
||||
void createReminder(IRemindersCallbacks callbacks, in TaskEntity task) = 2;
|
||||
void updateReminder(IRemindersCallbacks callbacks, in TaskEntity task) = 3;
|
||||
void deleteReminder(IRemindersCallbacks callbacks, in TaskIdEntity taskId) = 4;
|
||||
void bumpReminder(IRemindersCallbacks callbacks, in TaskIdEntity taskId) = 5;
|
||||
void hasUpcomingReminders(IRemindersCallbacks callbacks) = 6;
|
||||
void createRecurrence(IRemindersCallbacks callbacks, in TaskEntity task) = 7;
|
||||
void updateRecurrence(IRemindersCallbacks callbacks, String s1, in TaskEntity task, in UpdateRecurrenceOptions options) = 8;
|
||||
void deleteRecurrence(IRemindersCallbacks callbacks, String s1, in UpdateRecurrenceOptions options) = 9;
|
||||
void changeRecurrence(IRemindersCallbacks callbacks, String s1, in TaskEntity task, in UpdateRecurrenceOptions options) = 10;
|
||||
void makeTaskRecurring(IRemindersCallbacks callbacks, in TaskEntity task) = 11;
|
||||
void makeRecurrenceSingleInstance(IRemindersCallbacks callbacks, String s1, in TaskEntity task, in UpdateRecurrenceOptions options) = 12;
|
||||
void clearListeners() = 13;
|
||||
void batchUpdateReminders(IRemindersCallbacks callbacks, in List<TaskEntity> tasks) = 14;
|
||||
void createReminderWithOptions(IRemindersCallbacks callbacks, in TaskEntity task, in CreateReminderOptionsInternal options) = 15;
|
||||
void getCustomizedSnoozePreset(IRemindersCallbacks callbacks) = 16;
|
||||
void setCustomizedSnoozePreset(IRemindersCallbacks callbacks, in CustomizedSnoozePresetEntity preset) = 17;
|
||||
void setAccountState(IRemindersCallbacks callbacks, in AccountState accountState) = 18;
|
||||
void getAccountState(IRemindersCallbacks callbacks) = 19;
|
||||
void checkReindexDueDatesNeeded(IRemindersCallbacks callbacks, in ReindexDueDatesOptions options) = 20;
|
||||
void reindexDueDates(IRemindersCallbacks callbacks, in ReindexDueDatesOptions options) = 21;
|
||||
}
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
package com.google.android.gms.reminders.model;
|
||||
|
||||
parcelable CustomizedSnoozePresetEntity;
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
package com.google.android.gms.reminders.model;
|
||||
|
||||
parcelable TaskEntity;
|
||||
|
|
@ -1,3 +0,0 @@
|
|||
package com.google.android.gms.reminders.model;
|
||||
|
||||
parcelable TaskIdEntity;
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
package com.google.android.gms.tapandpay.internal;
|
||||
|
||||
interface ITapAndPayService {
|
||||
|
||||
}
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
package com.google.android.gms.wallet.internal;
|
||||
|
||||
interface IOwService {
|
||||
|
||||
}
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
/*
|
||||
* Copyright (C) 2013-2017 microG Project Team
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.google.android.gms.reminders;
|
||||
|
||||
import org.microg.safeparcel.AutoSafeParcelable;
|
||||
|
||||
public class AccountState extends AutoSafeParcelable {
|
||||
public static Creator<AccountState> CREATOR = new AutoCreator<AccountState>(AccountState.class);
|
||||
}
|
||||
|
|
@ -1,23 +0,0 @@
|
|||
/*
|
||||
* Copyright (C) 2013-2017 microG Project Team
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
package com.google.android.gms.reminders;
|
||||
|
||||
import org.microg.safeparcel.AutoSafeParcelable;
|
||||
|
||||
public class CreateReminderOptionsInternal extends AutoSafeParcelable {
|
||||
public static Creator<CreateReminderOptionsInternal> CREATOR = new AutoCreator<CreateReminderOptionsInternal>(CreateReminderOptionsInternal.class);
|
||||
}
|
||||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue