How to submit changes upstream
==============================

The upstream instructions are at
https://wiki.lineageos.org/how-to/submitting-patches/

1. Follow the _Initial setup_ instructions
2. Instead of the _Preparing the build environment_ instructions, run commands like this:

    mkdir lineage
    cd lineage
    repo init -u https://github.com/LineageOS/android.git

3. If you want everything, you can run `repo sync` but that could take hours. Since we only
   want one small project, it's easier to sync exactly what we want. You can look for the
   project in https://github.com/LineageOS/android . In this case, `snippets/lineage.xml`
   tells us the path is `vendor/apn` for https://github.com/LineageOS/android so let's run

   repo sync vendor/apn

4. Now follow the _Submitting to Gerrit_ instructions.

How to update this package
==========================
To update this package to a new upstream version, run
./debian/update_upstream_version.py
git clean -fdx
