* 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