-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathheaders.patch
211 lines (199 loc) · 9.18 KB
/
headers.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
Fri Oct 20 15:16:42 2023 -0700 4dcddab (HEAD -> master) [headers] adding copyright headers to all files [Lucas Frossard]
diff --git a/build.gradle b/build.gradle
index fa0a9f8..6330052 100644
--- a/build.gradle
+++ b/build.gradle
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
// Top-level build file where you can add configuration options common to all sub-projects/modules.
plugins {
id 'com.android.library' version '7.4.0' apply false
diff --git a/sdk/build.gradle b/sdk/build.gradle
index 46c7ea3..eee5a7a 100644
--- a/sdk/build.gradle
+++ b/sdk/build.gradle
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
plugins {
id 'com.android.library'
id 'checkstyle'
diff --git a/sdk/src/main/java/com/whatsapp/otp/android/sdk/WhatsAppOtpHandler.java b/sdk/src/main/java/com/whatsapp/otp/android/sdk/WhatsAppOtpHandler.java
index e1da201..e6625e0 100644
--- a/sdk/src/main/java/com/whatsapp/otp/android/sdk/WhatsAppOtpHandler.java
+++ b/sdk/src/main/java/com/whatsapp/otp/android/sdk/WhatsAppOtpHandler.java
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
package com.whatsapp.otp.android.sdk;
import android.content.Context;
diff --git a/sdk/src/main/java/com/whatsapp/otp/android/sdk/WhatsAppOtpIncomingIntentHandler.java b/sdk/src/main/java/com/whatsapp/otp/android/sdk/WhatsAppOtpIncomingIntentHandler.java
index 1b8d6f6..1a57780 100644
--- a/sdk/src/main/java/com/whatsapp/otp/android/sdk/WhatsAppOtpIncomingIntentHandler.java
+++ b/sdk/src/main/java/com/whatsapp/otp/android/sdk/WhatsAppOtpIncomingIntentHandler.java
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
package com.whatsapp.otp.android.sdk;
import android.app.PendingIntent;
diff --git a/sdk/src/main/java/com/whatsapp/otp/android/sdk/WhatsAppOtpIntentBuilder.java b/sdk/src/main/java/com/whatsapp/otp/android/sdk/WhatsAppOtpIntentBuilder.java
index ada175b..34eb61f 100644
--- a/sdk/src/main/java/com/whatsapp/otp/android/sdk/WhatsAppOtpIntentBuilder.java
+++ b/sdk/src/main/java/com/whatsapp/otp/android/sdk/WhatsAppOtpIntentBuilder.java
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
package com.whatsapp.otp.android.sdk;
import android.app.PendingIntent;
diff --git a/sdk/src/main/java/com/whatsapp/otp/android/sdk/WhatsAppOtpUtils.java b/sdk/src/main/java/com/whatsapp/otp/android/sdk/WhatsAppOtpUtils.java
index 356eef6..af27f43 100644
--- a/sdk/src/main/java/com/whatsapp/otp/android/sdk/WhatsAppOtpUtils.java
+++ b/sdk/src/main/java/com/whatsapp/otp/android/sdk/WhatsAppOtpUtils.java
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
package com.whatsapp.otp.android.sdk;
import android.content.ComponentName;
diff --git a/sdk/src/main/java/com/whatsapp/otp/android/sdk/data/DebugSignal.java b/sdk/src/main/java/com/whatsapp/otp/android/sdk/data/DebugSignal.java
index f3e4f77..5b58610 100644
--- a/sdk/src/main/java/com/whatsapp/otp/android/sdk/data/DebugSignal.java
+++ b/sdk/src/main/java/com/whatsapp/otp/android/sdk/data/DebugSignal.java
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
package com.whatsapp.otp.android.sdk.data;
/**
diff --git a/sdk/src/main/java/com/whatsapp/otp/android/sdk/enums/WhatsAppClientType.java b/sdk/src/main/java/com/whatsapp/otp/android/sdk/enums/WhatsAppClientType.java
index 8031b1e..8c8587f 100644
--- a/sdk/src/main/java/com/whatsapp/otp/android/sdk/enums/WhatsAppClientType.java
+++ b/sdk/src/main/java/com/whatsapp/otp/android/sdk/enums/WhatsAppClientType.java
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
package com.whatsapp.otp.android.sdk.enums;
public enum WhatsAppClientType {
diff --git a/sdk/src/main/java/com/whatsapp/otp/android/sdk/enums/WhatsAppOtpError.java b/sdk/src/main/java/com/whatsapp/otp/android/sdk/enums/WhatsAppOtpError.java
index 1a7b7eb..ec43ac6 100644
--- a/sdk/src/main/java/com/whatsapp/otp/android/sdk/enums/WhatsAppOtpError.java
+++ b/sdk/src/main/java/com/whatsapp/otp/android/sdk/enums/WhatsAppOtpError.java
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
package com.whatsapp.otp.android.sdk.enums;
public enum WhatsAppOtpError {
diff --git a/sdk/src/main/java/com/whatsapp/otp/android/sdk/exceptions/InvalidWhatsAppOtpIntentException.java b/sdk/src/main/java/com/whatsapp/otp/android/sdk/exceptions/InvalidWhatsAppOtpIntentException.java
index f4fb97a..b9c6527 100644
--- a/sdk/src/main/java/com/whatsapp/otp/android/sdk/exceptions/InvalidWhatsAppOtpIntentException.java
+++ b/sdk/src/main/java/com/whatsapp/otp/android/sdk/exceptions/InvalidWhatsAppOtpIntentException.java
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
package com.whatsapp.otp.android.sdk.exceptions;
import androidx.annotation.NonNull;
diff --git a/sdk/src/test/java/com/whatsapp/otp/android/sdk/WhatsAppOtpHandlerTest.java b/sdk/src/test/java/com/whatsapp/otp/android/sdk/WhatsAppOtpHandlerTest.java
index 659a391..6a2b83e 100644
--- a/sdk/src/test/java/com/whatsapp/otp/android/sdk/WhatsAppOtpHandlerTest.java
+++ b/sdk/src/test/java/com/whatsapp/otp/android/sdk/WhatsAppOtpHandlerTest.java
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
package com.whatsapp.otp.android.sdk;
import static org.assertj.core.api.Assertions.assertThat;
diff --git a/sdk/src/test/java/com/whatsapp/otp/android/sdk/WhatsAppOtpIncomingIntentHandlerTest.java b/sdk/src/test/java/com/whatsapp/otp/android/sdk/WhatsAppOtpIncomingIntentHandlerTest.java
index 25b68e8..9cbae60 100644
--- a/sdk/src/test/java/com/whatsapp/otp/android/sdk/WhatsAppOtpIncomingIntentHandlerTest.java
+++ b/sdk/src/test/java/com/whatsapp/otp/android/sdk/WhatsAppOtpIncomingIntentHandlerTest.java
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
package com.whatsapp.otp.android.sdk;
import static org.assertj.core.api.Assertions.assertThat;
diff --git a/sdk/src/test/java/com/whatsapp/otp/android/sdk/WhatsAppOtpIntentBuilderTest.java b/sdk/src/test/java/com/whatsapp/otp/android/sdk/WhatsAppOtpIntentBuilderTest.java
index d58f687..29032c1 100644
--- a/sdk/src/test/java/com/whatsapp/otp/android/sdk/WhatsAppOtpIntentBuilderTest.java
+++ b/sdk/src/test/java/com/whatsapp/otp/android/sdk/WhatsAppOtpIntentBuilderTest.java
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
package com.whatsapp.otp.android.sdk;
import static org.assertj.core.api.Assertions.assertThat;
diff --git a/sdk/src/test/java/com/whatsapp/otp/android/sdk/WhatsAppOtpUtilsTest.java b/sdk/src/test/java/com/whatsapp/otp/android/sdk/WhatsAppOtpUtilsTest.java
index 6dfcfb7..f8ff48e 100644
--- a/sdk/src/test/java/com/whatsapp/otp/android/sdk/WhatsAppOtpUtilsTest.java
+++ b/sdk/src/test/java/com/whatsapp/otp/android/sdk/WhatsAppOtpUtilsTest.java
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
package com.whatsapp.otp.android.sdk;
import static org.mockito.ArgumentMatchers.eq;
diff --git a/settings.gradle b/settings.gradle
index 1e2d11b..79c6293 100644
--- a/settings.gradle
+++ b/settings.gradle
@@ -1,3 +1,9 @@
+/**
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
pluginManagement {
repositories {
gradlePluginPortal()