1edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project		  GNU LESSER GENERAL PUBLIC LICENSE
2edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project		       Version 2.1, February 1999
3edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
4edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project Copyright (C) 1991, 1999 Free Software Foundation, Inc.
5edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project     59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
6edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project Everyone is permitted to copy and distribute verbatim copies
7edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project of this license document, but changing it is not allowed.
8edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
9edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project[This is the first released version of the Lesser GPL.  It also counts
10edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project as the successor of the GNU Library Public License, version 2, hence
11edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project the version number 2.1.]
12edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
13edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project			    Preamble
14edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
15edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  The licenses for most software are designed to take away your
16edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectfreedom to share and change it.  By contrast, the GNU General Public
17edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectLicenses are intended to guarantee your freedom to share and change
18edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectfree software--to make sure the software is free for all its users.
19edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
20edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  This license, the Lesser General Public License, applies to some
21edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectspecially designated software packages--typically libraries--of the
22edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectFree Software Foundation and other authors who decide to use it.  You
23edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectcan use it too, but we suggest you first think carefully about whether
24edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectthis license or the ordinary General Public License is the better
25edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectstrategy to use in any particular case, based on the explanations below.
26edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
27edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  When we speak of free software, we are referring to freedom of use,
28edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectnot price.  Our General Public Licenses are designed to make sure that
29edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectyou have the freedom to distribute copies of free software (and charge
30edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectfor this service if you wish); that you receive source code or can get
31edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectit if you want it; that you can change the software and use pieces of
32edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectit in new free programs; and that you are informed that you can do
33edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectthese things.
34edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
35edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  To protect your rights, we need to make restrictions that forbid
36edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectdistributors to deny you these rights or to ask you to surrender these
37edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectrights.  These restrictions translate to certain responsibilities for
38edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectyou if you distribute copies of the library or if you modify it.
39edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
40edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  For example, if you distribute copies of the library, whether gratis
41edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projector for a fee, you must give the recipients all the rights that we gave
42edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectyou.  You must make sure that they, too, receive or can get the source
43edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectcode.  If you link other code with the library, you must provide
44edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectcomplete object files to the recipients, so that they can relink them
45edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectwith the library after making changes to the library and recompiling
46edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectit.  And you must show them these terms so they know their rights.
47edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
48edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  We protect your rights with a two-step method: (1) we copyright the
49edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectlibrary, and (2) we offer you this license, which gives you legal
50edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectpermission to copy, distribute and/or modify the library.
51edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
52edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  To protect each distributor, we want to make it very clear that
53edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectthere is no warranty for the free library.  Also, if the library is
54edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectmodified by someone else and passed on, the recipients should know
55edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectthat what they have is not the original version, so that the original
56edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectauthor's reputation will not be affected by problems that might be
57edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectintroduced by others.
58edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
59edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  Finally, software patents pose a constant threat to the existence of
60edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectany free program.  We wish to make sure that a company cannot
61edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecteffectively restrict the users of a free program by obtaining a
62edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectrestrictive license from a patent holder.  Therefore, we insist that
63edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectany patent license obtained for a version of the library must be
64edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectconsistent with the full freedom of use specified in this license.
65edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
66edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  Most GNU software, including some libraries, is covered by the
67edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectordinary GNU General Public License.  This license, the GNU Lesser
68edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGeneral Public License, applies to certain designated libraries, and
69edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectis quite different from the ordinary General Public License.  We use
70edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectthis license for certain libraries in order to permit linking those
71edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectlibraries into non-free programs.
72edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
73edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  When a program is linked with a library, whether statically or using
74edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecta shared library, the combination of the two is legally speaking a
75edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectcombined work, a derivative of the original library.  The ordinary
76edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectGeneral Public License therefore permits such linking only if the
77edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectentire combination fits its criteria of freedom.  The Lesser General
78edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectPublic License permits more lax criteria for linking other code with
79edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectthe library.
80edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
81edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  We call this license the "Lesser" General Public License because it
82edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectdoes Less to protect the user's freedom than the ordinary General
83edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectPublic License.  It also provides other free software developers Less
84edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectof an advantage over competing non-free programs.  These disadvantages
85edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectare the reason we use the ordinary General Public License for many
86edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectlibraries.  However, the Lesser license provides advantages in certain
87edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectspecial circumstances.
88edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
89edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  For example, on rare occasions, there may be a special need to
90edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectencourage the widest possible use of a certain library, so that it becomes
91edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecta de-facto standard.  To achieve this, non-free programs must be
92edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectallowed to use the library.  A more frequent case is that a free
93edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectlibrary does the same job as widely used non-free libraries.  In this
94edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectcase, there is little to gain by limiting the free library to free
95edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectsoftware only, so we use the Lesser General Public License.
96edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
97edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  In other cases, permission to use a particular library in non-free
98edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectprograms enables a greater number of people to use a large body of
99edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectfree software.  For example, permission to use the GNU C Library in
100edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectnon-free programs enables many more people to use the whole GNU
101edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectoperating system, as well as its variant, the GNU/Linux operating
102edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectsystem.
103edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
104edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  Although the Lesser General Public License is Less protective of the
105edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectusers' freedom, it does ensure that the user of a program that is
106edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectlinked with the Library has the freedom and the wherewithal to run
107edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectthat program using a modified version of the Library.
108edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
109edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  The precise terms and conditions for copying, distribution and
110edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectmodification follow.  Pay close attention to the difference between a
111edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project"work based on the library" and a "work that uses the library".  The
112edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectformer contains code derived from the library, whereas the latter must
113edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectbe combined with the library in order to run.
114edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
115edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project		  GNU LESSER GENERAL PUBLIC LICENSE
116edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
117edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
118edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  0. This License Agreement applies to any software library or other
119edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectprogram which contains a notice placed by the copyright holder or
120edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectother authorized party saying it may be distributed under the terms of
121edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectthis Lesser General Public License (also called "this License").
122edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectEach licensee is addressed as "you".
123edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
124edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  A "library" means a collection of software functions and/or data
125edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectprepared so as to be conveniently linked with application programs
126edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project(which use some of those functions and data) to form executables.
127edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
128edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  The "Library", below, refers to any such software library or work
129edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectwhich has been distributed under these terms.  A "work based on the
130edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectLibrary" means either the Library or any derivative work under
131edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectcopyright law: that is to say, a work containing the Library or a
132edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectportion of it, either verbatim or with modifications and/or translated
133edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectstraightforwardly into another language.  (Hereinafter, translation is
134edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectincluded without limitation in the term "modification".)
135edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
136edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  "Source code" for a work means the preferred form of the work for
137edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectmaking modifications to it.  For a library, complete source code means
138edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectall the source code for all modules it contains, plus any associated
139edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectinterface definition files, plus the scripts used to control compilation
140edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectand installation of the library.
141edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
142edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  Activities other than copying, distribution and modification are not
143edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectcovered by this License; they are outside its scope.  The act of
144edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectrunning a program using the Library is not restricted, and output from
145edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectsuch a program is covered only if its contents constitute a work based
146edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecton the Library (independent of the use of the Library in a tool for
147edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectwriting it).  Whether that is true depends on what the Library does
148edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectand what the program that uses the Library does.
149edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  
150edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  1. You may copy and distribute verbatim copies of the Library's
151edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectcomplete source code as you receive it, in any medium, provided that
152edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectyou conspicuously and appropriately publish on each copy an
153edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectappropriate copyright notice and disclaimer of warranty; keep intact
154edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectall the notices that refer to this License and to the absence of any
155edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectwarranty; and distribute a copy of this License along with the
156edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectLibrary.
157edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
158edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  You may charge a fee for the physical act of transferring a copy,
159edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectand you may at your option offer warranty protection in exchange for a
160edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectfee.
161edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
162edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  2. You may modify your copy or copies of the Library or any portion
163edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectof it, thus forming a work based on the Library, and copy and
164edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectdistribute such modifications or work under the terms of Section 1
165edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectabove, provided that you also meet all of these conditions:
166edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
167edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    a) The modified work must itself be a software library.
168edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
169edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    b) You must cause the files modified to carry prominent notices
170edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    stating that you changed the files and the date of any change.
171edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
172edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    c) You must cause the whole of the work to be licensed at no
173edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    charge to all third parties under the terms of this License.
174edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
175edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    d) If a facility in the modified Library refers to a function or a
176edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    table of data to be supplied by an application program that uses
177edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    the facility, other than as an argument passed when the facility
178edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    is invoked, then you must make a good faith effort to ensure that,
179edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    in the event an application does not supply such function or
180edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    table, the facility still operates, and performs whatever part of
181edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    its purpose remains meaningful.
182edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
183edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    (For example, a function in a library to compute square roots has
184edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    a purpose that is entirely well-defined independent of the
185edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    application.  Therefore, Subsection 2d requires that any
186edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    application-supplied function or table used by this function must
187edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    be optional: if the application does not supply it, the square
188edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    root function must still compute square roots.)
189edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
190edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectThese requirements apply to the modified work as a whole.  If
191edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectidentifiable sections of that work are not derived from the Library,
192edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectand can be reasonably considered independent and separate works in
193edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectthemselves, then this License, and its terms, do not apply to those
194edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectsections when you distribute them as separate works.  But when you
195edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectdistribute the same sections as part of a whole which is a work based
196edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecton the Library, the distribution of the whole must be on the terms of
197edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectthis License, whose permissions for other licensees extend to the
198edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectentire whole, and thus to each and every part regardless of who wrote
199edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectit.
200edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
201edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectThus, it is not the intent of this section to claim rights or contest
202edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectyour rights to work written entirely by you; rather, the intent is to
203edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectexercise the right to control the distribution of derivative or
204edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectcollective works based on the Library.
205edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
206edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectIn addition, mere aggregation of another work not based on the Library
207edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectwith the Library (or with a work based on the Library) on a volume of
208edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecta storage or distribution medium does not bring the other work under
209edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectthe scope of this License.
210edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
211edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  3. You may opt to apply the terms of the ordinary GNU General Public
212edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectLicense instead of this License to a given copy of the Library.  To do
213edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectthis, you must alter all the notices that refer to this License, so
214edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectthat they refer to the ordinary GNU General Public License, version 2,
215edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectinstead of to this License.  (If a newer version than version 2 of the
216edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectordinary GNU General Public License has appeared, then you can specify
217edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectthat version instead if you wish.)  Do not make any other change in
218edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectthese notices.
219edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
220edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  Once this change is made in a given copy, it is irreversible for
221edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectthat copy, so the ordinary GNU General Public License applies to all
222edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectsubsequent copies and derivative works made from that copy.
223edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
224edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  This option is useful when you wish to copy part of the code of
225edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectthe Library into a program that is not a library.
226edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
227edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  4. You may copy and distribute the Library (or a portion or
228edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectderivative of it, under Section 2) in object code or executable form
229edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectunder the terms of Sections 1 and 2 above provided that you accompany
230edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectit with the complete corresponding machine-readable source code, which
231edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectmust be distributed under the terms of Sections 1 and 2 above on a
232edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectmedium customarily used for software interchange.
233edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
234edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  If distribution of object code is made by offering access to copy
235edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectfrom a designated place, then offering equivalent access to copy the
236edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectsource code from the same place satisfies the requirement to
237edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectdistribute the source code, even though third parties are not
238edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectcompelled to copy the source along with the object code.
239edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
240edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  5. A program that contains no derivative of any portion of the
241edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectLibrary, but is designed to work with the Library by being compiled or
242edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectlinked with it, is called a "work that uses the Library".  Such a
243edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectwork, in isolation, is not a derivative work of the Library, and
244edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecttherefore falls outside the scope of this License.
245edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
246edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  However, linking a "work that uses the Library" with the Library
247edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectcreates an executable that is a derivative of the Library (because it
248edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectcontains portions of the Library), rather than a "work that uses the
249edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectlibrary".  The executable is therefore covered by this License.
250edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectSection 6 states terms for distribution of such executables.
251edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
252edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  When a "work that uses the Library" uses material from a header file
253edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectthat is part of the Library, the object code for the work may be a
254edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectderivative work of the Library even though the source code is not.
255edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectWhether this is true is especially significant if the work can be
256edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectlinked without the Library, or if the work is itself a library.  The
257edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectthreshold for this to be true is not precisely defined by law.
258edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
259edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  If such an object file uses only numerical parameters, data
260edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectstructure layouts and accessors, and small macros and small inline
261edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectfunctions (ten lines or less in length), then the use of the object
262edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectfile is unrestricted, regardless of whether it is legally a derivative
263edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectwork.  (Executables containing this object code plus portions of the
264edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectLibrary will still fall under Section 6.)
265edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
266edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  Otherwise, if the work is a derivative of the Library, you may
267edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectdistribute the object code for the work under the terms of Section 6.
268edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectAny executables containing that work also fall under Section 6,
269edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectwhether or not they are linked directly with the Library itself.
270edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
271edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  6. As an exception to the Sections above, you may also combine or
272edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectlink a "work that uses the Library" with the Library to produce a
273edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectwork containing portions of the Library, and distribute that work
274edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectunder terms of your choice, provided that the terms permit
275edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectmodification of the work for the customer's own use and reverse
276edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectengineering for debugging such modifications.
277edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
278edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  You must give prominent notice with each copy of the work that the
279edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectLibrary is used in it and that the Library and its use are covered by
280edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectthis License.  You must supply a copy of this License.  If the work
281edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectduring execution displays copyright notices, you must include the
282edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectcopyright notice for the Library among them, as well as a reference
283edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectdirecting the user to the copy of this License.  Also, you must do one
284edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectof these things:
285edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
286edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    a) Accompany the work with the complete corresponding
287edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    machine-readable source code for the Library including whatever
288edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    changes were used in the work (which must be distributed under
289edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    Sections 1 and 2 above); and, if the work is an executable linked
290edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    with the Library, with the complete machine-readable "work that
291edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    uses the Library", as object code and/or source code, so that the
292edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    user can modify the Library and then relink to produce a modified
293edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    executable containing the modified Library.  (It is understood
294edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    that the user who changes the contents of definitions files in the
295edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    Library will not necessarily be able to recompile the application
296edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    to use the modified definitions.)
297edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
298edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    b) Use a suitable shared library mechanism for linking with the
299edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    Library.  A suitable mechanism is one that (1) uses at run time a
300edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    copy of the library already present on the user's computer system,
301edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    rather than copying library functions into the executable, and (2)
302edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    will operate properly with a modified version of the library, if
303edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    the user installs one, as long as the modified version is
304edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    interface-compatible with the version that the work was made with.
305edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
306edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    c) Accompany the work with a written offer, valid for at
307edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    least three years, to give the same user the materials
308edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    specified in Subsection 6a, above, for a charge no more
309edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    than the cost of performing this distribution.
310edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
311edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    d) If distribution of the work is made by offering access to copy
312edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    from a designated place, offer equivalent access to copy the above
313edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    specified materials from the same place.
314edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
315edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    e) Verify that the user has already received a copy of these
316edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    materials or that you have already sent this user a copy.
317edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
318edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  For an executable, the required form of the "work that uses the
319edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectLibrary" must include any data and utility programs needed for
320edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectreproducing the executable from it.  However, as a special exception,
321edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectthe materials to be distributed need not include anything that is
322edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectnormally distributed (in either source or binary form) with the major
323edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectcomponents (compiler, kernel, and so on) of the operating system on
324edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectwhich the executable runs, unless that component itself accompanies
325edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectthe executable.
326edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
327edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  It may happen that this requirement contradicts the license
328edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectrestrictions of other proprietary libraries that do not normally
329edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectaccompany the operating system.  Such a contradiction means you cannot
330edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectuse both them and the Library together in an executable that you
331edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectdistribute.
332edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
333edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  7. You may place library facilities that are a work based on the
334edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectLibrary side-by-side in a single library together with other library
335edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectfacilities not covered by this License, and distribute such a combined
336edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectlibrary, provided that the separate distribution of the work based on
337edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectthe Library and of the other library facilities is otherwise
338edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectpermitted, and provided that you do these two things:
339edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
340edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    a) Accompany the combined library with a copy of the same work
341edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    based on the Library, uncombined with any other library
342edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    facilities.  This must be distributed under the terms of the
343edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    Sections above.
344edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
345edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    b) Give prominent notice with the combined library of the fact
346edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    that part of it is a work based on the Library, and explaining
347edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    where to find the accompanying uncombined form of the same work.
348edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
349edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  8. You may not copy, modify, sublicense, link with, or distribute
350edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectthe Library except as expressly provided under this License.  Any
351edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectattempt otherwise to copy, modify, sublicense, link with, or
352edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectdistribute the Library is void, and will automatically terminate your
353edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectrights under this License.  However, parties who have received copies,
354edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projector rights, from you under this License will not have their licenses
355edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectterminated so long as such parties remain in full compliance.
356edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
357edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  9. You are not required to accept this License, since you have not
358edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectsigned it.  However, nothing else grants you permission to modify or
359edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectdistribute the Library or its derivative works.  These actions are
360edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectprohibited by law if you do not accept this License.  Therefore, by
361edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectmodifying or distributing the Library (or any work based on the
362edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectLibrary), you indicate your acceptance of this License to do so, and
363edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectall its terms and conditions for copying, distributing or modifying
364edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectthe Library or works based on it.
365edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
366edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  10. Each time you redistribute the Library (or any work based on the
367edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectLibrary), the recipient automatically receives a license from the
368edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectoriginal licensor to copy, distribute, link with or modify the Library
369edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectsubject to these terms and conditions.  You may not impose any further
370edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectrestrictions on the recipients' exercise of the rights granted herein.
371edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectYou are not responsible for enforcing compliance by third parties with
372edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectthis License.
373edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
374edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  11. If, as a consequence of a court judgment or allegation of patent
375edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectinfringement or for any other reason (not limited to patent issues),
376edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectconditions are imposed on you (whether by court order, agreement or
377edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectotherwise) that contradict the conditions of this License, they do not
378edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectexcuse you from the conditions of this License.  If you cannot
379edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectdistribute so as to satisfy simultaneously your obligations under this
380edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectLicense and any other pertinent obligations, then as a consequence you
381edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectmay not distribute the Library at all.  For example, if a patent
382edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectlicense would not permit royalty-free redistribution of the Library by
383edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectall those who receive copies directly or indirectly through you, then
384edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectthe only way you could satisfy both it and this License would be to
385edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectrefrain entirely from distribution of the Library.
386edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
387edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectIf any portion of this section is held invalid or unenforceable under any
388edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectparticular circumstance, the balance of the section is intended to apply,
389edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectand the section as a whole is intended to apply in other circumstances.
390edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
391edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectIt is not the purpose of this section to induce you to infringe any
392edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectpatents or other property right claims or to contest validity of any
393edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectsuch claims; this section has the sole purpose of protecting the
394edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectintegrity of the free software distribution system which is
395edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectimplemented by public license practices.  Many people have made
396edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectgenerous contributions to the wide range of software distributed
397edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectthrough that system in reliance on consistent application of that
398edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectsystem; it is up to the author/donor to decide if he or she is willing
399edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectto distribute software through any other system and a licensee cannot
400edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectimpose that choice.
401edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
402edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectThis section is intended to make thoroughly clear what is believed to
403edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectbe a consequence of the rest of this License.
404edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
405edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  12. If the distribution and/or use of the Library is restricted in
406edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectcertain countries either by patents or by copyrighted interfaces, the
407edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectoriginal copyright holder who places the Library under this License may add
408edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectan explicit geographical distribution limitation excluding those countries,
409edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectso that distribution is permitted only in or among countries not thus
410edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectexcluded.  In such case, this License incorporates the limitation as if
411edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectwritten in the body of this License.
412edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
413edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  13. The Free Software Foundation may publish revised and/or new
414edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectversions of the Lesser General Public License from time to time.
415edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectSuch new versions will be similar in spirit to the present version,
416edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectbut may differ in detail to address new problems or concerns.
417edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
418edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectEach version is given a distinguishing version number.  If the Library
419edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectspecifies a version number of this License which applies to it and
420edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project"any later version", you have the option of following the terms and
421edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectconditions either of that version or of any later version published by
422edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectthe Free Software Foundation.  If the Library does not specify a
423edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectlicense version number, you may choose any version ever published by
424edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectthe Free Software Foundation.
425edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
426edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  14. If you wish to incorporate parts of the Library into other free
427edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectprograms whose distribution conditions are incompatible with these,
428edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectwrite to the author to ask for permission.  For software which is
429edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectcopyrighted by the Free Software Foundation, write to the Free
430edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectSoftware Foundation; we sometimes make exceptions for this.  Our
431edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectdecision will be guided by the two goals of preserving the free status
432edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectof all derivatives of our free software and of promoting the sharing
433edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectand reuse of software generally.
434edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
435edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project			    NO WARRANTY
436edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
437edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
438edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectWARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
439edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectEXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
440edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectOTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
441edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectKIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
442edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
443edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectPURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
444edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectLIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
445edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectTHE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
446edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
447edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
448edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectWRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
449edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectAND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
450edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectFOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
451edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectCONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
452edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectLIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
453edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectRENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
454edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectFAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
455edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectSUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
456edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectDAMAGES.
457edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
458edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project		     END OF TERMS AND CONDITIONS
459edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
460edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project           How to Apply These Terms to Your New Libraries
461edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
462edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  If you develop a new library, and you want it to be of the greatest
463edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectpossible use to the public, we recommend making it free software that
464edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projecteveryone can redistribute and change.  You can do so by permitting
465edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectredistribution under these terms (or, alternatively, under the terms of the
466edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectordinary General Public License).
467edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
468edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  To apply these terms, attach the following notices to the library.  It is
469edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectsafest to attach them to the start of each source file to most effectively
470edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectconvey the exclusion of warranty; and each file should have at least the
471edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project"copyright" line and a pointer to where the full notice is found.
472edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
473edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    <one line to give the library's name and a brief idea of what it does.>
474edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    Copyright (C) <year>  <name of author>
475edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
476edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    This library is free software; you can redistribute it and/or
477edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    modify it under the terms of the GNU Lesser General Public
478edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    License as published by the Free Software Foundation; either
479edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    version 2.1 of the License, or (at your option) any later version.
480edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
481edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    This library is distributed in the hope that it will be useful,
482edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    but WITHOUT ANY WARRANTY; without even the implied warranty of
483edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
484edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    Lesser General Public License for more details.
485edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
486edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    You should have received a copy of the GNU Lesser General Public
487edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    License along with this library; if not, write to the Free Software
488edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
489edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
490edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectAlso add information on how to contact you by electronic and paper mail.
491edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
492edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectYou should also get your employer (if you work as a programmer) or your
493edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectschool, if any, to sign a "copyright disclaimer" for the library, if
494edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Projectnecessary.  Here is a sample; alter the names:
495edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
496edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  Yoyodyne, Inc., hereby disclaims all copyright interest in the
497edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  library `Frob' (a library for tweaking knobs) written by James Random Hacker.
498edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
499edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  <signature of Ty Coon>, 1 April 1990
500edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project  Ty Coon, President of Vice
501edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
502edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source ProjectThat's all there is to it!
503edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
504edbf3b6af777b721cd2a1ef461947e51e88241e1The Android Open Source Project
505