Skip to content
This repository has been archived by the owner on Feb 3, 2020. It is now read-only.

Commit

Permalink
Merge pull request #109 from recruit-lifestyle/develop
Browse files Browse the repository at this point in the history
Ver 2.4.2
  • Loading branch information
YoshihideSogawa authored Jan 25, 2019
2 parents d0034e3 + 5c967b3 commit 353e19f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -878,8 +878,8 @@ else if (action == MotionEvent.ACTION_UP || action == MotionEvent.ACTION_CANCEL)
// 拡大率をもとに戻す
setScale(SCALE_NORMAL);

// destroy VelocityTracker
if (!mIsMoveAccept) {
// destroy VelocityTracker (#103)
if (!mIsMoveAccept && mVelocityTracker != null) {
mVelocityTracker.recycle();
mVelocityTracker = null;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ private void showFloatingView(Context context, boolean isShowOverlayPermission,
// オーバレイパーミッションの表示
if (isShowOverlayPermission) {
final Intent intent = new Intent(Settings.ACTION_MANAGE_OVERLAY_PERMISSION, Uri.parse("package:" + context.getPackageName()));
startActivityForResult(intent, CHATHEAD_OVERLAY_PERMISSION_REQUEST_CODE);
startActivityForResult(intent, isCustomFloatingView ? CUSTOM_OVERLAY_PERMISSION_REQUEST_CODE : CHATHEAD_OVERLAY_PERMISSION_REQUEST_CODE);
}
}

Expand Down

0 comments on commit 353e19f

Please sign in to comment.