Skip to content

Commit

Permalink
Migrate usage of deprecated CREATOR field in IMA sample app and docs
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 641313805
  • Loading branch information
icbaker authored and IMA Developer Relations committed Jun 7, 2024
1 parent 3ddee83 commit 2f54a08
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,7 @@ protected void onCreate(@Nullable Bundle savedInstanceState) {
Bundle adsLoaderStateBundle = savedInstanceState.getBundle(KEY_ADS_LOADER_STATE);
if (adsLoaderStateBundle != null) {
adsLoaderState =
ImaServerSideAdInsertionMediaSource.AdsLoader.State.CREATOR.fromBundle(
adsLoaderStateBundle);
ImaServerSideAdInsertionMediaSource.AdsLoader.State.fromBundle(adsLoaderStateBundle);
}
}
}
Expand Down

0 comments on commit 2f54a08

Please sign in to comment.