Files
Kshitij Gupta 0a7d2f2e19 Lawnchair-11: Fix loads of crashes, fix hiddenapi usage, fix icon sizes (#90)
* Lawnchair: Initial fixup to launch the app

- Still needs some hiddenapi, to launch:
  adb shell settings put global hidden_api_policy 1

- To test hiddenapi again, run:
  adb shell settings delete global hidden_api_policy

* Lawnchair: Disable use of several hiddenapis

- SystemUISharedLib and Quickstep are notorious with usage of
  several hiddenapis. Now that we can't readily access them, check
  and fail hiddenapi calls gracefully.
- Note: We may need to do this in several other places too

* Fix smartspace widget source

* Lawnchair: Moar hiddenapi nuke

* AlphabeticalAppsList: Ensure mAdapterItems is not empty

* Lawnchair: DeviceFlag: tryAccess before using Hidden APIs

* Lawnchair: Clean up tryAccess checks

* fixup!: Restore FloatingIconView, only refactor for AdaptiveIconCompat

- All is being done in ClipIconView

* Lawnchair: Refactor ClipIconView for AdaptiveIconCompat

* Lawnchair: Ensure iconSizePx is never 0

* Lawnchair: Don't createPredictor if no hidden api access

* InvariantDeviceProfile: Add missing fields to copy constructor, populate several sizes correctly

* Launcher3: Don't try whitelist on R

- It's gonna fail anyways ;-; at least keeps the log clean

* Lawnchair: Fix StatsLogManager for non-hiddenapi use

* AdaptiveIconCompat: Control some more logspew

* Lawnchair: Fixes to desktop icon sizes and device profiles

* Fall back to default behaviour if Lawnchair isn’t the Recents provider

Co-Authored-By: Amir Zaidi <azaidi@live.nl>

* Lawnchair: Welcome back hiddenapi, we missed you. Also fix icon sizes

- Also some initial attempts to fix icon packs

* Lawnchair: Address tryAccess review, drop tryWhitelist in favour of ChickenHook

* `HiddenApiCompat`: Remove unused classes

* DotRenderer: Restore to current change

- Not sure why I commented this out, but it works now

* QuickstepCompat: Drop init method for static block

- Unneeded now that we aren't checking hiddenapi everywhere

* HiddenApiCompat: Add missing ThreadedRenderer import

* QuickStepContract: Remove extraneous whitespace

* Revert commit `083e37e`, skipping ‘DeviceFlag.java’

* IconShape: Drop unused methods

Co-authored-by: Suphon Thanakornpakapong <paphonb@gmail.com>
Co-authored-by: Patryk Michalik <contact@patrykmichalik.com>
Co-authored-by: Amir Zaidi <azaidi@live.nl>
2021-02-26 23:34:59 +05:30
..
2018-11-02 14:18:45 -07:00
2019-10-17 23:17:56 +07:00