aboutsummaryrefslogtreecommitdiff
path: root/src/com
AgeCommit message (Collapse)Author
2023-11-28Check DvrScheduleManager null status am: e64c0d53a4 am: f3449bcdd4 am: ↵Venkatarama Avadhani
279537cff5 Original change: https://android-review.googlesource.com/c/platform/packages/apps/TV/+/2829417 Change-Id: Ie202a4e78a39db13670e66d93696bd11de2ec3d5 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-11-14Check DvrScheduleManager null statusVenkatarama Avadhani
When there is a get operation for DvrManager in TvApplication, check that the DvrScheduleManager is already assigned and not null before attempting the constructor call to DvrManager. The DvrManager constructor requires the DvrScheduleManager object to be not null. Bug: 298929825 Test: Build Change-Id: I04e63b2ca6e7e701ece7fa391516f203e79ba36b
2023-10-31Update V2 input banner and no signal screenHongguang Chen
Update per UX review feedback and fix previous no signal screen visible when switching input https://screenshot.googleplex.com/55nSi99Nj4erGb5.png Bug: 302992748 Test: manual Change-Id: I02acb31422e731c34b7b1b6a4b7a58d49756ce6d
2023-10-27introduce new input banner viewSzu-An
It's a new UX design when users switch to a passthrough input source to inform current input info and video info. The new view is controlled by an overlayable resource config. https://screenshot.googleplex.com/5fFXATExxLpz8y2.png Bug: 302992748 Test: switch to empty and active HDMI inputs Test: switch to an active input and check video stream info updated Test: remove res overlay falls back to current Test: scale font 0.85 to 1.3x Change-Id: I2f36363eed47fa9c862edaffa07adbe924a10e90
2023-10-27introduce new empty input status block viewSzu-An
It's a new UX design to notify users that inputs are not connected or weak signal. The new block view is controlled by an overlayable resource config to coexist with existing design. Tuner: https://screenshot.googleplex.com/8xJohZxo2V8nt7i.png Passthrough: https://screenshot.googleplex.com/992cRDCj3A5maw8.png Bug: 302992748 Test: Switch to HDMI inputs without power-on devices plugged-in Test: Switch to tuner input that done channel scan but has no signal Test: Switch to active tuner and HDMI inputs to play Test: Switch (power-on / off devices) between active and empty inputs Change-Id: Iffd8de124b7084053ab7b2eb2946c35b83cb4b1f
2023-06-23Do not mark new channels to be browsable by default.Hongguang Chen
Do not change channel browsable state and count non browsable channels while setup. It will only be changed by TIS or in the EPG page after this change. When there is no any browsable channels, show setting. Bug: 288499376 Fix: 285657669 Test: setup LiveTV, check EPG and live tab Change-Id: I8a3c4e6074360f6daf256282e18f28e40b744c55
2023-06-20Fix no response of TV input global key when all external inputs hiddenSzu-An
Launch input select menu even when only one available input to align the behavior from other entry points in home and dashboard. Fix: 286453907 Test: remote input key launches input menu when there is one input Test: tune to a input in live tv, select menu can be launched only when more than one input available Change-Id: I4bb7eae488c8d556078d3ea41cdcc5afa51fdccb
2023-05-17Add RECEIVER_EXPORTED to avoid crashandroid14-devHongguang Chen
Fix: 283153804 Test: manual test Change-Id: I757ea0f5a801e836a687f61fc2d0df0c806da1a1
2023-05-12[LiveTv] Implement more TIAF features in LiveTv and sample TIASshubang
Bug: 281779518 Test: mmm Change-Id: I64932aec6a9b634cacaa390a36a3cf35a478612b
2023-05-10[LiveTv] Improve TIAF features in LiveTv and sample TIASshubang
Bug: 281779518 Test: mmm Change-Id: Ifba22062633f827cb56f3785940a1ac4641379ee
2023-03-27[LiveTv] Hide TvIAppView when blockScreenView is shownshubang
Bug: 267427725 Test: manual cuttlefish Change-Id: Iafff9bc796307c05d4e078854a65146fa7d8a642
2023-02-10Remove hardcoded SDK version in manifest to fix GTS failure am: 0437ab8af1 ↵Hari Raj Vijayakumar
am: 4f2f655f60 am: 3242afd934 Original change: https://android-review.googlesource.com/c/platform/packages/apps/TV/+/2429812 Change-Id: Ibe9da424ca0b0e7108a7eb5077ecf454c6c82e72 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
2023-02-10Remove hardcoded SDK version in manifest to fix GTS failureHari Raj Vijayakumar
- Update SDK level will be latest as handled in Android.bp - Port app code to Android 12+ Bug: 267273470 Test: GtsPermissionTestCases Change-Id: I995192914f85ad41aaf2ceb4e5a03f44473ab560
2023-01-10Merge "enable device to customize setup activity via RRO"TreeHugger Robot
2023-01-09enable device to customize setup activity via RROSzu-An
Device makers can provide an input id to setup activity package and class name mapping table to LiveTv via RRO. LiveTv launches the overlay setup activity instead and fallbacks to the setup activity defined in TIS. Bug: 264504967 Bug: 258580153 Test: m, boot Falcon, launch LiveTv check below Test: without valid overlay, Intent creation fallback to existed flow Test: with valid overlay, Intent can launch overlay setup activity Change-Id: I7563d70753fde94809e934285e98efd4a7595cf4
2022-12-17Fix tuner input in the input selection cutoff.Hongguang Chen
For the tuner input, input_long_label_for_tuner will be displayed on the UI (from onBindViewHolder()). We should use it to calculate the UI size. Bug: 262824697 Test: check UI Change-Id: If3f39247aca6b1847ac2685bc658e221bf361998
2022-10-26Merge "Request audio focus on changing channel."David Zhao
2022-10-26Request audio focus on changing channel.David Zhao
`setVolumeByAudioFocus` doesn't actually take focus back in case we lose it while in the middle of playing TV. This can happen when a TIAS requests focus while a TV program is playing. `requestAudioFocus` will attempt to grab focus from the audio manager, while also calling `setVolumeByAudioFocus` at the end. Bug: 241110408 Test: Cuttlefish Change-Id: I5df860a351554a5a5b4ac18c8693d5531c85b816
2022-10-24Merge "Add handling for selectTrack command"David Zhao
2022-10-24Add handling for selectTrack commandDavid Zhao
Bug: 241110408 Test: Cuttlefish manually Change-Id: I9192ae99e6381998f4deba6500ee5832ba7b52ca
2022-10-20Make autoselection of audio optionalDavid Zhao
Bug: 241110408 Test: Cuttlefish manually Change-Id: Ife9777ecbb5d11cfc6dcf347c4f1862e1f6dd783
2022-10-03Prevent creation of app links to protected activitiesDavid Zhao
Change-Id: Ic22cfe8b2f75609d6cdd6ebed1ddba0961bfe30b Bug: 239416490 Test: Cuttlefish
2022-08-30Deny epg permissions for untrusted appsqingxun
Test: Cuttlefish Bug: 240268320 Change-Id: Ia0028d04b0cb58d45fbe75d13975c7db4edf3909
2022-08-17Hide IApp settings if TIAF isn't availableqingxun
Test: Cuttlefish Bug: 241110408 Change-Id: I9d9d2f6f7872f5874cc7ea48d2100d5cbea1e30b
2022-08-17Add IApp Dialog for IApp toggleqingxun
Bug: 241110408 Test: Cuttlefish https://screenshot.googleplex.com/72CniCMVaHvwpbR Change-Id: I21fb08d36fb08b06691b7eb36c4fa962022c86a6
2022-08-17LiveTv TIAS Integration playbackCommandRequestLucas Gates
The TvInteractiveAppView.TvInteractiveAppCallback includes a playbackCommandRequest method which allows the TIAS to request changes to be made on the application running it. This CL implements all of these commands except track selection, which will be implemented in a future CL alongside changes to the audio system needed to support it. Bug: 241110408 Test: Manually with Cuttlefish and SampleTIAS Change-Id: I6e9f9065dd28dad4451150daa5fe5deb5b3b38d1
2022-08-15LiveTv TIAS Integration ViewCallback data requestsLucas Gates
The TvInteractiveAppView.TvInteractiveAppCallback contains many methods which act as requests for data from the application which the TIAS is currently running on top of. This CL implements these callback methods for the LiveTv MainActivity. Bug: 241110408 Test: Manually with Cuttlefish and SampleTIAS Change-Id: I46406c961206407ed49d006dca5bcdefcfe55419
2022-08-15LiveTv TIAS Integration Start and stop TIASLucas Gates
Currently, the LiveTv is able to receive AitInfoUpdated notifications from the TIS. This CL has the LiveTv actually start the TIAS once it receives these notifications, and stop it once the LiveTv app is stopped. Bug: 241110408 Test: Manually on Cuttlefish. Should see TIAS start. Change-Id: I12aa5973427a2ae1aa817d14f9c5d6e38f52ab48
2022-08-15LiveTv TIAS Integration Send AIT info to MainActivityLucas Gates
For our LiveTv integration, the TIAS is opened after our TIS receives an Application Information Table and calls notifyAitInfoUpdated(). This CL changes our TunableTvView to bring the aitInfoUpdated notification from our TIS to the LiveTv's MainActivity. Bug: 241110408 Test: Manually with Cuttlefish Change-Id: I1e41c5e5dc621a2d9c39f5220ea71744b48abbf2
2022-08-15LiveTv TIAS Integration Create manager and viewLucas Gates
This CL begins the process of adding TIAS integration into our LiveTv app by adding and initializing TvInteractiveApp managers and views, as well as creating callbacks to be filled out in future CLs. Bug: 241110408 Test: Manual with Cuttlefish Change-Id: Ia569048fb70565b68c93a7bc4c415055fe8d7140
2022-08-12Merge "Add TIAF Feature Flag"David Zhao
2022-08-11Add TIAF Feature Flagqingxun
Bug: 241110408 Test: Manually on cuttlefish Change-Id: I4dd736cb17142db728e36b0a837a8adaf8044bd5
2022-08-09Merge "Update ChannelTuner description"Sadiq Sada
2022-08-08Add Interactive App Settings Fragmentqingxun
Bug: 241110408 Test: Manually on cuttlefish. Should see Settings Fragment by going into the LiveTv app -> Settings -> Interactive App Settings Change-Id: Id2f2138def6b2ffbdb7b25442756b1fb5406608d
2022-08-07Update ChannelTuner descriptionSadiq Sada
Minor update to ChannelTuner description to understand code workflow Test: None Change-Id: I0a19d13bca44c9e9d23c8b5fbda229a9b7014a45
2022-05-17Add action check for BootCompletedReceiverShraddha Basantwani
Bug: 228314444 Test: Install/Run the PoC app Change-Id: Ia8d6a9d404e36f934b01ef4dcf17a9bcffddec00
2022-03-23TTS=On,press menu key no tts dialogUma Mageshwari D
Sending AccessibilityEvent TYPE_WINDOW_CONTENT_CHANGED to prompt talkback to refocus Bug: 220167394 Test: Manual Change-Id: I8d5f9cc77478b999a7f7a94e4e0e916a8cc28a58
2021-08-30Handle null value for the recording_data_uri field am: 20322236e6temp_sam_202323961Wally Yau
Original change: https://android-review.googlesource.com/c/platform/packages/apps/TV/+/1811736 Change-Id: Ia566dc434543755b829d1a80dd5740d0648b3dd3
2021-08-27Handle null value for the recording_data_uri fieldandroid-s-beta-5android-s-beta-5Wally Yau
The URI can be null if the program is available through the network from a backend. Bug: 158265628 Test: Manual Change-Id: I463dc5ada485b0650a04ea784e25f790fa66ee70
2021-07-12Add FLAG_IMMUTABLE to implicit PendingIntent am: 4762f27374 am: f724f14898Wally Yau
Original change: https://android-review.googlesource.com/c/platform/packages/apps/TV/+/1761905 Change-Id: I3dd531d7307ea651c40da1c1f99613688e91fa46
2021-07-09Add FLAG_IMMUTABLE to implicit PendingIntentandroid-s-beta-4android-s-beta-3android-s-beta-4Wally Yau
Use FLAG_IMMUTABLE to create the implict PendingIntent as a remediation for Implict PendingIntent vulnerablity. Bug: 156011951 Test: Manual Change-Id: I6a477fa8363e4904ac7d2dfb4adae81e76065154
2021-04-29Check for null calling Activity in SetupPassthroughActivity am: 928bbba890 ↵Nick Chalko
am: b3566f2832 am: 64dc4694c1 Original change: https://android-review.googlesource.com/c/platform/packages/apps/TV/+/1689120 Change-Id: I98a16c640b608e144e767ce444dd1fc94361b34c
2021-04-28Check for null calling Activity in SetupPassthroughActivityNick Chalko
This prevents by passing the calling Activity name check. Bug: 174046975 Test: atest SetupPassthroughActivityTest Change-Id: I9438d687f1c60a12d8839b619e9b47ac928315fe
2021-03-30Broadcast inputId upon selection to LauncherXKensuke Miyagi
This covers both internal tuner and external input such as HDMI. Bug: 183657212 Test: Manaully confirmed its behavior to the spec Change-Id: I9b4167cd791bf537820e31b831d02682965e1c17
2020-08-03Update language to comply with Android's inclusive language guidance am: ↵Christofer Åkersten
fb7246840f am: dcfae2e59a Original change: https://android-review.googlesource.com/c/platform/packages/apps/TV/+/1385535 Change-Id: Ib7e7de17ede36473db2b5b54037732d96d3ed4e5
2020-08-03Update language to comply with Android's inclusive language guidanceChristofer Åkersten
See https://source.android.com/setup/contribute/respectful-code for reference BUG=161896447 Test: Built Change-Id: Ib847e9bb0c75dc9182a32a2cd9e17d956c48f941
2020-07-30Merge "Update language to comply with Android's inclusive language guidance" ↵Treehugger Robot
am: e86d333ebe am: 9b1259121f Original change: https://android-review.googlesource.com/c/platform/packages/apps/TV/+/1380003 Change-Id: I660769df6518107d7ce9a1cd5f01aa12249e65dc
2020-07-30Merge "Update language to comply with Android's inclusive language guidance" ↵Christofer Åkersten
am: aceffb938a am: 6dfb779bc2 Original change: https://android-review.googlesource.com/c/platform/packages/apps/TV/+/1380000 Change-Id: I38c633ba253a36736b96e2b27c657583c9cceaa4
2020-07-30Merge "Update language to comply with Android's inclusive language guidance" ↵Christofer Åkersten
am: bd75c38dfa am: 318121d55c Original change: https://android-review.googlesource.com/c/platform/packages/apps/TV/+/1380004 Change-Id: Ib9ffc6204a361c4b28ce510ea2a75a95ba2b4db6
2020-07-30Merge "Update language to comply with Android's inclusive language guidance" ↵Christofer Åkersten
am: 5a98e16b96 am: 1443865edb Original change: https://android-review.googlesource.com/c/platform/packages/apps/TV/+/1380002 Change-Id: I46e3248c0750244c445f22f47001d6ab6a1786e1