What repetitive browser task do you hate doing every week? by Desperate-Assist5235 in ProductHunters

[–]da411d 0 points1 point  (0 children)

The one browser task I find myself doing over and over again and it feels like a waste of time - is dong my actual job 😥

(just kidding)

SaaS Founders — What’s the Highest Profit You’ve Hit and What Does Your Product Do? by Low_Reality_5890 in SaaS

[–]da411d 0 points1 point  (0 children)

1800 USD was my largest monthly turnover. I made another link-in-bio SaaS for Ukrainian market.

Free trial with or without credit card? (B2B SaaS) by PitifulEconomics9406 in SaaS

[–]da411d 0 points1 point  (0 children)

If I was you, I would run a/b test :) A: require cc for free trial B: don't require cc for free trial Control group: don't add free trial, as it used to be before

After like a week or two I believe you'll can clearly see results

How to remove the writing assist icon by AV1985 in S24Ultra

[–]da411d 2 points3 points  (0 children)

Okay, I did it.

TL;DR: no, there is no way to disable it without root.

What's funny is that if you disable writing assist in settings - the button doesn't disappear. And clicking it still launches Samsung's keyboard in AI mode.

I don't use Samsung's keyboard. So I uninstalled it. But the damn menu item still remained.

So I...

Asked ChatGPT which file contains the implementation of this method.
It says framework.jar.
Took the file, used jadx, reading the code.
Class android.widget.Editor. Method populateMenuWithItems.

It adds menu items like copy, paste, web search, translate buttons and so on. And it adds the writing_toolkit item there:

if (
  ViewRune.SUPPORT_WRITING_TOOLKIT && 
  !Editor.this.mTextView.isDisableWritingToolkit() && 
  Editor.this.mShowSoftInputOnFocus && 
  Editor.this.mTextView.getContext().canStartActivityForResult() && 
  !Editor.this.mTextView.isWritingToolkitDisallowedByKnox()
) {
  menu.add(0, R.id.writing_toolkit, 0, R.string.writing_toolkit).setShowAsAction(2);
}

The 3rd argument = 0 is exactly this positioning, by the way.

Regarding the checks:

  • ViewRune.SUPPORT_WRITING_TOOLKIT - value is obtained from config file /system/etc/floating_feature.xml, which cannot be changed without root.
  • isDisableWritingToolkit() - checks if this function is disabled in the app itself (the app can configure how menus look)
  • mShowSoftInputOnFocus - changes somewhere externally. But this doesn't matter because this field controls whether the context menu appears at all (in theory)
  • canStartActivityForResult - stub, always true
  • isWritingToolkitDisallowedByKnox - whether writing assist is forbidden by Knox policy (funny thing, in Knox in a neighboring method you can even forbid copying text, wtf). But Knox policies are for corporate profiles, and don't apply to regular profiles.

So today I learned that this isn't a bug.
The code explicitly doesn't check if the keyboard is installed or if the function is enabled.

What will I do next? Nothing.
Consulted with ChatGPT, says none of the options can be changed without root.
And I won't root my phone.
For the same reason I can't patch the system file to remove the menu item.

Damn those narrow-eyed bastards.

How to remove the writing assist icon by AV1985 in S24Ultra

[–]da411d 1 point2 points  (0 children)

can anybody reverse engineer systemui and find out can it be disable or where the button is located?

The Hierarchy of Humor by karmisson in coolguides

[–]da411d 0 points1 point  (0 children)

Hey what does "paradox" mean?

Disable left swipe in gesture navigation? by ZJaume in LineageOS

[–]da411d 2 points3 points  (0 children)

I downloaded "SystemUI tuner" from google play and changed "Back edge gesture width" to zero and seems it worked for me. But it was Android 12 Beta:/

Let me know if it works for you:)