summaryrefslogtreecommitdiff
path: root/libs/hwui/FrameInfoVisualizer.cpp
diff options
context:
space:
mode:
author Nan Wu <wnan@google.com> 2024-01-30 17:36:07 +0000
committer Hani Kazmi <hanikazmi@google.com> 2024-02-14 22:03:02 +0000
commiteb70ba650a2bb15749d5c7a3f305f144863ea940 (patch)
tree2207d014539bfbd2e8e90fe267ef6d863ee64b9f /libs/hwui/FrameInfoVisualizer.cpp
parentf9259906b38c2eed0d25d9ebb19722227619b913 (diff)
Add application level asm attribute
We are moving the Activity Security Model to an opt-in approach for V. To facilitate this change, we introduce an application level allowCrossUidActivitySwitchFromBelow manifest attribute, mirroring the activity level flag we introduced earlier. Flag Type | Default | | ------- | ------- | Application | Manifest | true | Activity | Runtime | false | ASM will be applied if: 1. The top app in the stack has opt-ed in by setting the application level flag to false 2. The activity has not opt-ed out by setting the activity level flag to true. 3. Both the top app, and the app performing the launch, target at least V. As part of this change we also clean up the feature flags as we were previously using primarily mendel flags. 1. The trunk stable flag is now the primary control for the feature. If the trunk stable flag is off, feature enforcement is fully disaabled. 2. However logging and toasts can still be enabled for the droidfood population via a mendel flag. 3. If the trunk stable flag is enabled, it can be further configured to ignore target sdk levels for teamfood via mendel. Bug: 322913638 Test: atest ActivitySecurityModelTest ActivitySecurityModelEmbeddingTest BackgroundActivityLaunchTest Change-Id: I4668de42dc41a78778166aa053b723a36b49f32b
Diffstat (limited to 'libs/hwui/FrameInfoVisualizer.cpp')
0 files changed, 0 insertions, 0 deletions