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

Commit 4a411f7d authored by Robert Greenwalt's avatar Robert Greenwalt
Browse files

Remove switchStreams API.

After discussion about how best this could fit in the API we
discovered many disagreements that we couldn't resolve in the
time available.  Pulling the feature from the API until we
can resolve issues.

Test: builds
Change-Id: I6d36a1dea8ce9816fad497b992a347188d3ac88e
parent c876eece
Loading
Loading
Loading
Loading
+0 −11
Original line number Diff line number Diff line
@@ -69,17 +69,6 @@ public class StreamingService {
    public void stopStreaming() {
    }

    /**
     * Switch this stream to a different service.  Used for smooth transitions.
     *
     * This may throw a RemoteException.
     *
     * Asynchronous errors through the listener include any of the errors except
     * <li>ERROR_MSDC_UNABLE_TO_INITIALIZE</li>
     */
    public void switchStream(StreamingServiceInfo streamingServiceInfo) {
    }

    public void dispose() {
    }

+0 −2
Original line number Diff line number Diff line
@@ -55,8 +55,6 @@ interface IMbmsStreamingService

    Uri getPlaybackUri(String appName, int subId, String serviceId);

    void switchStreams(String appName, int subId, String oldServiceId, String newServiceId);

    int getState(String appName, int subId, String serviceId);

    void stopStreaming(String appName, int subId, String serviceId);
+0 −5
Original line number Diff line number Diff line
@@ -84,11 +84,6 @@ public class MbmsStreamingServiceBase extends IMbmsStreamingService.Stub {
        return null;
    }

    @Override
    public void switchStreams(String appName, int subId, String oldServiceId, String newServiceId)
            throws RemoteException {
    }

    @Override
    public int getState(String appName, int subId, String serviceId) throws RemoteException {
        return 0;