This repository has been archived by the owner on Oct 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 76
Add support for fetching permission state from calling app launching the activity for system browser #446
Open
quh4gko8
wants to merge
285
commits into
GrapheneOS-Archive:14
Choose a base branch
from
repository-staging:enforce-INTERNET-api-Vanadium
base: 14
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Add support for fetching permission state from calling app launching the activity for system browser #446
quh4gko8
wants to merge
285
commits into
GrapheneOS-Archive:14
from
repository-staging:enforce-INTERNET-api-Vanadium
Conversation
This file contains 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
quh4gko8
changed the title
Add support for fetching permission state from calling app launching the activity for system browser, as well as apps that are allowed to determine getLaunchedFrom{Uid,Package}
Add support for fetching permission state from calling app launching the activity for system browser, as well as apps that are allowed to determine calling app's identity via Activity#getLaunchedFrom{Uid,Package}
Nov 17, 2023
quh4gko8
requested review from
thestinger and
muhomorr
and removed request for
a team
November 17, 2023 09:48
muhomorr
suggested changes
Nov 17, 2023
services/core/java/com/android/server/wm/WindowManagerHooks.java
Outdated
Show resolved
Hide resolved
services/core/java/com/android/server/wm/ActivityClientController.java
Outdated
Show resolved
Hide resolved
services/core/java/com/android/server/wm/WindowManagerHooks.java
Outdated
Show resolved
Hide resolved
muhomorr
suggested changes
Nov 17, 2023
muhomorr
reviewed
Nov 17, 2023
quh4gko8
force-pushed
the
enforce-INTERNET-api-Vanadium
branch
2 times, most recently
from
November 17, 2023 12:02
427ce30
to
ddaaa10
Compare
quh4gko8
changed the title
Add support for fetching permission state from calling app launching the activity for system browser, as well as apps that are allowed to determine calling app's identity via Activity#getLaunchedFrom{Uid,Package}
Add support for fetching permission state from calling app launching the activity for system browser
Nov 17, 2023
muhomorr
suggested changes
Nov 19, 2023
quh4gko8
force-pushed
the
enforce-INTERNET-api-Vanadium
branch
from
November 24, 2023 09:03
ddaaa10
to
f707883
Compare
thestinger
force-pushed
the
14
branch
2 times, most recently
from
December 6, 2023 21:26
98c4928
to
8ec418d
Compare
thestinger
force-pushed
the
14
branch
10 times, most recently
from
February 2, 2024 10:54
770ff63
to
bdf9276
Compare
This reverts commit 95048fb.
com.android.text.flags.use_optimized_boottime_font_loading flag is now enabled, which delays font initialization.
This reverts commit 7e259ee. Reverted change regressed the Internet quick settings tile in secondary users.
This reverts commit 868276c.
This reverts commit 5f07744. loadAssociationsFromDisk() change makes it call methods on mAssociationRevokeProcessor object in some cases. mAssociationRevokeProcessor is null at boot-time. This leads to NullPointerException chain-crashes during boot-time state restoration, which renders the device unbootable.
There's another implementation for PackageExtIFace, namely PackageExtDefault and class casting exception is encountered in cases where this was the non-null instance acquired.
This significantly simplifies the fw/base part of auto-reboot implementation and fixes the following bug: auto-reboot timer was not started when the device was locked for the first time after setting up a lock screen (e.g. on first boot). That bug was due to an assumption that "keyguard dismissed" event is always produced at least once before device is locked in an AFU state, which is not the case when the device doesn't have a lockscreen when it transitions from BFU to AFU. This commit fixes that bug, since onKeyguardShowingStateChanged() callback is invoked at boot even when the device doesn't have a lockscreen.
This is a regression that has appeared due to changed ordering between USB connection notification and "keyguard shown" event.
This is an overly verbose logging statement, that event is logged elsewhere already.
This allows for apps that can already access the calling app identity that launchers their activity, along with other select system apps such as browser that are granted with such access, to check whenever a permission is granted, similar to the permission entry in activity section of AndroidManifest.xml.
quh4gko8
force-pushed
the
enforce-INTERNET-api-Vanadium
branch
from
June 21, 2024 23:48
9351c45
to
de3e77a
Compare
thestinger
force-pushed
the
14
branch
6 times, most recently
from
July 7, 2024 02:48
c151c14
to
26e77ce
Compare
thestinger
force-pushed
the
14
branch
3 times, most recently
from
August 13, 2024 04:17
dd7c27b
to
edb0418
Compare
thestinger
force-pushed
the
14
branch
3 times, most recently
from
September 4, 2024 00:01
edb3b08
to
6aa5c5d
Compare
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.
No description provided.