Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix split installs #2797

Closed
wants to merge 80 commits into from
Closed

Conversation

DaVinci9196
Copy link
Contributor

No description provided.

DaVinci9196 and others added 30 commits December 19, 2023 09:42
# Conflicts:
#	play-services-base/core/src/main/java/org/microg/gms/common/PackageUtils.java
Verify that work accounts are only added by device owners or profile
owners.

For instance, Microsoft Intune will create a work profile (moving itself
to the work profile in the process) before using the work account servce
to create a work account, so at that point it will already be profile
owner. Apps that are not the profile owner will subsequently not be able
to disable the work account authenticator or remove the work account.
The personal account would not have an owner and thus no application
could enable the work account provider there.
fynngodau and others added 29 commits September 25, 2024 16:04
Allows downloading large applications
* reduces temporary storage usage
* speeds up installation by a little bit
Storage leaks can still happen if session commits have errors (for
instance, because the device was shutdown during installation), as those
sessions can still be reopened and retried according to docs. However,
we may expect all dangling sessions to be cleared after a certain
timespan in the magnitude of a day.
Auth files are now moved to `play-services-base-core` so they can be
accessed by other the workaccount module.
Purchasing before downloading seems to be necessary in at least some
cases for work profiles as well.
Support unexpected scenarios spotted in the wild on a best-effort basis:

* Enterprise policies with apps missing policy fields
* App not downloading due to not being purchased
…prevent multiple notifications from appearing when the download content is the same
# Conflicts:
#	build.gradle
#	play-services-base/core/src/main/kotlin/org/microg/gms/settings/SettingsProvider.kt
#	play-services-core/src/huawei/AndroidManifest.xml
#	play-services-core/src/main/res/values-ar/strings.xml
#	play-services-core/src/main/res/values-zh-rCN/strings.xml
#	vending-app/src/main/AndroidManifest.xml
#	vending-app/src/main/java/com/android/vending/licensing/LicenseChecker.kt
#	vending-app/src/main/java/org/microg/vending/billing/core/GooglePlayApi.kt
#	vending-app/src/main/java/org/microg/vending/billing/core/HttpClient.kt
#	vending-app/src/main/kotlin/com/android/vending/VendingRequestHeaders.kt
#	vending-app/src/main/kotlin/com/google/android/finsky/DeviceSyncInfo.kt
#	vending-app/src/main/kotlin/com/google/android/finsky/accounts/impl/AccountsChangedReceiver.kt
#	vending-app/src/main/res/values/strings.xml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants