We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2450fba commit ea46f4cCopy full SHA for ea46f4c
misc/src/androidTest/java/com/example/snippets/DeviceCompatibilityModeTestJavaSnippets.java
@@ -16,7 +16,7 @@
16
17
package com.example.snippets;
18
19
-import android.app.Activity;
+import androidx.appcompat.app.AppCompatActivity
20
import androidx.test.core.app.ActivityScenario;
21
import androidx.test.ext.junit.rules.ActivityScenarioRule;
22
import org.junit.Rule;
@@ -42,7 +42,7 @@ public void activity_launched_notLetterBoxed() {
42
43
44
// Method used by snippets.
45
- public boolean isLetterboxed(Activity activity) {
+ public boolean isLetterboxed(AppCompatActivity activity) {
46
return true;
47
}
48
0 commit comments