Show class name instead of service name in error message
Context#getSystemService to make developers easier to debug.
Bug: 150632074
Test: manual - check error log
Change-Id: Icb00c972c3a4fd4c71383dd5da29d4864bb06379
This is mainly refactoring, without any new logic.
Bug: 148005911
Test: Refactoring, presubmits are sufficient
Change-Id: I3b9b35f4a952edc04357a2c1b265b1d0f346d515
Also adds listeners to update the values on settings change
Bug: 146004827
Test: atest DisplayPolicyInsetsTests DisplayPolicyLayoutTests AlwaysOnDisplayPolicyTest
Change-Id: Ia3344f3bef8f3439fc2c60d9f4e83dc0163f83dd
Add operation ids which are used only for logging. They will
allow to reduce bandwidth required for logging. Mapping between
operation string ids (OPSTR_, public API) and Logging ids
is enforced by statsd CTS test.
Bug:143519689
Test: android.cts.statsd.atom.UidAtomTests#testAppOps
Test: android.cts.statsd.atom.UidAtomTests#testForegroundServiceAccessAppOp
Exempt-From-Owner-Approval: discussed with moltmann@ in chat.
Change-Id: I2f85d6889e946219557d26b28334d4bacde06b12
Merged-In: I2f85d6889e946219557d26b28334d4bacde06b12
Delay uniform sampling of packages.
Introduce boot time sampling of packages - simplified sampling designed
to save time during start up sequence.
Bug: 150239020
Test: manual verification
Change-Id: I5911b663cfefe324a443b0ba3f97c46e0984a0f3
noteOp always resolved MODE_FOREGROUND into IGNORED/ALLOWED
checkOp resolves it too, but checkOpRaw does not resolved it and might
return it.
Preflight checks should be independant of the uid state, hence treat
MODE_FOREGROUND similar to ALLOWED as MODE_FOREGROUND might allow it.
Bug: 150508177
Fixes: 148197098
Test: TH
Change-Id: I7b4f53c7ce638f92747d452f2d2f72d098e94b78
Enables gwp-asan in system_server with a small probability, same as any
native process or system app.
Bug: 149991821
Test: kill system_server in a loop - find "GWP" in /proc/$PID/maps
eventually
Change-Id: I3900f5d277d28987883a918d62fe9390c780ac30
(cherry picked from commit 2bb1dba5c7)
* changes:
Decrease avatar and sender name sizes in MessagingStyle
Fixed various conversation layout appearences
Implemented FacePile if no group icon is present
Fixed the behavior of headers in conversation groups
Ensured correct coloring of badge in dark mode
Fixed an issue where the bubble badge was visible independent of the icon
Improved transitions for expanding messaging notifications
Adjusted single line representation to include a colon
Made the expand button positioning conditional on expanded state
Ensured that the sender of the first message is hidden
Baseline for the new ConversationLayout
Use this cmd to enable the feature:
adb shell device_config put systemui append_direct_share_enabled true
Use this cmd to adjust timeout threshold (in millisecond):
adb shell device_config put systemui share_sheet_direct_share_timeout 15000
Bug: 151112858
Test: manually tested both prod flow and prototype flow on phones.
Change-Id: I328ecefc9dffad40ec412c033da54e0443f8889a
Modify source stamp verifier to produce non-present stamps when
receiving an error while reading the stamp file in an APK.
Bug: 148005911
Test: atest FrameworksCoreTests:SourceStampVerifierTest
Change-Id: I7682f51761e60b4236424cf2cdb6119f53259ab0