Demo app change.

PiperOrigin-RevId: 250248268
This commit is contained in:
eguven 2019-05-28 11:30:23 +01:00 committed by Toni
parent 3afdd7ac5a
commit 2c4eb1cd9b

View File

@ -151,7 +151,8 @@ public class PlayerActivity extends AppCompatActivity
@Override
public void onCreate(Bundle savedInstanceState) {
String sphericalStereoMode = getIntent().getStringExtra(SPHERICAL_STEREO_MODE_EXTRA);
Intent intent = getIntent();
String sphericalStereoMode = intent.getStringExtra(SPHERICAL_STEREO_MODE_EXTRA);
if (sphericalStereoMode != null) {
setTheme(R.style.PlayerTheme_Spherical);
}