| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
createConfirmDeviceCredentialIntent() API is used.
If the app uses createConfirmDeviceCredentialIntent(),
ConfirmDeviceCredentialActivity is the top activity which has "settings"
as package name. Then if the app switches to settings, since previous
foreground check only checks package name, biometric prompt isn't
cancelled. This CL adds a class name check for this case.
Flag: EXEMPT bugfix
Bug: 339532378
Test: manual test with sample app on emulator
Test: atest BiometricActivityTests#testConfirmDeviceCredentialActivityDismiss_whenSwitchToSettings
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:b363da50d853018536fae5d214340a9bd7f2639b)
Merged-In: I722e285cd15869799b9fadd2324014cf3c6d44ad
Change-Id: I722e285cd15869799b9fadd2324014cf3c6d44ad
Change-Id: Ib6b6d28effd418667121ec821576e2799b9dd969
|
| |
|
|
|
|
|
|
|
|
|
| |
Bug: 291299076
Test: Build and flash the device and check if it throws exception for
non UsbInterface object
Test: atest CtsUsbManagerTestCases
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:85d7e6712a9eeeed3bdd68ea3c3862c7e88bfe70)
(cherry picked from https://googleplex-android-review.googlesource.com/q/commit:8c55c8ca3f3646ba15e5f4bda4e28f713860e3f0)
Merged-In: I2917c8331b6d56caaa9a6479bcd9a2d089f5f503
Change-Id: I2917c8331b6d56caaa9a6479bcd9a2d089f5f503
|
| |\
| |
| |
| |
| |
| |
| | |
https://android.googlesource.com/platform/frameworks/base into t13.0
Android 13.0.0 Release 52 (TQ3A.230605.012)
Change-Id: Ic80f318636f1f70bbd009504352ddde511d0dead
|
| | |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Turn off the large JPEG stream on camera1 apps
that experience high power consumption during
video call
Bug: 254350466
Test: Manual testing with Messenger app video call
Change-Id: Ia5a96160f605f14d159412cd71f49791c1cfbd86
|
| | |\
| | |
| | |
| | | |
into tm-qpr-dev
|
| | | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
Test: Ran through CTS Camera Extensions test cases
Bug: 274035443
Change-Id: I07b4a7eb14ea7452f27eb4f4480585df730ba7cd
|
| | |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This adds the committed state to the display.
The `state` is used to set the correct power state (e.g. turning display on/off), however there was no way to know when this power state change finished. This new "committedState" aims to fulfill this gap.
DisplayListeners receives a `onDisplayChanged` callback whenever the power state change is fully committed, and can get this information from DisplayInfo.
This will be used in a follow up cl to improve unfold latency performances.
Bug: 223808403
Bug: 220690092
Bug: 197515205
Bug: 273204503
Test: atest LocalDisplayAdapterTest && manual
Change-Id: Ia2fbab768b696c59578d974c88157ee3c8f3ddde
Merged-In: Ia2fbab768b696c59578d974c88157ee3c8f3ddde
(cherry picked from commit 07c6ebdd97ea3e9e3640fa5165b24249a52dd7e5)
|
| | |
| |
| |
| |
| |
| |
| |
| | |
propertyName should be the first argument, not packageName.
Bug: 272595790
Test: Added manifest property to sample app, trying all combinations
Change-Id: Ida07d367a265f1bd703461dfbedc08f6cdeaba50
|
| | |\
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
b9aa94e390 am: a09cc401fe
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/21548857
Change-Id: Ic41ce8e7634090cbfdc6650f0ee558583fbfdbbc
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | | |\
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/21548857
Change-Id: If5c8e2bbed3b763dafd0316cbb3064559c2c3424
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Document that mutiResolution RAW can be supported for a logical camera
without RAW capability.
Test: Build
Bug: 269221911
Change-Id: I24269dd63c6f354a53c39de513a140907a0e41d2
Merged-In: I24269dd63c6f354a53c39de513a140907a0e41d2
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
new priority for auth screen. this allow to request higher refresh rate for screens where auth possible, and avoid swithcing rate when LHBM mode is activated
Test: atest DisplayModeDirectorTest
Bug: b/263908377
Change-Id: I2c19941dd9507d7e9171e30f6f433384ef620a92
|
| | |\ \ \
| | | | |
| | | | |
| | | | | |
into tm-qpr-dev
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
When onCameraAvailable invoked for a logical multi-camera, all of the
physical cameras of a logical multi-camera are default available (i.e.,
no onPhysicalCameraAvailable would be called). So if some specific
physical cameras are unavailable, onPhysicalCameraUnavailable should be
invoked after onCameraAvailable.
Bug: 262979670
Test: atest CameraManagerTest
Change-Id: I77d32cd1d1c5a6c63950961724af7b41f8cdf1e6
|
| | |\ \ \ \ |
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
We should always update the physical devices availability record once
physical camera status changed, or the applications cannot receive the
status change callbacks correctly.
Bug: 262979670
Test: atest CameraManagerTest
Change-Id: I0b0238612bce593d6722bec79908fe046d6d3e84
|
| | |\ \ \ \ \
| | | |_|/ /
| | |/| | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
6ddf341bde am: d01df7fec4
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/21085008
Change-Id: Ief49906f013a810f31a29881b8253d035b8423a8
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | | |\ \ \ \
| | | | |_|/
| | | |/| |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
6ddf341bde
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/21085008
Change-Id: Ib54e83c95f5453dea9254685036a7d61d08db354
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
For LIMITED device level, the maximum number of processed streams
is 2.
To make the stream use case mandatory combinations consistent with
LIMITED device level, remove the mandatory combinations with 3 processed
streams.
This is a doc update only.
Test: Build and read doc
Bug: 266436267
Change-Id: I83aa6858bb80056dc78d7eeadd0083f8e8caf2e9
|
| | |\ \ \ \ \
| | | | | | |
| | | | | | |
| | | | | | | |
into tm-qpr-dev
|
| | | | |_|_|/
| | |/| | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | |
| | | | | | |
For LIMITED device level, the maximum number of processed streams
is 2.
To make the stream use case mandatory combinations consistent with
LIMITED device level, remove the mandatory combinations with 3 processed
streams.
Test: vendor testing, Camera CTS
Bug: 266436267
Change-Id: I4ba19813050e70c7f247847fb9579f57fb31d160
|
| | |/ / / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
The target page moved a couple of times and it looks like there wasn't a
redirect set up. Verified that
https://source.android.com/docs/core/interaction/input/key-character-map-files
currently works.
Change-Id: Ia3ea39ec7c2fd99c46bb7194790c999e1d9a35c4
Fixes: 224379018
Test: m -j 8 ds-docs-switched
|
| | |\| | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
837979c612 am: efa05a9926
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20919943
Change-Id: Ic29685e1507ce661bfdf1cd842e64ab9d24a0710
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | | |\| |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
837979c612
Original change: https://googleplex-android-review.googlesource.com/c/platform/frameworks/base/+/20919943
Change-Id: I533a399481b4a2f9d9931c46fa3588cccaf6b638
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Camera availability callbacks's order matter. If the application runs
the callbacks on an executor, and the executor is implemented using
multiple threads, the order of the callbacks may change.
Test: Build and read docs
Bug: 263235259
Change-Id: I88913215e0545a096958aaba6b7b2b7d73a4f0a0
|
| | |\ \ \ \
| | |_|_|/
| |/| | |
| | | | | |
onPhysicalCameraUnavailable"" into tm-qpr-dev
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
This reverts commit 08c0efb03a4e648e6a5fc5de13bc9678d384e106.
Reason for revert: GCA incompatible, need to submit along with b/263549589
Change-Id: I16501fab74e154aca97bd687340118e11c3200bf
Bug: 265424740
|
| | |\| | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
When onCameraAvailable invoked for a logical multi-camera, all of the
physical cameras of a logical multi-camera are default available (i.e.,
no onPhysicalCameraAvailable would be called). So if some specific physical cameras are unavailable, onPhysicalCameraUnavailable should be
invoked after onCameraAvailable.
Bug: 262979670
Test: atest CameraManagerTest
Change-Id: I6ee199ba30fa6f8c44c65d1e1d173fe6fd9ec3fe
|
| | |\ \ \ \
| | | | | |
| | | | | |
| | | | | | |
remote device was never initialized." into tm-qpr-dev
|
| | | |/ / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
device was never initialized.
It's possible for setRemoteDevice to be called *after* libcameraservice
calls onDeviceError. It would be risky to implement changes to ensure
setRemoteDevice gets called first , so use a simple boolean flag to track
whether the remote device was initialized. If it wasn't, then we can't
assume the user isn't interested in device errors - that is only true if
the device was closed.
Bug: 263429133
Test: Ran CtsCameraTestCases on cuttlefish
Test: StreamedAppBehaviorTest#appsInVirtualDevice_shouldNotHaveAccessToCamera
Change-Id: Id1990dcb17e5ec2afc562bf76e410b58a49dcf77
Merged-In: Id1990dcb17e5ec2afc562bf76e410b58a49dcf77
(cherry picked from commit 2a95ec27a18eb3526a4c279bcc283e6d7e17c593)
|
| | |\ \ \ \ |
|
| | | |/ / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Camera framework consumers will have the option to opt in or out to
the rotate and crop fix for foldables via a manifest property.
This will allow apps which correctly handle the landscape sensor
to obtain the full FOV of the camera.
Test: Tested opt-out in Camera2Basic sample, opt-in in CTSVerifier.
Bug: 263965273
Change-Id: I190963c4f8dfba29dab7570397c33f44cab702e3
Merged-in: I190963c4f8dfba29dab7570397c33f44cab702e3
|
| | |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Exposes the already-known folded state on FoldStateListener
such that it can be queried when needed.
Bug: 236197248
Test: manually on a foldable && atest SystemUITests
Change-Id: I1bca6254b7e8528e0a999d8f171e0ee1f966aeb4
|
| |\ \ \ \
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Android 13.0.0 Release 49 (TQ2B.230505.005.A1)
Change-Id: I562410c4cae2550692078d7e7545392152b31b1c
|
| | |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
new priority for auth screen. this allow to request higher refresh rate for screens where auth possible, and avoid swithcing rate when LHBM mode is activated
Test: atest DisplayModeDirectorTest
Bug: b/263908377
Change-Id: I2c19941dd9507d7e9171e30f6f433384ef620a92
(cherry picked from commit 67b1c6b1c29b1c19782bb29f56495067d75656a9)
Merged-In: I2c19941dd9507d7e9171e30f6f433384ef620a92
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
The Javadoc already states that 'buffer' can be null.
Test: N/A, no functional change.
Google: 2383855
Change-Id: I55634f58a7f2aa4f6c0b8157798e2ade27cf75dc
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This reverts commit f8e6ceee83e1553b6d7856d32841f8eb57f48c93.
reason: abandoned on LoS: https://review.lineageos.org/c/LineageOS/android_frameworks_base/+/343791
Change-Id: I2ee788b59a717e78274574e9ac075308bafc1891
|
| |\| | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
https://android.googlesource.com/platform/frameworks/base into t13.0
Android 13.0.0 release 35
Change-Id: I709958b2f015d1774b2ece25894467c3a279f93c
|
| | |\ \ \ |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Enable 'OVERRIDE_FRONT_CAMERA_APP_COMPAT' for all
target SDK versions.
Bug: 250678880
Test: Manual using test apps
Change-Id: Ie334b86ef0c2bc3c79a797d01d3e4f3fc770f82d
|
| | |\ \ \ \
| | | | | |
| | | | | |
| | | | | | |
tm-qpr-dev
|
| | | |/ / /
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
Bug: 253013763
Test: atest StylusListenerTest
Change-Id: Ib9bc1c4a613c1b1a79cd7e37c5c0593a0313273f
|
| | |\ \ \ \
| | |/ / /
| |/| | | |
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
- remove brightness mode code from PowerManager
Bug: 161868123
Test: Make sure that switching auto-brightness mode still works correctly.
Test: atest PowerGroupTest
Test: atest PowerManagerServiceTest
Change-Id: Ie8bed709c14a715d2f834eb4404463727f4dab13
Merged-In: Ie8bed709c14a715d2f834eb4404463727f4dab13
|
| | |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
devices with the system property turned on.
Bug: 250678880
Test: Checked app behavior on affected device.
Change-Id: If3dcd001f9f393c2fd153aadda116302456df10b
|
| | |\ \ \
| | | | |
| | | | |
| | | | | |
to portrait." into tm-qpr-dev
|
| | | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | |
| | | | | |
portrait.
Apps commonly do not handle landscape orientation cameras correctly. In
order to prevent stretching and rotation issues in these apps, this
patch adds a flag to override the behavior of these landscape cameras
to produce a portrait image instead by changing the SENSOR_ORIENTATION
reported by CameraCharacteristics and applying a 90 degree rotate and
crop. It also adds a CompatChanges entry which will track which apps
require this treatment.
Test: Ran on foldable device with several camera apps to verify behavior.
Bug: 250678880
Change-Id: I92b6f227916b97828ab6a7f856eea5a1e427644d
|
| | |/ / /
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Overlays can override the default enabled behavior.
Fixes: 256185823
Test: manual
Change-Id: I57f5f80647f52a9006fcaa66252c096f9883c7ba
|
| | | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
If a display is disabled, do not share it outside of
DisplayManagerService.
This will help by not creating any unnecessary updates for displays that
are disabled, and also not informing Applications of displays that they
are unable to use.
Also fixing a concurrency issue with DMS.handleLogicalDisplaySwapped
which became apparent with this CL. Deferring the runnable with a
Handler.post() caused the display-state-OFF update to happen after a newer
change to turn the display ON. This caused the device to startup into a
black screen. Removed the unnecessary call (since the displays are now
made to both go into the "transition" state) to update the state and
removed a lot of the redundant code with handleLogicalDisplayChange()
which was called at the end of the method anyway.
Bug: 221071695
Test: atest com.server.android.display
Test: Manually verify display layouts still successfully change, and
also confirm logs no longer hand excessive add/remove
display notifications.
Change-Id: I003fd91567630a447cf030b6fb83e5cb1041bcb5
Merged-In: I003fd91567630a447cf030b6fb83e5cb1041bcb5
|