appCompatDelegate.setDefaultInnightMode (appCompatDelegate.mode_night_yes) no funciona

IF setdefaultnightmode() IS NOT WORKING 
YOUR ACTIVITY SHOULD extend AppCompatActivity
PizzaSolver