* The option is available in Status bar settings,
as per our additions. Remove duplicate to improve UX.
Change-Id: I60a737617f192f5f0699ce50cfc3edc52c862492
The ManagedProvisioning xml's were moved in Pie.
Also added missing managed_device and managed_user xml's.
This fixes 'Android for Work'.
REF: ebe73b6e94b6a9f94d67
Change-Id: If911b4ee1890600e47af73c7fe0fcca4dc73eb26
We're using circular shape for adaptive icons,
by turning roundIcons on we either get
better circular icons (for apps such as Chrome) or
the same icons as before.
Trebuchet will still allow to swap icons shape
Change-Id: If64ecb427b98e099c55fd3eebdb49dad9cb3dbf2
Signed-off-by: Joey <joey@lineageos.org>
Pie's date in the notification panel is screwed up with 0 padding sadly.
(observe the date above the wifi toggle)
Before: https://ibb.co/jAQxVp
After: https://ibb.co/n7BRO9
Change-Id: I85b51c9c6e74789bef9f7c30443fa019c093f20f
Android for Work (AfW) has 'Work Profiles' that allow separated profiles
to be created so employers can allow employees to have work e-mail on
their phones (for example).
To work properly the 'ManagedProvisioning' module needs to have a proper
set of vendor required apps specified in the
'vendor_required_apps_managed_profile.xml' file. This is the task of the
OEM so that they can specify which apps will replace stock apps. This is
the reason why the stock AOSP code is blank.
There is a set of minimum defaults needed as specified in Android documentation:
https://source.android.com/devices/tech/admin/implement#required_apps
(They give an example from a Nexus phone)
With the default set apps correctly specified Google's open source test code
'Test DPC' should be able to complete successfully.
https://github.com/googlesamples/android-testdpc/
(Also available on Google Play: Example code distributed by
Google to help developers implement)
The changes contained here allow LineageOS to successfully create a
'Work Profile' with 'Test DPC'.
Change-Id: I6b8ccb53149e9070712eac329e44f6c72f812410
(cherry picked from commit ac0cb02076386aff20c0af164845a89308b4dff9)
The DocumentsUI overlay needs to be updated:
* the DocumentsUI package moved from
frameworks/base/packages/DocumentsUI
to packages/apps/DocumentsUI
* the tag "productivity_device" in res/values/config.xml
has been renamed to "show_documents_root"
Change-Id: Id9028e5b92a98ac1f9fdb34cb5a0222be70d8596
Enables the setting to have wifi turn on automatically
when you're near high quality saved networks.
Change-Id: Id61c3f5c655322e54c015f55b6f389b835c27fe5
* Google changed NTP server to time.android.com since 8.0,
but for obvious reason, it's inaccessible in China.
* Switch to NTP server used in previous Android revisions
when China SIM inserted to make Chinese users happy.
Change-Id: Iaee63c64cae904b38f6bcec85ed6b0be1dbf3765
For the new icon set we'll be defaulting to a circular
mask that better suits our brand
Change-Id: Id221e7b0d07751929658862d4b1ea91412e93555
Signed-off-by: Joey <joey@lineageos.org>
* The anti-falsing implementation from HumanInteractionClassifier
regularly prevents easy swipe to unlock or to pattern / pin
on the keyguard lockscreen, requiring multiple attempts
until accepted due to a hardcoded evaluation (5.0f)
while normal usage shows better results without it
* Another solved situation is remote device access like
Vysor or TeamViewer where the device is almost impossible
to swipe properly from a computer client
Change-Id: I1caf603bc6a3bf7794af724b8e48a9ebb96da971
* We shouldn't be changing the default behaviour anyway, plus
Airplane Mode toggle is horrid on 8.1 right now
Change-Id: Ie795443f840e023f0c67f2a6729a7d702bc37cd5
* Change Ibf1370ff3cb539a9a54002a8704922744a3ca5d7 on fw/base
added support for a security feature. This feature listens
for multiple back button presses in succession and then
returns the user to their home screen.
Change-Id: I5a386782ae2dcb0898491e1af48a73d6fb74a181
Globally enable full alarm info in quick settings drawer.
Screenshots: https://goo.gl/photos/ycuvZZFD1ssyWu8B6
This detailed info is pretty useful why not enable it for all devices.
Change-Id: I46ccc3547922b6ab5fdcf8798bd5269b7465a92d
Signed-off-by: Sebastian Haderecker <sebastian.haderecker@gmail.com>
With Android N this feature became less relevant since a subset of
the toggles is available without fully expanding the notification
panel. This gives better access to the notifications with almost no
functionality loss.
Change-Id: Idb66472b77e60f4ae753c5dd00f6588566cc3c63
As of fw/b change I14365389990eb06daaa127f5db66df45abf6c064,
we now have an option to long-press on power to enable torch.
To support this feature, we need to enable long-press on power
while the device is still non-interactive.
Change-Id: I4e2b4af86d397f68e119963054c33fd890c77cc5
Chrome Stable and Google Webview had incorrect
signatures. That was due to an incorrect method
of determining the right signature.
That mistake wasn't noticed because Android
disables the signature check on "userdebug" and
"eng" builds. It is only enabled on "user" builds.
So this commit replaces the wrong signatures
of Chrome Stable and Google Webview by the
correct ones and thus makes them avaliable
webview providers on "user" builds.
Main credits go to @KreAch3R for his
extensive research on the issue.
Change-Id: I081783b59254bfed0b2e3568ba8ae2801d86efea
Signed-off-by: Alex Naidis <alex.naidis@linux.com>
The framework disables aggressive power-save modes when appropriate,
such as when the device lacks a significant motion detector.
Thus, instead of enabling it in each device tree,
enable it by default for all devices.
Change-Id: I1999b04876f1ddce1574c050b6bc582e9a9a96da
If Gapps are installed, better webview providers
become avaliable.
This commit adds support for those and makes the system
choose the best provider: Chrome Stable>Google Webview>AOSP Webview
It also allows the user to choose between additional
providers from Play Store: Chrome Beta, Chrome Dev and Chrome Canary.
This patch is a collobarative work of:
mfonville <maarten.fonville@gmail.com> @mfonville
rapperskull <rapper.skull@hotmail.it> @rapperskull
Arne-Christian Blystad <arne.christian.blystad@bartec-pixavi.com> @Blystad
Alex Naidis <alex.naidis@linux.com> @TheCrazyLex
Bugfixes and move to an overlay by blunden <blunden2@gmail.com>
You can find more information on this topic here: opengapps/aosp_build#76
Change-Id: I006d814b7c12ffe4f29cd865c9d4cc6a60bc7783
Make sure that the example overlay for configuring a product's
default-active backup transport names the latest incarnation.
Change-Id: I867062f703d3b5f39d40736805ba15f0d21b1afd
Rebuild those for which source wordlists are available.
Also, remove a couple of redundant ones provided by LatinIME
Change-Id: Ida10e7523f1af760a8fa7866dcea2caf16903d90
This removes the empty string here since it was overwriting anything
declared in our usual places for.
Change-Id: Ia46cc45938dfaa9a66014bfdbe8c3fd097298742