Commit 279aad0
committed
[AppInfo] Open "Open by default" settings in the "Open links" dialog
If App Manager does not have enough permission to manage domains or links, the
"Open links" dialog has a button that directs the user to Android Settings. If
the app has the "Open by default" page, clicking on the button will open that
page instead of the "App info" page (which is still used as a fallback method).
Signed-off-by: Muntashir Al-Islam <muntashirakon@riseup.net>1 parent c061078 commit 279aad0
2 files changed
Lines changed: 15 additions & 5 deletions
File tree
- app/src/main/java/io/github/muntashirakon/AppManager
- details/info
- utils
Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| 159 | + | |
159 | 160 | | |
160 | 161 | | |
161 | 162 | | |
| |||
898 | 899 | | |
899 | 900 | | |
900 | 901 | | |
901 | | - | |
| 902 | + | |
902 | 903 | | |
903 | 904 | | |
904 | | - | |
905 | | - | |
| 905 | + | |
| 906 | + | |
| 907 | + | |
906 | 908 | | |
907 | 909 | | |
908 | 910 | | |
| |||
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
| 9 | + | |
| 10 | + | |
9 | 11 | | |
10 | | - | |
11 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
12 | 20 | | |
13 | 21 | | |
14 | 22 | | |
| |||
0 commit comments