Skip to content

Commit

Permalink
Fix some build warnings
Browse files Browse the repository at this point in the history
Mostly these were about removing unused fields.

PiperOrigin-RevId: 362547797
  • Loading branch information
Google Play Team authored and thanwah committed Mar 12, 2021
1 parent c57876a commit 866efae
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,13 @@ public class ApkSigner : IBuildTool
private readonly AndroidBuildTools _androidBuildTools;
private readonly JavaUtils _javaUtils;

#if !UNITY_2018_1_OR_NEWER
private string _apkSignerJarPath;
private string _keystoreName;
private string _keystorePass;
private string _keyaliasName;
private string _keyaliasPass;
#endif

/// <summary>
/// Constructor.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ internal class PlayAssetBundleRequestImpl : PlayAssetBundleRequest
private readonly AssetDeliveryUpdateHandler _updateHandler;
private AssetDeliveryStatus _loadingStatus;
private AssetDeliveryErrorCode _loadingError;
private float _downloadProgress;

public PlayAssetBundleRequestImpl(PlayAssetPackRequestImpl packRequest,
AssetDeliveryUpdateHandler updateHandler)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,6 @@ internal class PlayAssetDeliveryInternal
private const string AssetPackFolderName = "assetpack";

private readonly AssetPackManager _assetPackManager;
private readonly AssetPackStateUpdateListener _stateUpdateListener;
private readonly AssetDeliveryUpdateHandler _updateHandler;

private readonly PlayRequestRepository _requestRepository = new PlayRequestRepository();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@ public class AssetPackDownloader : MonoBehaviour

private AssetBundle _assetBundle;
private PlayAssetPackRequest _request;
private List<Button> _buttons;
private bool _requestInProgress;

public bool IsInitialized { get; private set; }
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ public class ScrollingFillAnimator : MonoBehaviour
public float ScrollSpeed = 2.5f;

private RawImage _image;
private Vector2 _textureOffset;
private RectTransform _rectTransform;

private void Update()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,10 @@ public class ReviewManager
/// href="https://developer.android.com/reference/com/google/android/play/core/review/model/ReviewErrorCode"></a>
/// </summary>
private const int JavaReviewErrorCodePlayNotFound = -1;

#if !UNITY_EDITOR
private readonly ReviewPlayCoreTaskManager _reviewPlayCoreTaskManager;
#endif

public ReviewManager()
{
Expand Down Expand Up @@ -112,4 +115,4 @@ private PlayAsyncOperation<VoidResult, ReviewErrorCode> LaunchReviewFlowInternal
}
#endif
}
}
}

0 comments on commit 866efae

Please sign in to comment.