The aar target not only is broken, but it has become useless
since there's no resource in the sdk/res/res path.
A working aar would be no different than the jar produced
by the "org.lineageos.platform.sdk" target.
Change-Id: I06c482c5cacab035cd1dad96a7760d4d6cf24ebf
SSIDs can contain ampersands, e.g., "V6 Cafe & Gift Shop". The & and
possibly other special chars need to be escaped when writing
profiles.xml.
Change-Id: Iffef33de22c37d8cb4b5048b92c9ef9c77e18819
* Calling forceStopPackage with USER_CURRENT won't kill the app when
started e.g. via "Shelter" work profile
* Find the uid of the current foreground app and pass that one
instead of UserHandle.USER_CURRENT
* Note: UserHandle.USER_ALL would also kill the app, but all instances
of it - which we don't want
Test:
- Go to Settings->System->Buttons and enable "Kill foreground app"
as action for "Long edge swipe" - test it for PlayStore
- Install Shelter and setup your profile
- Open PlayStore from work profile
- Long swipe the edge:
- Before: Toast appears, app stays open
- After: Toast appears, app is actually closed
- Additionally: Open PlayStore from Work and Non-Work profile
- Long swipe edge for just work profile one and switch to own profile
instance: App is not killed (expected, we just killed work instance)
Change-Id: I82154a6c021527013269f7ee2d1c46fedc14bf7c
* Made unmodified instance variables final
* Made single use instance variables local
* Optimized imports
* Updated all deprecated code
Change-Id: Ifbf76031760c622e7efd667f82998adbb7d798f7
* Pixels have switched to the new AIDL HAL, so V1_3 doesn't exist there
* Switch to directly checking DPM since that's where we found this
code in the first place, and it'll keep getting updated.
Change-Id: Icfc30b73984e82809c3838c421e05da7addaa6cb
Because of some nested dependency breakage, we can no longer include
Android libraries in main SDK lib, therefore we are moving all
preference related code to a separate package that Settings/LineageParts
will depend on.
Change-Id: Iea379a580a08ea13f71e3503aa096ba0ed7e7cef
* Part of the new iconset made by Asher Simonds
Includes
* LineageSettingsProvider
* LineageOS System
Co-authored-by: Michael W <baddaemon87@gmail.com>
Change-Id: Ia3241f19e4e3e8ad8ed7688baf6a7dab7c0d3c0e
ATV targets often have special keys for apps, for example Netflix.
Set a reasonable set of defaults for atv. Remote keylayouts can
be configured to use these keycodes. If for some reason a device
has a keylayout that cannot be modified, the list can be overlaid.
Co-authored-by: Aaron Kling <webgeek1234@gmail.com>
Change-Id: Ied3ed5d68671148a3729b1f0e1a2b15c4b080239
Making this change allows to determine
automatically the proper user ID depending on the
context used to create the resolver
Change-Id: I08021fa56856ef4792da780bca1c0e77526e72a6