File tree Expand file tree Collapse file tree 6 files changed +23
-6
lines changed
android-interop-testing/src/main
java/io/grpc/android/integrationtest Expand file tree Collapse file tree 6 files changed +23
-6
lines changed Original file line number Diff line number Diff line change 5
5
<uses-permission android : name =" android.permission.INTERNET" />
6
6
<!-- For UDS -->
7
7
<uses-permission android : name =" android.permission.READ_EXTERNAL_STORAGE" />
8
- <uses-permission android : name =" android.permission.WRITE_EXTERNAL_STORAGE" />
8
+ <uses-permission
9
+ android : name =" android.permission.WRITE_EXTERNAL_STORAGE"
10
+ android : maxSdkVersion =" 28" />
9
11
<uses-sdk tools : overrideLibrary =" io.grpc.android" />
10
12
11
13
<application
16
18
android : name =" androidx.multidex.MultiDexApplication" >
17
19
<activity
18
20
android : name =" .TesterActivity"
19
- android : exported =" true"
20
- android : label =" @string/app_name" >
21
+ android : exported =" true" >
21
22
<intent-filter >
22
23
<action android : name =" android.intent.action.MAIN" />
23
24
Original file line number Diff line number Diff line change @@ -121,7 +121,7 @@ private void startTest(String testCase) {
121
121
((InputMethodManager ) getSystemService (Context .INPUT_METHOD_SERVICE )).hideSoftInputFromWindow (
122
122
hostEdit .getWindowToken (), 0 );
123
123
enableButtons (false );
124
- resultText .setText ("Testing..." );
124
+ resultText .setText (R . string . testing_message );
125
125
126
126
String host = hostEdit .getText ().toString ();
127
127
String portStr = portEdit .getText ().toString ();
Original file line number Diff line number Diff line change 16
16
android : layout_weight =" 2"
17
17
android : layout_width =" 0dp"
18
18
android : layout_height =" wrap_content"
19
+ android : inputType =" text"
19
20
android : hint =" Enter Host"
20
21
/>
21
22
<EditText
Original file line number Diff line number Diff line change 1
1
<resources >
2
2
<string name =" app_name" >gRPC Integration Test</string >
3
+ <string name =" testing_message" >Testing…</string >
3
4
</resources >
Original file line number Diff line number Diff line change 1
- <manifest xmlns : android =" http://schemas.android.com/apk/res/android" >
2
- </manifest >
1
+ <manifest xmlns : android =" http://schemas.android.com/apk/res/android" >
2
+
3
+ <queries >
4
+
5
+ <intent >
6
+ <action android : name =" android.intent.action.VIEW" />
7
+ </intent >
8
+
9
+ </queries >
10
+
11
+ </manifest >
Original file line number Diff line number Diff line change 5
5
Remove after AGP upgrade.
6
6
-->
7
7
<issue id =" OldTargetApi" severity =" ignore" />
8
+
9
+ <!--
10
+ Suppress temporarily 'VisibleForTests' warnings - exposed for testing purposes
11
+ -->
12
+ <issue id =" VisibleForTests" severity =" ignore" />
8
13
</lint >
You can’t perform that action at this time.
0 commit comments