Skip to content

Commit 93708e6

Browse files
authored
Merge pull request #359 from Countly/webview_for_iap_msg
fix: reduce visibility of transparent activity
2 parents 5731498 + 36fff90 commit 93708e6

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

sdk/src/main/java/ly/count/android/sdk/TransparentActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
import android.widget.RelativeLayout;
1818
import androidx.annotation.Nullable;
1919

20-
public class TransparentActivity extends Activity {
20+
class TransparentActivity extends Activity {
2121
static final String CONFIGURATION_LANDSCAPE = "Landscape";
2222
static final String CONFIGURATION_PORTRAIT = "Portrait";
2323
static final String ORIENTATION = "orientation";

sdk/src/main/java/ly/count/android/sdk/TransparentActivityConfig.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,23 +4,23 @@
44
import java.util.ArrayList;
55
import java.util.List;
66

7-
public class TransparentActivityConfig implements Serializable {
7+
class TransparentActivityConfig implements Serializable {
88
Integer x;
99
Integer y;
1010
Integer width;
1111
Integer height;
1212
String url;
1313
List<WebViewUrlListener> listeners;
1414

15-
public TransparentActivityConfig(Integer x, Integer y, Integer width, Integer height) {
15+
TransparentActivityConfig(Integer x, Integer y, Integer width, Integer height) {
1616
this.x = x;
1717
this.y = y;
1818
this.width = width;
1919
this.height = height;
2020
this.listeners = new ArrayList<>();
2121
}
2222

23-
public void setUrl(String url) {
23+
void setUrl(String url) {
2424
this.url = url;
2525
}
2626
}

0 commit comments

Comments
 (0)