2
0
mirror of https://gitlab.com/Nanolx/NanoDroid synced 2024-10-31 09:20:23 +00:00

CommonInstaller: add sync adapters for P

This commit is contained in:
Christopher Roy Bratusek 2018-08-31 20:03:52 +02:00
parent 09beeb2174
commit 5e833b6e8e
6 changed files with 11 additions and 3 deletions

View File

@ -29,6 +29,7 @@ CommonInstaller, Uninstaller, Patcher
* CommonInstaller
* code simplifications
* extend GApps debloat blacklist to filter out more stuff
* add Google Sync Adapters for Android P
* don't set progressbar when flashing from Magisk Manager
* when migrating from Play Store to Fake Store or vice versa during new installs get rid of that store's app data, too
* minor string change

View File

@ -410,6 +410,7 @@ detect_arch () {
23 ) GSYNC_VER=M ;;
24 | 25 ) GSYNC_VER=N ;;
26 | 27 ) GSYNC_VER=O ;;
28 ) GSYNC_VER=P ;;
* ) GSYNC_UNSUPPORTED=1 ;;
esac

View File

@ -93,7 +93,6 @@ NanoDroid officially supports the following Android versions:
* 8.0 / SDK 26 (Oreo)
* 8.1 / SDK 27 (Oreo)
* 9.0 / SDK 28 (Pie)
* Google Sync Adapters are not (yet) available
* Patchers works
* if your ROM's services.jar already contains classes.dex
* and you use baksmali/smali on PC to convert from ODEX 039 format to an older

View File

@ -98,6 +98,12 @@ files_database=( Full/gsync/K/app/GoogleCalendarSync/GoogleCalendarSync.apk
Full/gsync/N/app/GoogleCalendarSync/GoogleCalendarSync.apk
Full/gsync/N/app/GoogleContactsSync/GoogleContactsSync.apk
Full/gsync/N/priv-app/GoogleBackupTransport/GoogleBackupTransport.apk
Full/gsync/O/app/GoogleCalendarSync/GoogleCalendarSync.apk
Full/gsync/O/app/GoogleContactsSync/GoogleContactsSync.apk
Full/gsync/O/priv-app/GoogleBackupTransport/GoogleBackupTransport.apk
Full/gsync/P/app/GoogleCalendarSync/GoogleCalendarSync.apk
Full/gsync/P/app/GoogleContactsSync/GoogleContactsSync.apk
Full/gsync/P/priv-app/GoogleBackupTransport/GoogleBackupTransport.apk
Full/swipe/arm/libjni_keyboarddecoder.so
Full/swipe/arm/libjni_latinimegoogle.so
Full/swipe/arm64/libjni_keyboarddecoder.so

View File

@ -178,6 +178,7 @@ grab_apk_from_ogapps () {
23 ) API_LETTER=M ;;
24 ) API_LETTER=N ;;
26 ) API_LETTER=O ;;
28 ) API_LETTER=P ;;
esac
APK_DEST="${CWD}/Full/gsync/${API_LETTER}/${2}/${3}"

View File

@ -36,8 +36,8 @@ update_microg () {
}
update_gsync () {
# KK LL M N O
for API in 19 21 23 24 26; do
# KK LL M N O P
for API in 19 21 23 24 26 28; do
grab_apk_from_ogapps ${og_CALSYNC[@]} ${API}
grab_apk_from_ogapps ${og_CONSYNC[@]} ${API}
grab_apk_from_ogapps ${og_BTRANSP[@]} ${API}