Skip to content

Commit 0e56708

Browse files
committed
Fix class Valuey missing AOSP Apache 2.0 notice
Method getDimensionOrFraction is derived from Keyboard.java.
1 parent 7bbd0dc commit 0e56708

1 file changed

Lines changed: 13 additions & 0 deletions

File tree

  • app/src/main/java/io/github/yawnoc/utilities

app/src/main/java/io/github/yawnoc/utilities/Valuey.java

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,19 @@
44
This is free software with NO WARRANTY etc. etc.,
55
see LICENSE or <https://www.gnu.org/licenses/>.
66
*/
7+
/*
8+
This file contains bytes copied from the deprecated `Keyboard` class,
9+
i.e. `core/java/android/inputmethodservice/Keyboard.java`
10+
from <https://android.googlesource.com/platform/frameworks/base>,
11+
which is licensed under the Apache License 2.0,
12+
see <https://www.apache.org/licenses/LICENSE-2.0.html>.
13+
---
14+
Take your pick from the following out-of-date notices:
15+
In `core/java/android/inputmethodservice/Keyboard.java`:
16+
Copyright (C) 2008-2009 Google Inc.
17+
In `NOTICE`:
18+
Copyright 2005-2008 The Android Open Source Project
19+
*/
720

821
package io.github.yawnoc.utilities;
922

0 commit comments

Comments
 (0)