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

Commit 70df03be authored by ztenghui's avatar ztenghui
Browse files

Check whether save button should be enabled when time bar updates

bug:10260216

Change-Id: Ic9714d5b5415ddc6f181bf2caf9efedf3fd871ac
parent 55705d5a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -197,6 +197,8 @@ public class TrimVideo extends Activity implements
            mTrimEndTime = duration;
        }
        mController.setTimes(mVideoPosition, duration, mTrimStartTime, mTrimEndTime);
        // Enable save if there's modifications
        mSaveVideoTextView.setEnabled(isModified());
        return mVideoPosition;
    }

@@ -307,8 +309,6 @@ public class TrimVideo extends Activity implements
        mTrimStartTime = start;
        mTrimEndTime = end;
        setProgress();
        // Enable save if there's modifications
        mSaveVideoTextView.setEnabled(isModified());
    }

    @Override