update license headers in java / kotlin code

switch to SPDX
keep original copyright notice
add "modified" to AOSP files to clarify file was modified as required by Apache-2.0 license
clarify license is GPL-3.0-only for files added after initial OpenBoard commit (except for java -> kotlin conversions)
license for modified AOSP files is Apache-2.0 AND GPL-3.0-only (for modifications)
This commit is contained in:
Helium314 2023-10-17 13:44:01 +02:00
parent a5fde31ca2
commit 56906775e9
294 changed files with 915 additions and 2789 deletions

View file

@ -1,17 +1,7 @@
/*
* Copyright (C) 2011 The Android Open Source Project
*
* 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.
* modified
* SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only
*/
package com.android.inputmethod.keyboard;

View file

@ -1,17 +1,7 @@
/*
* Copyright (C) 2008 The Android Open Source Project
*
* 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.
* modified
* SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only
*/
package com.android.inputmethod.latin;

View file

@ -1,17 +1,7 @@
/*
* Copyright (C) 2012, The Android Open Source Project
*
* 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.
* Copyright (C) 2012 The Android Open Source Project
* modified
* SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only
*/
package com.android.inputmethod.latin;

View file

@ -1,17 +1,7 @@
/*
* Copyright (C) 2014 The Android Open Source Project
*
* 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.
* modified
* SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only
*/
package com.android.inputmethod.latin.utils;

View file

@ -1,17 +1,7 @@
/*
* Copyright (C) 2014 The Android Open Source Project
*
* 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.
* modified
* SPDX-License-Identifier: Apache-2.0 AND GPL-3.0-only
*/
package com.android.inputmethod.latin.utils;