Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
|
|
People installing magisk modules are people capable of updating Magisk.
No need to leave around old compat cruft.
|
|
restorecon probes file_contexts to get the context
to be applied to the file. /sbin/.magisk does not
exist in file_contexts for obvious reasons so restorecon
always fails. Use chcon directly with the system_file
context to allow contexts to be applied.
Suggested-by: Chris Renshaw <osm0sis@outlook.com>
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
|
|
|
|
Reported-By: Christophe-Marie Duquesne <chmd@chmd.fr>
|
|
|
|
Signed-off-by: Harsh Shandilya <msfjarvis@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
errors
|
|
|
|
|
|
|
|
|
|
|
|
Reported-by: John Greenwood <ijohnyyh@gmail.com>
|
|
In Turkish, I becomes ı instead of i, which is a problem when matching
things like "AllowedIPs".
|
|
|
|
This was requested by developers who never wound up using it. It's not
really worth keeping around, since the play console gives us most of
what we need anyway.
|
|
- The configuration and crypto model is now entirely independent
of Android classes other than Nullable and TextUtils.
- Model classes are immutable and use builders that enforce the
appropriate optional/required attributes.
- The Android config proxies (for Parcelable and databinding) are
moved to the Android side of the codebase, and are designed to be
safe for two-way databinding. This allows proper observability in
TunnelDetailFragment.
- Various robustness fixes and documentation updates to helper classes.
|
|
Blame Jason for writing Java in vim.
|
|
|
|
This works around DNS64 XLAT changeovers.
|
|
|
|
|
|
Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
|
|
Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
|
|
Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
|
|
We decided in 402472237e8f that it's a bad idea for our use-case
Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
|
|
Useful for validation errors and localisation later on
Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
|
|
This didn't actually help with much and caused problems.
|
|
When a tunnel is running, saving the tunnel's config with an IPv6
address endpoint like [::1]:42 would result in the wrong format ::1:42.
This patch fixes it.
For endpoints with an IPv6 address(e.g. [::1]:42). Since the default
endpoint InetSocketAddress is created unresolved, getEndpointString()
returns "[::1]:42" (InetSocketAddress.getHostString() returns the
literal hostname). After the endpoint is resolved, getEndpointString()
returns "::1:42" (InetSocketAddress.getHostString() returns the IPv6
address without the square brackets). This inconsistent return values
caused the above mentioned bug.
With this patch, function getEndpointString would return the right
format string whether the endpoint is resolved or not.
Signed-off-by: Zhao Gang <gang.zhao.42@gmail.com>
|
|
This isn't possible for colorForeground, colorBackground,
textAppearanceMedium, but at least it's useful for some things here.
|
|
Works around frameworks bug.
|
|
|
|
|
|
Why wasn't this done like this in the first place?
Signed-off-by: Harsh Shandilya <harsh@prjkt.io>
|
|
|
|
|
|
I think I'd probably like to revert this, since presumably there's a
good reason in the first place why the support lib disables animations
when accessibility services are turned on?
|
|
|
|
|
|
There's no source available for API 28, which is a pain. But this commit
should be reverted whenever source is released.
|
|
|