Skip to content

Fix split installs#2797

Closed
DaVinci9196 wants to merge 80 commits intomicrog:masterfrom
DaVinci9196:fix_split_installs
Closed

Fix split installs#2797
DaVinci9196 wants to merge 80 commits intomicrog:masterfrom
DaVinci9196:fix_split_installs

Conversation

@DaVinci9196
Copy link
Copy Markdown
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 28 commits September 26, 2024 11:04
* 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
@DaVinci9196 DaVinci9196 deleted the fix_split_installs branch April 16, 2025 11:54
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