Skip to content

Commit f141ffb

Browse files
committed
CMUpdater: Fix up licensing notices
Add LICENSE file, and add GPL notices. The original code was licensed under GPLv2 Change-Id: I6939f4b3aa881b673bbaea24a15de288a6cc17e2
1 parent eb9fdca commit f141ffb

24 files changed

+419
-241
lines changed

LICENSE

+339
Large diffs are not rendered by default.

src/com/cyanogenmod/updater/UpdatePreference.java

+3-10
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
11
/*
22
* Copyright (C) 2012 The CyanogenMod Project
33
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
4+
* * Licensed under the GNU GPLv2 license
75
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
6+
* The text of the license can be found in the LICENSE file
7+
* or at http://www.gnu.org/licenses/gpl-2.0.txt
158
*/
169

1710
package com.cyanogenmod.updater;

src/com/cyanogenmod/updater/UpdatesSettings.java

+3-10
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
11
/*
22
* Copyright (C) 2012 The CyanogenMod Project (DvTonder)
33
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
4+
* * Licensed under the GNU GPLv2 license
75
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
6+
* The text of the license can be found in the LICENSE file
7+
* or at http://www.gnu.org/licenses/gpl-2.0.txt
158
*/
169

1710
package com.cyanogenmod.updater;
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
11
/*
22
* Copyright (C) 2012 The CyanogenMod Project
33
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
4+
* * Licensed under the GNU GPLv2 license
75
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
6+
* The text of the license can be found in the LICENSE file
7+
* or at http://www.gnu.org/licenses/gpl-2.0.txt
158
*/
169

1710
package com.cyanogenmod.updater.customExceptions;
@@ -22,4 +15,4 @@ public class NotEnoughSpaceException extends Exception {
2215
public NotEnoughSpaceException(String msg) {
2316
super(msg);
2417
}
25-
}
18+
}

src/com/cyanogenmod/updater/customTypes/DownloadProgress.java

+4-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
11
/*
22
* Copyright (C) 2012 The CyanogenMod Project
33
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
4+
* * Licensed under the GNU GPLv2 license
75
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
6+
* The text of the license can be found in the LICENSE file
7+
* or at http://www.gnu.org/licenses/gpl-2.0.txt
158
*/
169

1710
package com.cyanogenmod.updater.customTypes;
@@ -50,4 +43,4 @@ public String getSpeedText() {
5043
public String getRemainingTimeText() {
5144
return remainingTimeText;
5245
}
53-
}
46+
}
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,12 @@
11
/*
22
* Copyright (C) 2012 The CyanogenMod Project
33
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
4+
* * Licensed under the GNU GPLv2 license
75
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
6+
* The text of the license can be found in the LICENSE file
7+
* or at http://www.gnu.org/licenses/gpl-2.0.txt
158
*/
169

1710
package com.cyanogenmod.updater.customTypes;
1811

19-
parcelable FullUpdateInfo;
12+
parcelable FullUpdateInfo;

src/com/cyanogenmod/updater/customTypes/FullUpdateInfo.java

+3-10
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
11
/*
22
* Copyright (C) 2012 The CyanogenMod Project
33
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
4+
* * Licensed under the GNU GPLv2 license
75
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
6+
* The text of the license can be found in the LICENSE file
7+
* or at http://www.gnu.org/licenses/gpl-2.0.txt
158
*/
169

1710
package com.cyanogenmod.updater.customTypes;
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,12 @@
11
/*
22
* Copyright (C) 2012 The CyanogenMod Project
33
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
4+
* * Licensed under the GNU GPLv2 license
75
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
6+
* The text of the license can be found in the LICENSE file
7+
* or at http://www.gnu.org/licenses/gpl-2.0.txt
158
*/
169

1710
package com.cyanogenmod.updater.customTypes;
1811

19-
parcelable UpdateInfo;
12+
parcelable UpdateInfo;

src/com/cyanogenmod/updater/customTypes/UpdateInfo.java

+3-10
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
11
/*
22
* Copyright (C) 2012 The CyanogenMod Project
33
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
4+
* * Licensed under the GNU GPLv2 license
75
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
6+
* The text of the license can be found in the LICENSE file
7+
* or at http://www.gnu.org/licenses/gpl-2.0.txt
158
*/
169

1710
package com.cyanogenmod.updater.customTypes;

src/com/cyanogenmod/updater/customTypes/Version.java

+3-10
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
11
/*
22
* Copyright (C) 2012 The CyanogenMod Project
33
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
4+
* * Licensed under the GNU GPLv2 license
75
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
6+
* The text of the license can be found in the LICENSE file
7+
* or at http://www.gnu.org/licenses/gpl-2.0.txt
158
*/
169

1710
package com.cyanogenmod.updater.customTypes;

src/com/cyanogenmod/updater/customization/Customization.java

+3-10
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
11
/*
22
* Copyright (C) 2012 The CyanogenMod Project
33
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
4+
* * Licensed under the GNU GPLv2 license
75
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
6+
* The text of the license can be found in the LICENSE file
7+
* or at http://www.gnu.org/licenses/gpl-2.0.txt
158
*/
169

1710
package com.cyanogenmod.updater.customization;
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
11
/*
22
* Copyright (C) 2012 The CyanogenMod Project
33
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
4+
* * Licensed under the GNU GPLv2 license
75
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
6+
* The text of the license can be found in the LICENSE file
7+
* or at http://www.gnu.org/licenses/gpl-2.0.txt
158
*/
169

1710
package com.cyanogenmod.updater.interfaces;
@@ -22,4 +15,4 @@ interface IUpdateCheckService {
2215
void checkForUpdates();
2316
void registerCallback(in IUpdateCheckServiceCallback cb);
2417
void unregisterCallback(in IUpdateCheckServiceCallback cb);
25-
}
18+
}

src/com/cyanogenmod/updater/interfaces/IUpdateCheckServiceCallback.aidl

+3-10
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
11
/*
22
* Copyright (C) 2012 The CyanogenMod Project
33
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
4+
* * Licensed under the GNU GPLv2 license
75
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
6+
* The text of the license can be found in the LICENSE file
7+
* or at http://www.gnu.org/licenses/gpl-2.0.txt
158
*/
169

1710
package com.cyanogenmod.updater.interfaces;

src/com/cyanogenmod/updater/misc/Constants.java

+3-10
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
11
/*
22
* Copyright (C) 2012 The CyanogenMod Project
33
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
4+
* * Licensed under the GNU GPLv2 license
75
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
6+
* The text of the license can be found in the LICENSE file
7+
* or at http://www.gnu.org/licenses/gpl-2.0.txt
158
*/
169

1710
package com.cyanogenmod.updater.misc;

src/com/cyanogenmod/updater/misc/State.java

+3-10
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
11
/*
22
* Copyright (C) 2012 The CyanogenMod Project
33
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
4+
* * Licensed under the GNU GPLv2 license
75
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
6+
* The text of the license can be found in the LICENSE file
7+
* or at http://www.gnu.org/licenses/gpl-2.0.txt
158
*/
169

1710
package com.cyanogenmod.updater.misc;

src/com/cyanogenmod/updater/receiver/DownloadCompletedReceiver.java

+4-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
11
/*
2-
* Copyright (C) 2012 The CyanogenMod Project (DvTonder)
2+
* Copyright (C) 2012 The CyanogenMod Project
33
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
4+
* * Licensed under the GNU GPLv2 license
75
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
6+
* The text of the license can be found in the LICENSE file
7+
* or at http://www.gnu.org/licenses/gpl-2.0.txt
158
*/
169

1710
package com.cyanogenmod.updater.receiver;

src/com/cyanogenmod/updater/receiver/NotificationClickReceiver.java

+4-11
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
11
/*
2-
* Copyright (C) 2012 The CyanogenMod Project (DvTonder)
2+
* Copyright (C) 2012 The CyanogenMod Project
33
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
4+
* * Licensed under the GNU GPLv2 license
75
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
6+
* The text of the license can be found in the LICENSE file
7+
* or at http://www.gnu.org/licenses/gpl-2.0.txt
158
*/
169

1710
package com.cyanogenmod.updater.receiver;

src/com/cyanogenmod/updater/service/UpdateCheckService.java

+3-10
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
11
/*
22
* Copyright (C) 2012 The CyanogenMod Project
33
*
4-
* Licensed under the Apache License, Version 2.0 (the "License");
5-
* you may not use this file except in compliance with the License.
6-
* You may obtain a copy of the License at
4+
* * Licensed under the GNU GPLv2 license
75
*
8-
* http://www.apache.org/licenses/LICENSE-2.0
9-
*
10-
* Unless required by applicable law or agreed to in writing, software
11-
* distributed under the License is distributed on an "AS IS" BASIS,
12-
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13-
* See the License for the specific language governing permissions and
14-
* limitations under the License.
6+
* The text of the license can be found in the LICENSE file
7+
* or at http://www.gnu.org/licenses/gpl-2.0.txt
158
*/
169

1710
package com.cyanogenmod.updater.service;

0 commit comments

Comments
 (0)