Zoom seems to try using camera ID 2 for the back camera instead of
camera ID 0. Block access to aux camera for Zoom to force it to use
camera ID 0 for the back camera.
Change-Id: I99d79259a2a3adefb72a5ffed5fbbb37bd8b756d
In libpwirissoft.so's `pxlw` class, `qcomSetDisplayMode()` ends up
calling `irisSetConfigEx()` with `brightness_level_` as one of the
parameters. `irisSetConfigEx()` ends up passing that `brightness_level_`
param to `processDisplayBrightness()`, which seems to do some sort of
additional dimming of the display output depending on what the current
brightness level is.
On AOSP, it looks like `brightness_level_` doesn't get set properly.
After hwcomposer is initialized for the first time (or terminated and
restarted), if we turn the panel off and back on at least once, and then
try changing display modes, hwcomposer seems to apply a constant dimming
of the display output regardless of the backlight level.
Let's work around that by nop-ing out the `irisSetConfigEx()` call in
`qcomSetDisplayMode()`. That way, `processDisplayBrightness()` won't get
called, and we will not get that dimming.
Change-Id: Ied87b229d596bcc597b9ccb0a47368cbcb97f54b
Even though we now have gc5035 unlocked by default, this patch seems
to still be required to achieve the following:
* enables 48MP RAW10 Capture on third party camera apps
* enables long exposure capture support on all package names
* removes the 1/30s shutter speed cap from the viewfinder on third party
camera apps
* enables support for the MFNR viewfinder on auxiliary lenses
Change-Id: If321a31aeffe22b471a08a58432096c9653c2f64
* We aren't shipping wlchgmonitor for all devices, thus `disabled` is
not necessary.
* Because we are properly labeling wlchgmonitor, we don't need
`seclabel` either.
Change-Id: Ic0a28f6cef3a8dfeda560f6f04dc23feed0a601a
* These were moved to sysprops in Android 13 [1] and while
frameworks reads the values directly from power_profile.xml
Bluetooth app reads from the properties.
[1] 976d33062b%5E%21/#F0
Change-Id: I5bff67a15c537e8a47a19f30776fca6bf2c9fbe5
System properties set with the "=" operator cannot be overriden. This
device is used elsewhere in the system and some of the properties need
to be overridden. The "?=" operator will use the assigned value if no
other values are assigned elsewhere, allowing for overrides.
Bug: 230638462
Test: adb shell getprop | grep bluetooth
Merged-In: Ie29700e8b87f6f3fc2da741411dfbe94fa56ca36
Change-Id: Ie29700e8b87f6f3fc2da741411dfbe94fa56ca36
The class of device is a string with a list of uint8t values:
90,2,12
The meaning is as follows:
{Service Field, Major class, Minor class}
Service Field: 0x5A -> 90
Bit 17: Networking
Bit 19: Capturing
Bit 20: Object Transfer
Bit 22: Telephony
MAJOR_CLASS: 0x02 -> 2 (Phone)
MINOR_CLASS: 0x0C -> 12 (Smart Phone)
Bug: 217452259
Test: make -j; -- check that bluetooth.device.class_of_device is
correct
Merged-In: I75a6fb83a6149f58372b7aa46ccc190fd4451ab0
Change-Id: I75a6fb83a6149f58372b7aa46ccc190fd4451ab0
Those keys will be embedded into VtsSecurityAvb on host side
instead, to verify the GSI image used on the device.
Bug: 149806769
Test: build and checks those keys are removed from
$OUT/recovery/root/first_stage_ramdisk/avb/
Change-Id: I8a002ba6f1421fb460056ccae6572050bdb0ce3c
On stock, `config_powerDecoupleAutoSuspendModeFromDisplay` is set to
false. However, by leaving it set to false here, the device is unable to
enter deep sleep mode while Always-on Display is enabled. We will
deviate from stock by setting it to true here.
Change-Id: I47a0f78a43045718b3730387ea7b91c00b9c3794
* `fastchg_fw_update` seems to be needed to initialize VOOC / Warp
charging.
* `ui_soc_decimal` isn't exactly needed, as it seems to be more for
enabling the ability to calculate decimal percentages for remaining
battery capacity on the lockscreen for Oxygen OS. Nevertheless, it
doesn't seem to cause harm to enable this anyway.
Change-Id: I03dd1abe9c2c7be0b7b7576721b6f6338f1afd46
* Let's just use the OnePlus 8 Pro EU NFC configurations
for everyone, they match the OnePlus 8/8T EU configurations
so it should be fine.
Test: Verified NFC turns on, can read tags, and went
to a Dunkin Donuts and used Google Pay.
Change-Id: I1478c92dba58209098f4d4ea37fcc2bceb3f4473
This fixes GSI image overriding the default value
Bug: 153852350
Test: Manually verified after flashing the GSI image
Change-Id: I78b415862c420c23121ec03d6953814cd628ea9a
[TP0]touchpanel: tp_fw_update_work: fw_name = tp/19825/FW_S6SY792_SAMSUNG.bin
[TP0]touchpanel: fw_name_fae is tp/19825/FW_S6SY792_SAMSUNG_FAE.bin
sec-s6sy792 2-0048: Direct firmware load for tp/19825/FW_S6SY792_SAMSUNG_FAE.bin failed with error -2
sec-s6sy792 2-0048: Falling back to sysfs fallback for: tp/19825/FW_S6SY792_SAMSUNG_FAE.bin
[TP0]touchpanel: retry times 0
[TP]sec-s6sy792: sec_fw_update is called, force update:0
[TP]sec-s6sy792: img version in bin is 0x28240117, img version in ic is 0x28240117
[TP]sec-s6sy792: config version in bin is 0x28240108, config version in ic is 0x28240108
[TP]touch_interface: read block_1, free once.
[TP]touch_interface: read block_1, kzalloc success(len:1152, buf_size:1152).
[TP]sec-s6sy792: update firmware state: no need update!
[TP0]touchpanel: release all touch point and key, clear tp touch down flag
[TP]touch_interface: read block_2, kzalloc success(len:1, buf_size:256).
[TP]sec-s6sy792: sec_change_to_np_mode: change to np_mode time: 0 success!
[TP]sec-s6sy792: sec_enable_fingerprint_mode: touchhold_enable: 0 success!
[TP]sec-s6sy792: sec_enable_black_gesture, enable = 0
[TP]sec-s6sy792: sec_enable_black_gesture: 0 times change black gesture success
[TP]sec-s6sy792: limit_switch is 1
[TP]sec-s6sy792: sec_enable_charge_mode: state: 0 success!
[TP]sec-s6sy792: sec_enable_headset_mode: state: 0 success!
[TP0]touchpanel: add qos request in touch driver.
[TP0]touchpanel: fw update finished
Change-Id: Iba517b59fe2856ed6f991c07e0362b1be203af45
* Due to visible gamma shifts on our panels, we should
make the switchings to happen conservatively.
* With idle timer >= touch timer, idle timer now always
takes precedence, but we're leaving touch timer property
to immediately switch back to 120Hz on touch input events.
* Display power timer is left untouched as it's responsible
for display mode changes such as Doze.
Change-Id: If8b1e00a2d2213c4d2288ab28fad4ba0826a36e8