This repository was archived by the owner on Jun 1, 2023. It is now read-only.
Get rid of AndroidHiddenAPI.jar#402
Open
relan wants to merge 5 commits intorovo89:masterfrom
relan:no-private-api
Open
Get rid of AndroidHiddenAPI.jar#402relan wants to merge 5 commits intorovo89:masterfrom relan:no-private-api
relan wants to merge 5 commits intorovo89:masterfrom
relan:no-private-api
Conversation
added 5 commits
October 31, 2017 17:47
Exact copy of android.os.FileUtils functions (from AOSP 7.1.2), only Slog is replaced with Log.
Stop using reflection.
Those functions can set different permissions for owner and everyone else. For example FileUtils.setPermissions(path, 7, 1) will mean Unix mode 0711: read, write, execute for owner; only execute for group and others. There is no need to set group permissions specifically. When a new app is being installed, Android creates a new Unix user and group for it. Since groups aren't shared, they don't actually participate in access rights checking: when we access our file, "owner" permissions are in effect; when another app accesses our file, "other" permissions are used.
Not needed anymore.
|
After testing this for a while I'll add this patch directly to fdroid for now, hope this is okay. @rovo89 Please still consider merging this. :-) |
hubot
pushed a commit
to f-droid/fdroiddata
that referenced
this pull request
Apr 4, 2018
Pull @relan's patch from rovo89/XposedInstaller#402 into fdroid for now.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Replace binary component with source code. This time compatible with API 15.
Fixes #386