diff options
author | Elliott Hughes <enh@google.com> | 2014-04-28 16:38:43 -0700 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2014-04-28 16:38:43 -0700 |
commit | f97c63350abcc6715ba9fdc21fd3405d0f7ba716 (patch) | |
tree | 9eba371ad46dc3dd0b70e40ad494623421979fab /drm/java | |
parent | 54dacbe7ca6d8a8c71d601fcf773e7b27eba3a53 (diff) | |
download | frameworks_base-f97c63350abcc6715ba9fdc21fd3405d0f7ba716.zip frameworks_base-f97c63350abcc6715ba9fdc21fd3405d0f7ba716.tar.gz frameworks_base-f97c63350abcc6715ba9fdc21fd3405d0f7ba716.tar.bz2 |
Move internal libcore.os users over to android.system.
Change-Id: I84e1ace19ba3b4e58d7bb24f3ecda1bdf5dc75a5
Diffstat (limited to 'drm/java')
-rw-r--r-- | drm/java/android/drm/DrmOutputStream.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drm/java/android/drm/DrmOutputStream.java b/drm/java/android/drm/DrmOutputStream.java index 22e7ac2..5b1ca63 100644 --- a/drm/java/android/drm/DrmOutputStream.java +++ b/drm/java/android/drm/DrmOutputStream.java @@ -21,11 +21,11 @@ import static android.drm.DrmManagerClient.INVALID_SESSION; import static libcore.io.OsConstants.SEEK_SET; import android.os.ParcelFileDescriptor; +import android.system.ErrnoException; +import android.system.Os; import android.util.Log; -import libcore.io.ErrnoException; import libcore.io.IoBridge; -import libcore.io.Libcore; import libcore.io.Streams; import java.io.FileDescriptor; @@ -69,7 +69,7 @@ public class DrmOutputStream extends OutputStream { final DrmConvertedStatus status = mClient.closeConvertSession(mSessionId); if (status.statusCode == STATUS_OK) { try { - Libcore.os.lseek(mFd, status.offset, SEEK_SET); + Os.lseek(mFd, status.offset, SEEK_SET); } catch (ErrnoException e) { e.rethrowAsIOException(); } |