xref: /aosp_15_r20/external/sdk-platform-java/CODE_OF_CONDUCT.md (revision 882aa7c72c3cd3b66e72a261bdd69b93f7de7670)
1*882aa7c7SMatt Gilbride# Code of Conduct
2*882aa7c7SMatt Gilbride
3*882aa7c7SMatt Gilbride## Our Pledge
4*882aa7c7SMatt Gilbride
5*882aa7c7SMatt GilbrideIn the interest of fostering an open and welcoming environment, we as
6*882aa7c7SMatt Gilbridecontributors and maintainers pledge to making participation in our project and
7*882aa7c7SMatt Gilbrideour community a harassment-free experience for everyone, regardless of age, body
8*882aa7c7SMatt Gilbridesize, disability, ethnicity, gender identity and expression, level of
9*882aa7c7SMatt Gilbrideexperience, education, socio-economic status, nationality, personal appearance,
10*882aa7c7SMatt Gilbriderace, religion, or sexual identity and orientation.
11*882aa7c7SMatt Gilbride
12*882aa7c7SMatt Gilbride## Our Standards
13*882aa7c7SMatt Gilbride
14*882aa7c7SMatt GilbrideExamples of behavior that contributes to creating a positive environment
15*882aa7c7SMatt Gilbrideinclude:
16*882aa7c7SMatt Gilbride
17*882aa7c7SMatt Gilbride*   Using welcoming and inclusive language
18*882aa7c7SMatt Gilbride*   Being respectful of differing viewpoints and experiences
19*882aa7c7SMatt Gilbride*   Gracefully accepting constructive criticism
20*882aa7c7SMatt Gilbride*   Focusing on what is best for the community
21*882aa7c7SMatt Gilbride*   Showing empathy towards other community members
22*882aa7c7SMatt Gilbride
23*882aa7c7SMatt GilbrideExamples of unacceptable behavior by participants include:
24*882aa7c7SMatt Gilbride
25*882aa7c7SMatt Gilbride*   The use of sexualized language or imagery and unwelcome sexual attention or
26*882aa7c7SMatt Gilbride    advances
27*882aa7c7SMatt Gilbride*   Trolling, insulting/derogatory comments, and personal or political attacks
28*882aa7c7SMatt Gilbride*   Public or private harassment
29*882aa7c7SMatt Gilbride*   Publishing others' private information, such as a physical or electronic
30*882aa7c7SMatt Gilbride    address, without explicit permission
31*882aa7c7SMatt Gilbride*   Other conduct which could reasonably be considered inappropriate in a
32*882aa7c7SMatt Gilbride    professional setting
33*882aa7c7SMatt Gilbride
34*882aa7c7SMatt Gilbride## Our Responsibilities
35*882aa7c7SMatt Gilbride
36*882aa7c7SMatt GilbrideProject maintainers are responsible for clarifying the standards of acceptable
37*882aa7c7SMatt Gilbridebehavior and are expected to take appropriate and fair corrective action in
38*882aa7c7SMatt Gilbrideresponse to any instances of unacceptable behavior.
39*882aa7c7SMatt Gilbride
40*882aa7c7SMatt GilbrideProject maintainers have the right and responsibility to remove, edit, or reject
41*882aa7c7SMatt Gilbridecomments, commits, code, wiki edits, issues, and other contributions that are
42*882aa7c7SMatt Gilbridenot aligned to this Code of Conduct, or to ban temporarily or permanently any
43*882aa7c7SMatt Gilbridecontributor for other behaviors that they deem inappropriate, threatening,
44*882aa7c7SMatt Gilbrideoffensive, or harmful.
45*882aa7c7SMatt Gilbride
46*882aa7c7SMatt Gilbride## Scope
47*882aa7c7SMatt Gilbride
48*882aa7c7SMatt GilbrideThis Code of Conduct applies both within project spaces and in public spaces
49*882aa7c7SMatt Gilbridewhen an individual is representing the project or its community. Examples of
50*882aa7c7SMatt Gilbriderepresenting a project or community include using an official project e-mail
51*882aa7c7SMatt Gilbrideaddress, posting via an official social media account, or acting as an appointed
52*882aa7c7SMatt Gilbriderepresentative at an online or offline event. Representation of a project may be
53*882aa7c7SMatt Gilbridefurther defined and clarified by project maintainers.
54*882aa7c7SMatt Gilbride
55*882aa7c7SMatt GilbrideThis Code of Conduct also applies outside the project spaces when the Project
56*882aa7c7SMatt GilbrideSteward has a reasonable belief that an individual's behavior may have a
57*882aa7c7SMatt Gilbridenegative impact on the project or its community.
58*882aa7c7SMatt Gilbride
59*882aa7c7SMatt Gilbride## Conflict Resolution
60*882aa7c7SMatt Gilbride
61*882aa7c7SMatt GilbrideWe do not believe that all conflict is bad; healthy debate and disagreement
62*882aa7c7SMatt Gilbrideoften yield positive results. However, it is never okay to be disrespectful or
63*882aa7c7SMatt Gilbrideto engage in behavior that violates the project’s code of conduct.
64*882aa7c7SMatt Gilbride
65*882aa7c7SMatt GilbrideIf you see someone violating the code of conduct, you are encouraged to address
66*882aa7c7SMatt Gilbridethe behavior directly with those involved. Many issues can be resolved quickly
67*882aa7c7SMatt Gilbrideand easily, and this gives people more control over the outcome of their
68*882aa7c7SMatt Gilbridedispute. If you are unable to resolve the matter for any reason, or if the
69*882aa7c7SMatt Gilbridebehavior is threatening or harassing, report it. We are dedicated to providing
70*882aa7c7SMatt Gilbridean environment where participants feel welcome and safe.
71*882aa7c7SMatt Gilbride
72*882aa7c7SMatt GilbrideReports should be directed to *[PROJECT STEWARD NAME(s) AND EMAIL(s)]*, the
73*882aa7c7SMatt GilbrideProject Steward(s) for *[PROJECT NAME]*. It is the Project Steward’s duty to
74*882aa7c7SMatt Gilbridereceive and address reported violations of the code of conduct. They will then
75*882aa7c7SMatt Gilbridework with a committee consisting of representatives from the Open Source
76*882aa7c7SMatt GilbridePrograms Office and the Google Open Source Strategy team. If for any reason you
77*882aa7c7SMatt Gilbrideare uncomfortable reaching out to the Project Steward, please email
78*882aa7c7SMatt Gilbride[email protected].
79*882aa7c7SMatt Gilbride
80*882aa7c7SMatt GilbrideWe will investigate every complaint, but you may not receive a direct response.
81*882aa7c7SMatt GilbrideWe will use our discretion in determining when and how to follow up on reported
82*882aa7c7SMatt Gilbrideincidents, which may range from not taking action to permanent expulsion from
83*882aa7c7SMatt Gilbridethe project and project-sponsored spaces. We will notify the accused of the
84*882aa7c7SMatt Gilbridereport and provide them an opportunity to discuss it before any action is taken.
85*882aa7c7SMatt GilbrideThe identity of the reporter will be omitted from the details of the report
86*882aa7c7SMatt Gilbridesupplied to the accused. In potentially harmful situations, such as ongoing
87*882aa7c7SMatt Gilbrideharassment or threats to anyone's safety, we may take action without notice.
88*882aa7c7SMatt Gilbride
89*882aa7c7SMatt Gilbride## Attribution
90*882aa7c7SMatt Gilbride
91*882aa7c7SMatt GilbrideThis Code of Conduct is adapted from the Contributor Covenant, version 1.4,
92*882aa7c7SMatt Gilbrideavailable at
93*882aa7c7SMatt Gilbridehttps://www.contributor-covenant.org/version/1/4/code-of-conduct.html
94