Upgrade api level to Android 10, implement new sharing api (#1537)
* upgrade api level to Android 10, resolve compile errors * use androidx.preference.PreferenceManager instead of deprecated platform class * add hyphenation to important TextViews * setBottomSheetCallback -> addBottomSheetCallback * implement new sharing api * improve TuskyTileService so it shows account picker when multiple accounts are present * delete unused AccountChooserService * fix test * improve ShareShortcutHelper * remove debug log statement * improve image loading fallback behavior in ShareShortcutHelper * improve behavior on foldable devices
This commit is contained in:
parent
0466b260fc
commit
78b5aa8baf
46 changed files with 283 additions and 265 deletions
|
@ -1,20 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shortcuts xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<shortcut
|
||||
android:icon="@mipmap/ic_shortcut_compose"
|
||||
android:shortcutId="com.keylesspalace.tusky.Compose"
|
||||
android:shortcutLongLabel="@string/compose_shortcut_long_label"
|
||||
android:shortcutShortLabel="@string/compose_shortcut_short_label">
|
||||
|
||||
<intent
|
||||
android:action="android.intent.action.VIEW"
|
||||
android:targetClass="com.keylesspalace.tusky.SplashActivity"
|
||||
android:targetPackage="com.keylesspalace.tusky.test"/>
|
||||
<intent
|
||||
android:action="com.keylesspalace.tusky.Compose"
|
||||
android:targetClass="com.keylesspalace.tusky.ComposeActivity"
|
||||
android:targetPackage="com.keylesspalace.tusky.test"/>
|
||||
|
||||
</shortcut>
|
||||
|
||||
</shortcuts>
|
Loading…
Add table
Add a link
Reference in a new issue