To better control ripple and turbulence noise, a new flag is added.
Bug: 249536060
Test: MediaControlPanelTest
Change-Id: I95c3cc2121b1c7f4bd6ca106bd4f6304cbbb01e1
* changes:
identity: Add support for setting minimum validity period for AuthKey.
identity: Add support for ECDSA auth and don't require session encryption.
Replace LinkedList by a more performant collection
Previously, the model's state was being updated every time mIsEnabled changed, causing either a resource load or resource release depending on the direction of the change. However, mIsEnabled changes every time EdgeBackGestureHandler attaches or detaches, which happens every time a foldable folds or unfolds. Releasing and reloading the model's resources every fold/unfold is needless and wasteful.
Now, the model resources only load when the process starts or when the user enables Gesture Navigation mode. The model resources only get released when the user disabled Gesture Navigation mode.
This change is safe because no new behavior is added.
There is also an additional safety check added: now, if the model is currently loading, it will not be asked to predict.
Fix: 214938229
Test: manual
Change-Id: I6127b4a5acfa57e9faa0966d021bd951cf2d7bee
Seems like we can get into a state where the sim pin view does not have
an initial message and is getting an exception because 0 is not a valid
resource id. Moving the getInitialMessageResId to the parent of the sim
pin view controller.
Fixes: 261941458
Test: Add unit test. Open sim pin view.
Change-Id: Ia2782c7c8acd0775bd2fb1cf9774f477264cf899
If the flag for customizable lock screen quick affordances is
enabled, the required geture to activate a lock screen quick affordance
is now a standard long press instead of a click.
Fix: 254857466
Test: long-pressing the button causes it to scale-animate and then
activate. A "tap" sound plays when it activates. Moving the finger too
far off the touch target while holding down cancels the gesture.
Releasing the finger too quickly causes the view to shake-animate and a
corrective message to appear in the indication area.
Change-Id: I130169d6dcdb6779bb914b0a3c0d3b0fc522567d
Adds code on the system UI side that renders a preview of the lock
screen. This is done through the content provider, which receives a
handle to a SurfaceView from wallpaper picker, where the UI is actually
shown to the user.
There are several changes here, following the path of the code, they
are:
1. KeyguardQuickAffordanceProvider can handle the "call" from wallpaper
picker and delegates the rendering to the preview system
2. The preview system starts with KeyguardRemotePreviewManager which is
responsible for driving the lifecycle of the rendering as the
connection to the remote SurfaceView is established or torn down
3. The preview system continues with the KeyguardPreviewRenderer which
builds the view hierarchy and hooks up each view to its appropriate
view-binder or view-controller
4. For quick affordances, we are making a couple of minor changes to the
view-binder, view-model, and interactor to allow for them to run in
"preview" mode where different rules apply: no clicks allowed, the
affordances are ever-visible (as opposed to only when the lock screen
is shown), etc.
Bug: 261362750
Test: unit tests created/updated, manually verified in the shortcuts
settings screen
Change-Id: I5d1c51dacbedf0a7a1fb3ec742244141a2fe8a32
Some padding was removed in ag/20643913 so the bouncer seems to be
offset a little bit and looks strange. Adding this padding back.
Fixes: 260477609
Test: Open bouncer.
Change-Id: Ib93188b6e87ac1324d59869b06a155c9e445f963
This commit exposes APIs to allow caller to configure transports that
willl be marked as restricted by VCN.
This API allows carriers to restrict the access to the carrier owned
networks and thus prevent apps from circumventing the VCN.
Bug: 239104955
Test: make update-api
CTS-Coverage-Bug: 262263040
Change-Id: I21aaab57e3d51f4f206c613c94c95ee02150b929
It sets the flag on for increasing the penalty on media falsing
Bug: 259445895
Test: manual - tests are in ag/20455102
Change-Id: I443a366acc7bc110f1e2baf5e6bd742898743378
If the double tap power button gesture is detected while the device is
unlocked, we are using a different code path to start the camera app. In
this code path, we were not actually attaching the source to identify
ourselves as the double tap power button System UI gesture.
This CL updates that path to include the source.
Bug: 262193771
Test: manually verified that we are attaching the extra (though it
doesn't fix the camera bug)
Change-Id: If5844a2ceb165303240265f0c0955f94fc8076a0
This commit allows VCN callers to configure underlying networks
that need to be restricted via VcnConfig.
This commit also makes sure that VCN will notify policy listners
when the VcnConfig gets updated.
Bug: 239104955
Test: atest FrameworksVcnTests(new tests)
Test: atest CtsVcnTestCases
Change-Id: Ie174f7ec27ba115939c4f5d88d9bb00c6d348ea9
This allows processes that do not utilize the SysUI Dagger graph to
avoid having to subclass and instantiate it.
This change also makes the Screenshot cross-profile service take
advantage of this change.
Test: Turn on "Enable RequestProcessor" and "Enable Work Profile
Screenshots Policy" SysUI flags
Test: Take a screenshot of a work profile app
Test: Observe successful work profile screenshot
BUG: 259469497
Change-Id: I1a8c62ba079d90e575cab2a0e14b3f1466e1952c
The bug is about keyguard status bar and status bar being visible at the same time.
Bug doesn't have any new reports in the last 6-7 weeks so these bug-specific logs are no longer needed.
Bug: 237743330
Test: just removing logs
Change-Id: Ic25bbf46d23b154ba56b121dd0306c3cb83da032