Skip to content

Commit 686b410

Browse files
authored
Merge pull request #1245 from Universal-Debloater-Alliance/doc-adb-pack-url
docs: add proper source for package-ID format
2 parents 94d8321 + 0a81642 commit 686b410

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/core/adb.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,8 +270,9 @@ pub const fn is_pkg_component(s: &[u8]) -> bool {
270270
#[derive(Debug, Deserialize, Serialize, Clone, PartialEq, Eq, Hash)]
271271
pub struct PackageId(Box<str>);
272272
impl PackageId {
273-
/// Creates a package-ID if it's valid according to
274-
/// <https://developer.android.com/build/configure-app-module#set-application-id>
273+
/// Creates a package-ID if it's valid according to:
274+
/// - <https://developer.android.com/guide/topics/manifest/manifest-element.html#package>
275+
/// - <https://developer.android.com/build/configure-app-module#set-application-id>
275276
pub fn new(p_id: Box<str>) -> Option<Self> {
276277
let mut components = p_id.split('.');
277278
for _ in 0..2 {

0 commit comments

Comments
 (0)