Commit Graph

257 Commits

Author SHA1 Message Date
Oasis
84bef0f8fb Merge branch 'dev'
# Conflicts:
#	library/src/main/java/com/oasisfeng/android/content/pm/LauncherAppsCompat.java
#	library/src/main/java/com/oasisfeng/android/os/UserHandles.java
#	library/src/main/java/com/oasisfeng/androidx/lifecycle/ViewModelProviders.java
#	library/src/main/java/com/oasisfeng/hack/Hack.java
#	library/src/main/java/com/oasisfeng/network/ForwardingHttpURLConnection.java
#	library/src/test/java/com/oasisfeng/hack/HackTest.java
2019-07-09 17:18:53 +08:00
Oasis
45a51d9eaf UPDATE: Optimize some of the dependencies as "runtimeOnly".
This could help reducing building time and the size of debug APK.
2019-07-09 17:11:49 +08:00
Oasis
1c58ab64dd UPDATE: Extract the ViewModelStoreOwner role from LifecycleActivity & LifecycleFragment into derived LifecycleViewModelActivity & LifecycleViewModelFragment. 2019-07-09 17:11:47 +08:00
Oasis
ba54ff06b3 UPDATE: Minor tweaks. 2019-07-09 17:11:45 +08:00
Oasis
61ea0bcd85 UPDATE: Minor additions and tweaks. 2019-07-03 23:24:49 +08:00
Oasis
7df83723ab UPDATE: Add support for getter & setter style method in Hack.Mirror<T> interface to mirror member field. 2019-06-29 17:39:18 +08:00
Oasis
70750acc7c UPDATE: Add @SourceClass for mirroring hidden class with Hack.Mirror<T>. 2019-06-26 18:31:46 +08:00
Oasis
17ba44f359 FIX: Method with primitive return type in Mirrored hack class is not working. 2019-06-26 18:29:59 +08:00
Oasis
5e1d0bd272 UPDATE: Add NonNullMutableLiveData.notifyChange() for explicit change notifying. 2019-06-21 11:58:09 +08:00
Oasis
4cbfc2b195 UPDATE: Add new overload of SafeAsyncTask.execute(), accepting both Consumer<Activity> as task and finish procedure. 2019-06-21 11:57:06 +08:00
Oasis
a687933e99 ADD: Hack 2.0 with mirror interface, for simplified use and improved readability. 2019-06-10 17:49:02 +08:00
Oasis
5bcdce2e07 UPDATE: Minor tweaks to UserHandles & @UserIdInt. 2019-05-19 15:32:35 +08:00
Oasis
ecda71484e FIX: Services.peekService(). 2019-05-19 15:32:06 +08:00
Oasis
d6a5cc9dd1 UPDATE: Introduce more specific HackedStaticField (instead of HackedTargetField) for static field hacking in Hack. 2019-03-04 22:35:23 +08:00
Oasis
1121295f90 UPDATE: Hack now supports lazy-resolve for class by name. 2019-03-04 12:04:55 +08:00
Oasis
f38140826b UPDATE: Minor nullness annotation tweaks to class Hack. 2019-03-01 17:57:22 +08:00
Oasis
162df132b5 UPDATE: Minor tweaks. 2019-02-22 23:48:17 +08:00
Oasis
b45b6aeb93 UPDATE: Minor tweaks. 2019-02-22 22:07:07 +08:00
Oasis
e236242c8c ADD: HostRemappingHttpsUrlConnection for global HTTPS host remapping. 2019-02-22 22:07:03 +08:00
Oasis
ca18dfa031 ADD: Compatibility helper class PackageManagerCompat with getPackageUid(). 2019-02-22 22:03:13 +08:00
Oasis
49b7e02fb4 UPDATE: Make UserHandles.MY_USER_HANDLE public, together with new MY_USER_ID. 2019-02-22 22:03:13 +08:00
Oasis
32262fe229 UPDATE: Add new overload ViewModelProviders.of(Application, ViewModelStoreOwner). 2019-02-22 22:03:09 +08:00
Oasis
ef0c716bb9 ADD: New helper class Contexts with startForegroundService(), which returns ComponentName. (unlike ContextCompat) 2019-02-22 21:47:14 +08:00
Oasis
f09a73d4d2 UPDATE: Add LauncherAppsCompat.getApplicationInfoNoThrows(). 2019-02-22 21:47:14 +08:00
Oasis
b45d0d6653 ADD: HostRemappingHttpsUrlConnection for global HTTPS host remapping. 2019-02-17 15:46:45 +08:00
Oasis
5fc30d91ee ADD: Compatibility helper class PackageManagerCompat with getPackageUid(). 2019-02-14 12:36:02 +08:00
Oasis
587808153f UPDATE: Make UserHandles.MY_USER_HANDLE public, together with new MY_USER_ID. 2019-02-13 16:24:06 +08:00
Oasis
5435190ad6 UPDATE: Add new overload ViewModelProviders.of(Application, ViewModelStoreOwner). 2019-02-13 16:23:12 +08:00
Oasis
bd04732f53 ADD: New helper class Contexts with startForegroundService(), which returns ComponentName. (unlike ContextCompat) 2019-01-30 01:00:14 +08:00
Oasis
55b774b443 UPDATE: Add LauncherAppsCompat.getApplicationInfoNoThrows(). 2019-01-30 00:55:28 +08:00
Oasis
f7392bf725 UPDATE: Upgrade to latest version of retrostream, retrofuture and jsr305. 2019-01-21 23:09:47 +08:00
Oasis
badf88bc84 UPDATE: New Snackbars.make() overload with parameter Activity instead of View, assuming CoordinatorLayout with ID "coordinator". 2019-01-21 16:40:43 +08:00
Oasis
3f3636827c UPDATE: Migrate to AndroidX. 2019-01-16 22:18:05 +08:00
Oasis
68b1afd2f7 UPDATE: Add overload of Toasts.show() for CharSequence text. 2018-11-20 22:53:01 +08:00
Oasis
b64fe0299a ADD: Dialogs.buildProgress() returning FluentProgressDialog. 2018-11-20 22:53:01 +08:00
Oasis
503e787267 ADD: Apps.getAppInfo(), getPackageInfo() and getFlagsMatchKnownPackages(). 2018-11-20 22:52:53 +08:00
Oasis
6389d31875 FIX: Always use Theme_Material_Light_Dialog_Alert for Dialogs (non-compat version). 2018-11-17 22:50:38 +08:00
Oasis
62577fbf1f ADD: Versions.getAndroidVersionNumber(). 2018-11-16 17:00:41 +08:00
Oasis
8050bac29c UPDATE: Improve Apps.getAppName() to support app not installed in current managed profile. 2018-11-16 17:00:21 +08:00
Oasis
76f5598054 UPDATE: Add Snackbars.whenSwiped(Runnable callback). 2018-10-18 13:43:03 +08:00
Oasis
033b1c92af UPDATE: Add Scope.tag(String). 2018-10-18 13:31:54 +08:00
Oasis
553b710154 UPDATE: Minor tweaks to Format.elapsedTime(). 2018-10-15 22:49:13 +08:00
Oasis
e876f4fe20 UPDATE: Minor tweaks. 2018-10-10 16:46:14 +08:00
Oasis
5995117147 ADD: Backport of Comparator and Comparators with Java 8 additions. 2018-10-07 17:45:41 +08:00
Oasis
867c706651 UPDATE: Add UserHandles.getAppId() and make getUserId() public. 2018-09-28 17:32:37 +08:00
Oasis
0c730d8086 REVERT: Version of dependency "android.arch.lifecycle" to 1.1.0 (from 1.1.1) to avoid dependency conflict with data-binding. 2018-09-18 17:26:11 +08:00
Oasis
8f35343edf UPDATE: Add IntentFilters.withData(String scheme, String ss, int type). 2018-09-18 11:08:04 +08:00
Oasis
cfccb8fa94 ADD: New class Toasts, initially for thread-safe toast. 2018-09-11 21:26:09 +08:00
Oasis
32cb4a2619 FIX: UserHandles.SYSTEM is null. (with test cases) 2018-09-07 15:45:59 +08:00
Oasis
478ebe89db ADD: Utility class UserHandles. 2018-09-06 17:10:34 +08:00