I made some cool code that I want to contribute to both Android Open Source Project (AOSP) and other Linux distos, and perhaps even upstream at the Linux Kernel.
The problem is that AOSP says that they want contributions under Apache 2.0: https://source.android.com/docs/setup/about/licenses
And other Linux distos and the Linux Kernel want GPL.
Is there any way I can dual license my code under both GPL and Apache so that I can give the Apache version to AOSP and the GPL version to other linux distos?
In this case, what would I put at the top of my code when contributing, because AOSP request this:
# Copyright 2022 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.
Would I have to modify that in any way to mention that GPL is also supported?
Thank you so much for your help in adavance!