Skip to content

Commit

Permalink
vendor: apns: Add auth_type explanation
Browse files Browse the repository at this point in the history
* Since it's unclear what the numbers are, make it easier to add a new
  apn by specifying the possible values in a comment at the top
* Also add missing copyright (verified, first LineageOS commit was
  indeed 2016)

Change-Id: Icaf292fd79a903bcf9ef5a3813f6288cffc468ad
(cherry picked from commit 7aded09)
  • Loading branch information
BadDaemon committed Dec 14, 2021
1 parent d636573 commit b4af84e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions prebuilt/common/etc/apns-conf.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<!--
/*
** Copyright 2006, Google Inc.
** Copyright 2016-2021 The LineageOS project
**
** Licensed under the Apache License, Version 2.0 (the "License");
** you may not use this file except in compliance with the License.
Expand All @@ -19,6 +20,7 @@

<!-- use empty string to specify no proxy or port -->
<!-- This version must agree with that in apps/common/res/apns.xml -->
<!-- Possible values for auth_type: 0 (None), 1 (PAP), 2 (CHAP), 3 (PAP or CHAP) -->
<apns version="8">
<apn carrier="Test Internet" mcc="001" mnc="01" apn="VZWINTERNET" type="default,dun,supl" protocol="IPV4V6" roaming_protocol="IPV4V6" />
<apn carrier="Test FOTA" mcc="001" mnc="01" apn="VZWADMIN" type="fota" protocol="IPV4V6" roaming_protocol="IPV4V6" />
Expand Down

0 comments on commit b4af84e

Please sign in to comment.