aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/csharp/HelloworldXamarin/Droid
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2018-08-01 10:27:33 +0200
committerGravatar Jan Tattermusch <jtattermusch@google.com>2018-08-01 10:27:33 +0200
commit5e6af822419e8106f96ab1441aa24e27eab1d5b7 (patch)
tree5a94f70bd73300dd4e1c4acbe7b8d1d60bc54135 /examples/csharp/HelloworldXamarin/Droid
parent85b00527910d575b3018cd62bf50dc99033278ba (diff)
add copyright notice for HelloworldXamarin
Diffstat (limited to 'examples/csharp/HelloworldXamarin/Droid')
-rw-r--r--examples/csharp/HelloworldXamarin/Droid/MainActivity.cs20
-rw-r--r--examples/csharp/HelloworldXamarin/Droid/Properties/AssemblyInfo.cs20
2 files changed, 38 insertions, 2 deletions
diff --git a/examples/csharp/HelloworldXamarin/Droid/MainActivity.cs b/examples/csharp/HelloworldXamarin/Droid/MainActivity.cs
index 5883f79f09..353943ced6 100644
--- a/examples/csharp/HelloworldXamarin/Droid/MainActivity.cs
+++ b/examples/csharp/HelloworldXamarin/Droid/MainActivity.cs
@@ -1,4 +1,22 @@
-using Android.App;
+#region Copyright notice and license
+
+// Copyright 2018 The gRPC Authors
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#endregion
+
+using Android.App;
using Android.Widget;
using Android.OS;
using System.Threading.Tasks;
diff --git a/examples/csharp/HelloworldXamarin/Droid/Properties/AssemblyInfo.cs b/examples/csharp/HelloworldXamarin/Droid/Properties/AssemblyInfo.cs
index 4c952aa191..5a479659da 100644
--- a/examples/csharp/HelloworldXamarin/Droid/Properties/AssemblyInfo.cs
+++ b/examples/csharp/HelloworldXamarin/Droid/Properties/AssemblyInfo.cs
@@ -1,4 +1,22 @@
-using System.Reflection;
+#region Copyright notice and license
+
+// Copyright 2018 The gRPC Authors
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+// http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+
+#endregion
+
+using System.Reflection;
using System.Runtime.CompilerServices;
using Android.App;