* This has been untouched since 2016 and it depends on LockClock
which has been dropped and was also untouched for years.
There is no good weather provider without API restrictions,
so just remove this dead code.
Change-Id: I6540006ce0d7339b7794b6ab207593afb161aa3d
This partially reverts commit 4068ca7095.
Reason for revert:
* Currently Android (PackageManagerService) scans for packages (APKs)
only in ANDROID_ROOT/framework/ along the standard
$partition/{app,priv-app} directories.
* By moving to system_ext we accidentally broke the addition of
AndroidManifest entries to the runtime (resources and assets weren't
affected as handled manually/differently).
Note: jars can still be loaded with no issues from this partition.
* Instead of allowing system_ext to provide framework packages and
pending (future) AOSP discussion to include system_ext to the allowed
path, simply move back the package.
Change-Id: I352c1518ed43e0631abaebccc1e2093b09d49b6f
The service will offer updateUserConfig, getUserConfig, and
userConfigContains methods, which will be used from LineageParts and
fwb. The service will also observe Settings.Global.BUGREPORT_IN_POWER_MENU
and Settings.Secure.LOCKDOWN_IN_POWER_MENU to update the GlobalActions
dialog when these are updated.
Signed-off-by: Gegham Zakaryan <zakaryan.2004@outlook.com>
Change-Id: I46663ab1ffe6f8d8b2a3dc7dbe54a65b7a62046a
Partially follow the order of config_globalActionsList and bring emergency and lockdown to top. Some of the order isn't followed as some items such as users and airplane don't exist in AOSP's list but are much more frequently used than, say, bugreport.
Signed-off-by: Gegham Zakaryan <zakaryan.2004@outlook.com>
Change-Id: Ie49e77fd99ad0f0dee7c6c7956fc7c1d0474ee63
Make sure that the option has effect ONLY when battery is uh...
fully charged.
Additionally add previously missing logging.
Change-Id: Ib232d0ea6652230a2435be6931f964dc04a30f71
* In order to be able to reference this package
in non-platform packages, we need to compile
this against the current sdk
Change-Id: Id87059d876854907d947e5802a04db634435c6ed
* Allow each item to carry additional infos:
<item>
<name>SomeNameHere</name>
<number>1234</number>
<someTag>someValue</someTag>
</item>
* We treat all but <number> as optional
* This way we can show info we have and skip what
we don't know
Change-Id: I724d9ac25ce8a0ae7f69ec513ba9796b06c9e7f2
* In order to also mark numbers as sensitive when calling to your home
country, check the sim's operator as well
* Also move the fallback mechanism out of the "else" in order to perform
as many checks as possible to not miss any case of hiding
Change-Id: I23b67145406793506be657df8b62f5d09b5a2a18
* In certain network situations (e.g. while changing from wifi to
cellular) it can happen, that the HashMap is modified while the stats
are currently being recalculated
* We can prevent this by moving adding and removing of any network
to the same handler so the callbacks can happen without breaking the
flow
* Move the existing code in handleMessage into some little helper
methods so it stays simple and readable
Fixes: https://gitlab.com/LineageOS/issues/android/-/issues/2870
Change-Id: I38c0c27a4f76fab5aeee013beab346c088bbbd59
On FDE we check wether keyguard is enabled before starting non-core
services like ProfileManager.
All method calls are already guarding RemoteException for a binder
fail, so just throw one if getService() fails.
Change-Id: I44a3a5ea56a5277d84d96a0bc2c7135433811e20