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