Android Application Settings
Contents
The Sailfish OS settings should be applied in Android apps, too. However, there may be some glitches, i.e., not everything works that way. Hence it may be necessary to access the Android settings and try to adjust them.
The most often needed settings are the permissions to access certain services and the notifications from various apps shown on the screen.
Adjusting the settings of Android App Support of Sailfish OS
The Settings app of Sailfish OS has the item AndroidTM App Support almost at the end of the page, in the section “Info”.
Android App Support is a dedicated run environment for Android apps on top of Sailfish OS. It can be thought of as a kind of sandbox for playing Android apps in it. This sandbox sets limits on what the Android apps can do. Having Android App Support running in the background consumes system resources, including the battery.
You can decide if the Android App Support is automatically started when you restart your phone or not until it is really needed. If you leave it OFF (i.e., the switch light in front of “Start Android App Support on bootup” is dimmed) then the Android service would be started only when you open an Android app on your phone. If Android App Support is OFF then the background services of various Android apps (e.g. messengers) cannot work. This implies that messaging apps, for instance, cannot communicate. On the positive side, the battery will last longer.
The other option to start the Android service is to do it manually by tapping the Start button at the bottom of the said menu page. If you have had Android App Support running you can stop it with the Stop button. Note that only one of these two buttons is visible at a time.
Accessing the settings of an individual Android app
The “Open Android settings” button and Android settings app are not available on products with earlier versions (4.1 and 4.4.) of Android App Support (Jolla Phone, Jolla Tablet, Jolla C, Xperia X). The instructions below are for Xperia XA2, Xperia 10, Xperia 10 II and Xperia 10 III.
1) Go to Settings > Apps > [name-of-an-Android-app]
We are looking at the settings of WhatsApp application in the example shown in Pic 2.
2) Tap the button “Open AndroidTM settings” (see Pic 2 above)
3) Tap “Permissions” (Pic 3) to check or change the permissions of this particular app.
4) Consider checking the notifications, storage, and other settings, too.
Accessing the common Android settings from the command line
It is possible to access the common settings of all Android apps by using the command-line interface (CLI).
For this, you need to enable the Developer mode, so that you get the Terminal app to your phone.
This CLI approach requires the Android App Support version 8.1 (or higher) which implies Xperia XA2, Xperia 10, Xperia 10 II and Xperia 10 III products. The command does not work on Xperia X nor on Jolla products
Do as follows:
1) Open the Terminal app
2) Run the command below:
devel-su -p apkd-launcher com.android.settings
The following view appears. In there, it is possible to adjust the settings in each category.
An example: Turning the touch screen sounds off
Some Android apps produce sounds on every tap to the touch screen which may turn annoying after a while. At least on earlier Sailfish OS releases, the Sailfish settings could not prevent these sounds from playing. To silence them:
- Open the common settings, like above
- Tap Sound
- Tap Advanced
- Turn Touch sounds off
- Close Android settings.
Further reading
Learn more about Android App Support by clicking the links below.
- What Android apps does Sailfish OS support and how do I get them? Read the document Android Application Support
- How to get rid of Android App Support? Read this: Uninstalling Android App Support.