Skip to content

Commit 4cf653d

Browse files
committed
Merge branch 'master' into systemrootcerts-ignore-trusted-root-updates
2 parents 968d564 + 5a54372 commit 4cf653d

File tree

51 files changed

+30
-106
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

51 files changed

+30
-106
lines changed

alts/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ dependencies {
2222
libraries.guava.jre, // JRE required by protobuf-java-util from grpclb
2323
libraries.google.auth.oauth2Http
2424
def nettyDependency = implementation project(':grpc-netty')
25-
compileOnly libraries.javax.annotation
2625

2726
shadow configurations.implementation.getDependencies().minus(nettyDependency)
2827
shadow project(path: ':grpc-netty-shaded', configuration: 'shadow')

android-interop-testing/build.gradle

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,6 @@ dependencies {
8383
exclude group: 'com.google.guava'
8484
}
8585

86-
compileOnly libraries.javax.annotation
87-
8886
androidTestImplementation 'androidx.test.ext:junit:1.1.3',
8987
'androidx.test:runner:1.4.0'
9088
}

android-interop-testing/src/main/AndroidManifest.xml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,9 @@
55
<uses-permission android:name="android.permission.INTERNET" />
66
<!-- For UDS -->
77
<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" />
911
<uses-sdk tools:overrideLibrary="io.grpc.android"/>
1012

1113
<application
@@ -16,8 +18,7 @@
1618
android:name="androidx.multidex.MultiDexApplication">
1719
<activity
1820
android:name=".TesterActivity"
19-
android:exported="true"
20-
android:label="@string/app_name" >
21+
android:exported="true">
2122
<intent-filter>
2223
<action android:name="android.intent.action.MAIN" />
2324

android-interop-testing/src/main/java/io/grpc/android/integrationtest/TesterActivity.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ private void startTest(String testCase) {
121121
((InputMethodManager) getSystemService(Context.INPUT_METHOD_SERVICE)).hideSoftInputFromWindow(
122122
hostEdit.getWindowToken(), 0);
123123
enableButtons(false);
124-
resultText.setText("Testing...");
124+
resultText.setText(R.string.testing_message);
125125

126126
String host = hostEdit.getText().toString();
127127
String portStr = portEdit.getText().toString();

android-interop-testing/src/main/res/layout/activity_tester.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
android:layout_weight="2"
1717
android:layout_width="0dp"
1818
android:layout_height="wrap_content"
19+
android:inputType="text"
1920
android:hint="Enter Host"
2021
/>
2122
<EditText
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
<resources>
22
<string name="app_name">gRPC Integration Test</string>
3+
<string name="testing_message">Testing…</string>
34
</resources>

authz/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@ dependencies {
1515
libraries.guava.jre // JRE required by transitive protobuf-java-util
1616

1717
annotationProcessor libraries.auto.value
18-
compileOnly libraries.javax.annotation
1918

2019
testImplementation project(':grpc-testing'),
2120
project(':grpc-testing-proto'),

benchmarks/build.gradle

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,6 @@ dependencies {
3838
classifier = "linux-x86_64"
3939
}
4040
}
41-
compileOnly libraries.javax.annotation
4241

4342
testImplementation libraries.junit,
4443
libraries.mockito.core
Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,11 @@
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>

compiler/build.gradle

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -147,11 +147,9 @@ sourceSets {
147147

148148
dependencies {
149149
testImplementation project(':grpc-protobuf'),
150-
project(':grpc-stub'),
151-
libraries.javax.annotation
150+
project(':grpc-stub')
152151
testLiteImplementation project(':grpc-protobuf-lite'),
153-
project(':grpc-stub'),
154-
libraries.javax.annotation
152+
project(':grpc-stub')
155153
}
156154

157155
tasks.named("compileTestJava").configure {

0 commit comments

Comments
 (0)