mirror of
https://github.com/Universal-Debloater-Alliance/universal-android-debloater-next-generation.git
synced 2026-08-09 15:19:11 +02:00
docs: add proper source for package-ID format
This commit is contained in:
parent
94d8321e2b
commit
0a81642567
1 changed files with 3 additions and 2 deletions
|
|
@ -270,8 +270,9 @@ pub const fn is_pkg_component(s: &[u8]) -> bool {
|
|||
#[derive(Debug, Deserialize, Serialize, Clone, PartialEq, Eq, Hash)]
|
||||
pub struct PackageId(Box<str>);
|
||||
impl PackageId {
|
||||
/// Creates a package-ID if it's valid according to
|
||||
/// <https://developer.android.com/build/configure-app-module#set-application-id>
|
||||
/// Creates a package-ID if it's valid according to:
|
||||
/// - <https://developer.android.com/guide/topics/manifest/manifest-element.html#package>
|
||||
/// - <https://developer.android.com/build/configure-app-module#set-application-id>
|
||||
pub fn new(p_id: Box<str>) -> Option<Self> {
|
||||
let mut components = p_id.split('.');
|
||||
for _ in 0..2 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue