Skip to content
This repository was archived by the owner on Nov 25, 2022. It is now read-only.

Conversation

@VD171
Copy link
Contributor

@VD171 VD171 commented Sep 12, 2022

No description provided.

@M66B
Copy link
Owner

M66B commented Sep 12, 2022

It seems new hook definitions are being added for Android versions before Android 13. This is inevitably going to cause problems for existing users and therefore I can't accept this commit.

Can you please tell me why these new hook definitions are necessary on Android 13 ?

@VD171
Copy link
Contributor Author

VD171 commented Sep 12, 2022

All added hooks has same return type and discards parameters/arguments.
So, functionality will not be affected.

Old hooks like "getInstalledPackages(int) and "getInstalledApplications(int)" were deprecated on API Level 33.
They exist since API Level 1 but probably they will be removed soon.
As we can see here:
https://developer.android.com/reference/android/content/pm/PackageManager

@VD171
Copy link
Contributor Author

VD171 commented Sep 12, 2022

I've committed some updates for webview constructors too.

@VD171 VD171 changed the title [SDK 33] Update Hooks Update Hooks up to SDK 33 Sep 12, 2022
@VD171
Copy link
Contributor Author

VD171 commented Sep 12, 2022

Here is the list of existing hooks deprecated on API Level 33:

  • public abstract List getInstalledApplications (int flags)
    Added in API level 1
    Deprecated in API level 33

  • public abstract List getInstalledPackages (int flags)
    Added in API level 1
    Deprecated in API level 33

  • public abstract List getPackagesHoldingPermissions (String[] permissions, int flags)
    Added in API level 18
    Deprecated in API level 33

  • public abstract List queryIntentActivities (Intent intent, int flags)
    Added in API level 1
    Deprecated in API level 33

  • public abstract List queryIntentActivityOptions (ComponentName caller, Intent[] specifics, Intent intent, int flags)
    Added in API level 1
    Deprecated in API level 33

  • public abstract List queryIntentContentProviders (Intent intent, int flags)
    Added in API level 19
    Deprecated in API level 33

  • public abstract List queryIntentServices (Intent intent, int flags)
    Added in API level 1
    Deprecated in API level 33

@M66B
Copy link
Owner

M66B commented Sep 13, 2022

I will probably have some time end of this week to look into this more closely.

@VD171
Copy link
Contributor Author

VD171 commented Sep 13, 2022

Allright, my dear friend.
Thank you very much for your time and work :-)
Have a nice day !

M66B added a commit that referenced this pull request Sep 16, 2022
M66B added a commit that referenced this pull request Sep 16, 2022
@M66B
Copy link
Owner

M66B commented Sep 16, 2022

Since I don't want to make changes pre-Android 13, I have only added new hook definitions for minSdk 33.

@M66B M66B closed this Sep 16, 2022
@VD171
Copy link
Contributor Author

VD171 commented Sep 16, 2022

Glad to hear you !
Thank you very much for the best xposed module ever.
Best wishes ❤️

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants