Loading core/java/android/view/SurfaceSession.java +6 −1 Original line number Diff line number Diff line Loading @@ -37,8 +37,13 @@ public final class SurfaceSession { } public SurfaceSession(Surface root) { synchronized (root.mLock) { if (root.mNativeObject == 0) { throw new IllegalStateException("Surface is not initialized or has been released"); } mNativeClient = nativeCreateScoped(root.mNativeObject); } } /* no user serviceable parts here ... */ @Override Loading core/java/android/view/View.java +4 −0 Original line number Diff line number Diff line Loading @@ -23993,6 +23993,10 @@ public class View implements Drawable.Callback, KeyEvent.Callback, Log.w(VIEW_LOG_TAG, "startDragAndDrop called on a detached view."); return false; } if (!mAttachInfo.mViewRootImpl.mSurface.isValid()) { Log.w(VIEW_LOG_TAG, "startDragAndDrop called with an invalid surface."); return false; } if (data != null) { data.prepareToLeaveProcess((flags & View.DRAG_FLAG_GLOBAL) != 0); Loading
core/java/android/view/SurfaceSession.java +6 −1 Original line number Diff line number Diff line Loading @@ -37,8 +37,13 @@ public final class SurfaceSession { } public SurfaceSession(Surface root) { synchronized (root.mLock) { if (root.mNativeObject == 0) { throw new IllegalStateException("Surface is not initialized or has been released"); } mNativeClient = nativeCreateScoped(root.mNativeObject); } } /* no user serviceable parts here ... */ @Override Loading
core/java/android/view/View.java +4 −0 Original line number Diff line number Diff line Loading @@ -23993,6 +23993,10 @@ public class View implements Drawable.Callback, KeyEvent.Callback, Log.w(VIEW_LOG_TAG, "startDragAndDrop called on a detached view."); return false; } if (!mAttachInfo.mViewRootImpl.mSurface.isValid()) { Log.w(VIEW_LOG_TAG, "startDragAndDrop called with an invalid surface."); return false; } if (data != null) { data.prepareToLeaveProcess((flags & View.DRAG_FLAG_GLOBAL) != 0);