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

Commit ab7e20c8 authored by Sherry Huang's avatar Sherry Huang
Browse files

TIF: Adding optional scan params

Previous parameter is not sufficent for all standards. Adding an
optional parameter for possible additional standards, currently making
the update for NTSC, EU DVB, CAM and DVB-I.

Bug: b/398901926
Flag: android.media.tv.flags.tif_extension_standardization_bugfix
Test: m
Change-Id: Ica5013b4403d97123879a73388bb129cc5bfb92f
parent 0c0cfa27
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -27,7 +27,7 @@ oneway interface IScanListener {
    // notify the scan progress.
    // notify the scan progress.
    void onScanProgress(String scanProgress, in Bundle scanProgressInfo);
    void onScanProgress(String scanProgress, in Bundle scanProgressInfo);
    // notify the scan completion.
    // notify the scan completion.
    void onScanCompleted(int scanResult);
    void onScanCompleted(int scanResult, in Bundle optionScanInfo);
    // notify that the temporaily held channel list is stored.
    // notify that the temporaily held channel list is stored.
    void onStoreCompleted(int storeResult);
    void onStoreCompleted(int storeResult);
}
}
+1 −1
Original line number Original line Diff line number Diff line
@@ -24,7 +24,7 @@ import android.os.Bundle;
interface IScanSession {
interface IScanSession {
    // Start a service scan.
    // Start a service scan.
    int startScan(int broadcastType, String countryCode, String operator, in int[] frequency,
    int startScan(int broadcastType, String countryCode, String operator, in int[] frequency,
        String scanType, String languageCode);
        String scanType, String languageCode, in Bundle optionalScanParams);
    // Reset the scan information held in TIS.
    // Reset the scan information held in TIS.
    int resetScan();
    int resetScan();
    // Cancel scan.
    // Cancel scan.