Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 1d8c317e authored by Ricky Bhatia's avatar Ricky Bhatia Committed by Ricardo Cerqueira
Browse files

OMAP4: Adding HDMI Support in the framework



Upon hpd_enabled events, the HDMI Observer will trigger the
AudioService to reroute the audio to HDMI.

Change-Id: Iaae18e99f0344c2c4214bbadf49acc98957a94e7
WHY:  Keep isolated from Google's master list of Intents

OMAP4: Update HDMIObserver to new uevent message

HDMI driver doesn't use switch-class to inform userspace about
HDMI plug/unplug events anymore. Standard uevent actions (add,
remove) are now received upon cable plug/unplug. HDMIObserver
has been updated to handle new uevent message.

Signed-off-by: default avatarMisael Lopez Cruz <misael.lopez@ti.com>

Patch set 2: Cherry-pick on current tree.  No changes made.
Taking verifications, approvals and build test from patch set
1.
Signed-off-by: default avatarJean Johnson <jean-johnson@ti.com>
Change-Id: I449e0d42cbdf3fcca0e4620c82872a27db73cd7e

UI Cloning support on HDMI and LCD

Description# System server is modified for launching the Ui cloning service.
This service would be listening to HDMI attach/detach events from HDMI
Observer. On attach event it clones the UI to HDTV and on detach event, it
would disable the UI Cloning. And this patch also fixes the hdmi detection
by HDMI observer during bootup. Currently HDMI Obsrever is relying on UEvent from the kernel
for HDMI attach/detach events. But if the HDTV is connected before booting
the platform, the event is lost by the time HDMI observer is initialized
during boot sequence.
This is fixed by modying the HDMIObserver init to read the current display2
status, whether enabled or disabled. Since HDMI HPD event will enable the
display2 device in kernel, this status read is reliable and handles the
hdmi pre-attach event correctly.

Change-Id: I48a63df27796cbb4791fc6bfe98b51dea489d84
Signed-off-by: default avatarSunita Nadampalli <sunitan@ti.com>

OMAP4: Fixing the copyright on HDMIObserver

This is a TI-owned file, derived from HeadsetObserver.java.
Applying the copyright as our other files have.

Signed-off-by: default avatarRicky Bhatia <a0866433@ti.com>

This patch was created from http://review.omapzoom.org/#change,11236


patch set 2.  That patch suffers from an "Internal Server Error".
I'm taking the validations and approvals from that patch.
Signed-off-by: default avatarJean Johnson <jean-johnson@ti.com>

Change-Id: I8582517d6ff579cd616ca98f85cd748e91065e08

HDMI Observer and VideoView changes to hide custom classes from export

Description# HDMI Observer and VideoView java files are modified
to shield the new classes under @hide annotation. This is required
to not to expose these classes to applications.

Signed-off-by: default avatarSunita Nadampalli <sunitan@ti.com>

Patch Set 2: Simple cherry-pick on current tree.  No changes made.
Taking verifications, approvals and build test from patch set 1.
Signed-off-by: default avatarJean Johnson <jean-johnson@ti.com>
Change-Id: Id3e33fcd6d95c2a4a625d034fe3c6ae2e93bd406
parent ad63c39d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment