Allow user restrictions to provide an excluded map of packages and tags
rather than just packages.
Bug: 187421886
Test: manual
Change-Id: I8f90ba6cdd288068664b352fdb540d0f11fe3dfc
The caller was removed in
commit 3de07491d3
This CL also does some cleanup:
- Extract OtfFontFileParser to a separate file.
- Remove boilerplate in UpdatableFontDirTest.
Bug: 187879195
Test: m -j
Test: atest FrameworksServicesTests:UpdatableFontDirTest
Change-Id: Id3e369222c35f550c6d53e8649ab07647701c070
In order for the predicate to be read from the beginning, we need to
ensure the value has some initial state after device reboot
and after logging service starts up.
Bug: 175040249
Test: Manual
Change-Id: Id42f655f3fb42ef3e1ea0cf7bc7b2e536417de7d
Merged-In: Id42f655f3fb42ef3e1ea0cf7bc7b2e536417de7d
Android S introduces a new Quickstep animation for launching an activity
from an app widget. This is a similar but distinct CUJ to
LAUNCHER_APP_LAUNCH_FROM_ICON.
Bug: 169042867
Test: presubmit
Change-Id: I3338d31eb2ed74aef0b0697c6070ab7b422514ba
This requires removal of all hidden APIs from the framework code.
Preconditions are jarjar'd into the jar.
Other APIs are replaced with system-visible equivalents.
Bug: 181787682
Bug: 146218515
Test: Presubmit
Change-Id: I6649bed3260ac08a0f66abd7a8ec545c401761fe
* changes:
Add the new migration tooltip for accessibility floating menu.(2/n)
Add the new migration tooltip for accessibility floating menu.(1/n)
Add key ACCESSIBILITY_FLOATING_MENU_MIGRATION_TOOLTIP_PROMPT.
* changes:
Simplify SmartReplyView padding layout logic
Smart action buttons now have 8dp corner radius
Fix measure logic so that priority children can have more than 1/N space.
Update the style of emphasized notification actions.
In both of these cases (removed isolated UID and nonexistent user) the
affected UID has already previously been enqueued in
mPendingRemovedUids and so all underlying cpu time data will be
cleared together after 5 minutes. Clearing the different sets of times
separately is buggy due to creating inconsistency among the
KernelCpuUid*TimeReaders. Removing data in these functions also
defeats the 5-minute delay that was intended to give statsd a chance
to read the data for removed UIDs.
Also update BatteryStatsCpuTimesTest to reflect the new behavior
Bug: 182272121
Test: atest com.android.internal.os.BatteryStatsTests shows no new
failures
Change-Id: I5719aecd5603cd9cecfbf75cede5eceeda8d0f5b
Signed-off-by: Connor O'Brien <connoro@google.com>
Logging the second, third etc. negative delta detected for a single
UID increases logging without a clear debugging benefit vs. just
noting the UIDs with at least one negative delta.
Bug: 182272121
Change-Id: Ia7c6994203493467d07eeb8092da1679864dc89e
Signed-off-by: Connor O'Brien <connoro@google.com>
histogram. Add the ability to generate histograms with varying bucket
counts and sizes.
This is a direct cherrypick with no changes
Bug: 179999191
Test: unit tests
Change-Id: I58d3cbdd9ae43c8da121ec41d994b077e29bb371
Merged-In: I58d3cbdd9ae43c8da121ec41d994b077e29bb371
(cherry picked from commit dcd3dc69a1)
If the supported OTHER EnergyConsumers change after a reboot, the
MeasuredEnergyStats from the reboot can no longer be considered valid.
Bug: 178504428
Test: atest FrameworksCoreTests:com.android.internal.power.MeasuredEnergyStatsTest
Change-Id: I2561c459c0b2a881661bd2913f9413a2cbd96abb
The priority previously just put the view at the front of the list, which ensured that super long user-provided actions couldn't cause the priority action at the end to be truncated. However, this still meant that a priority action at the start whose text would have it be longer than 1/3 of the action space would be capped at 1/3 instead of taking on some of the user-defined child's space.
Bug: 187533622
Test: Post Notify2 app's Call style w/ Screen action; notice that "Decline" is not truncated.
Change-Id: Ia18b2dc366ba7cac13ed845acac59d89206e7d5e
* This removed many of the differences between CallStyle and emphasized actions.
* These actions are now pill shaped with a solid bg color, no stroke, less height, less spacing between, and wrapping content instead of splitting space equally.
Fixes: 187533622
Test: manual testing with Notify, Notify2, and Clock (using timers and alarms)
Change-Id: I8c554755755c59f2756870f7cd2e0c533d22d823
Patch Action:
1.Linkify the text related to migration tooltip.
2.Create the component name of the sub setting of
Accessibility button let framework side could launch to
the corresponding setting page.
Bug: 175365399
Test: atest AccessibilityShortcutControllerTest AnnotationLinkSpanTest AccessibilityFloatingMenuTooltipViewTest MigrationTooltipViewTest
Change-Id: I2af5aaa5cf1789f406f423c64c91f0e23c31e6eb
Pushing these as a metric will come in a future change.
This is a direct cherrypick with no changes.
Test: unit tests
Change-Id: I8a123f7aed7c0ce416814372f2287b04a8a04ac0
Merged-In: I8a123f7aed7c0ce416814372f2287b04a8a04ac0
(cherry picked from commit 8d0ecde2b8)