Searched refs:mCurrentScreenOrientation (Results 1 – 1 of 1) sorted by relevance
62 private Optional<Integer> mCurrentScreenOrientation = Optional.empty(); field in WallpaperSetter348 if (!mCurrentScreenOrientation.isPresent()) { in saveAndLockScreenOrientationIfNeeded()349 mCurrentScreenOrientation = Optional.of(activity.getRequestedOrientation()); in saveAndLockScreenOrientationIfNeeded()355 mCurrentScreenOrientation.ifPresent(orientation -> { in restoreScreenOrientationIfNeeded()359 mCurrentScreenOrientation = Optional.empty(); in restoreScreenOrientationIfNeeded()