We thought about batching based on constraints when JobScheduler was
first introduced (in Lollipop) but immediately disabled that behavior.
We haven't used the flags since then, and now that we're batching all
jobs that aren't in the ACTIVE bucket, these extra flags are not needed.
Bug: 141645789
Test: atest FrameworksMockingServicesTests:JobSchedulerServiceTest
Test: atest CtsIncidentHostTestCases:JobSchedulerIncidentTest
Change-Id: I8df75007a0c8124ea35c7917a5413310fbdeff79
The FalsingManager doesn't need the prox sensor when its not being
used.
Bug: 149307116
Test: atest SystemUITests
Change-Id: Ib68c0a269c9f94b1a1bb0ba137a2bb5fde340bba
Make the delay from last user usage to force apps into the restricted
bucket configurable.
Bug: 145551233
Test: atest FrameworksServicesTests:AppStandbyControllerTests
Change-Id: I561fe6e16f62268c07cee06b34bab0d7bbcad201
External camera's getCameraCharacteristics call may trigger exception
via parseInt() call. The exception is catched, and we should not log the
message as error.
Test: Build
Change-Id: Ia858b692ef7622f5fcfbf32cc4fd29574a408731
Does not include filtering for Augmented Autofill.
The InlineSuggestionsResponse callback is called on every input change
as a mitigation for an IME attempting to glean potentially sensitive
content of the suggestions.
CLs will follow for disabling filtering in certain situations (to
prevent the Keyboard from gleaning the suggestions) and for caching the
inflates).
Test: manual
Test: atest CtsAutoFillServiceTestCases CtsInputMethodTestCases
Bug: 146452916
Change-Id: I396c2cb279f1eb552bbae8c3509cb29c95e86609
Instead of requiring the user to call NewGlobalRef/DeleteGlobalRef
for keeping the java object alive when creating an NDK view into it,
reference count the real native data instead, so that there's no need
to keep track of the Java object lifecycle.
- Switch CameraMetadataNative use std::shared_ptr
Test: New CTS tests pass, fail without this CL
Bug: 148972471
Change-Id: I9a00fc1daa1beac35a15484960048facb90499a6
Removed & renumbered old fields, as this atom is not yet being mapped.
Added test for NotificationRecordLogger.
Test: atest NotificationManagerServiceTest NotificiationRecordLoggerTest
Bug: 146488473
Change-Id: Ic5e429aedc38da881987343ba6d5a9f83813b966
Fix an issue where the text size of the keyguard user switcher
was being forced to that of the quick settings user switcher.
Test: Manual inspection of styles
Bug: 136122305
Change-Id: I2d62f374d74663a86338ffdfcf0412b12390690a
We have two FUSE flags: settings and native:
settings: sys.fflag.settings_fuse
---------------------------------
The settings flag allows us defer flag changes while the device is
running till the next boot. These changes can come from
server side flag flips or user initiated flag flips.
native: persist.sys.fuse
------------------------
The native flag is what components (init, zygote, vold, installd,
system_server) actually read to determine behavior. This flag doesn't
change during a boot and if changed should be followed by a reboot so
all components see a consistent state of the flag.
The resolution at system boot of what final device state to take
effect, FUSE on or off was 'needlessly complicated'. Mostly by the
fact that in some rare cases the native flag could be empty.
The 'empty native flag' issue is fixed in
Ie475e0bb82614626803f4e88b1e9d29c8a969f17 and we now simplify the
precedence resolution
Test: Device boots and flags flip correctly
Bug: 135341433
Change-Id: I903b104e2be282e6d4641d15284d4ebd780226ca
Consolidate toggle() fns. Update range handling. It was previously
acting like a slider but now detects the diff between how far you
swiped and updates the current value appropriately.
Bug: 148207527
Test: manual testing of drag behavior
Change-Id: I85896527bd3ff225cd08d11fbe2e4b34190a6b5a
Add a listener for being notified when the preferred audio device
for an audio strategy changes.
Bug: 148566862
Bug: 144440677
Test: atest AudioServiceHostTest#testPreferredDeviceRouting
Test: atest AudioServiceHostTest#testDevicesForAttributes
Change-Id: Iff47d6bc7f4bd18c3a8fe48557acf803a4059630