It looks like you use com.zhy.autolayout library, you can workaround it with using original AppCompatActivity instead of AutoLayoutActivity like this:
...
import androidx.appcompat.app.AppCompatActivity;
public abstract class BaseCameraActivity extends AppCompatActivity {
...
Works on Android API 28
...
import androidx.appcompat.app.AppCompatActivity;
public abstract class BaseCameraActivity extends AppCompatActivity {
...
Works on Android API 28