Files
frameworks_base/core/java/android/net
Junyu Lai 14ac19c709 Fix NetworkTemplate generates non-metered carrier template
From current design, NetworkPolicyManagerService should only
creates metered carrier/mobile templates. However, if someone
calls the hidden API interface or the template was created
before NetworkTemplate#Builder is published. The caller may
create a non-metered carrier template and persist into the
storage.

This CL elimates this possibility and mark non-metered carrier
template non-persistable, so devices could auto-recover from
this symptom after reboot.

Fix: 222382637
Test: TH
Change-Id: Ia7ba3d92a84b8b246a4f11080f6fec0957865650
2022-04-18 16:54:27 +08:00
..
…
2021-10-19 18:45:14 +01:00
…
2022-04-07 18:32:09 +08:00
2021-12-07 21:35:18 +00:00
2021-08-03 19:41:14 +08:00
…
…
2022-03-18 11:24:01 +00:00
2022-03-18 11:24:01 +00:00