Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PrivacyGuard/Blacklist #3

Open
wants to merge 74 commits into
base: android-4.4
Choose a base branch
from
Open

PrivacyGuard/Blacklist #3

wants to merge 74 commits into from

Conversation

dnjames
Copy link

@dnjames dnjames commented Jan 12, 2014

Change-Id: I95f4b3ce43967421ee906c31b515b10399fc59c4

dnjames and others added 30 commits January 12, 2014 13:21
Change-Id: I95f4b3ce43967421ee906c31b515b10399fc59c4
Change-Id: I25e8656f93aa517cd5b4e4fae58409d0571a9c6f
Change-Id: I0dc223a38ab7b356f64c2ac6bcefa2db544e44c0
Change-Id: I95f4b3ce43967421ee906c31b515b10399fc59c4
Change-Id: I25e8656f93aa517cd5b4e4fae58409d0571a9c6f
Change-Id: I0dc223a38ab7b356f64c2ac6bcefa2db544e44c0
Change-Id: I910055002e3194eafadcdeb80468011ed62863cc
Change-Id: Ie66a1bbcb13db9219c03af8d74c837323c903b71
Conflicts:
	res/drawable-xhdpi/ic_settings_actived.png
	res/drawable-xhdpi/ic_settings_performance.png
	res/drawable-xxhdpi/ic_settings_actived.png

Change-Id: I50e6838532c9cd209b5dc95b668e87853635f897
Change-Id: Ibab46ec495ddae9d0d53926315578c8e071deca5
Add Cards Ui ELements
drawable/bg_card.xml
cardbg2.9.png

Change-Id: Ie5b1be45c0b3b7e2314fd1d0fdc7851f7ea5528f
Change-Id: Iaa3b0281153ad963258d022015341d837023fe8d
If device is a low-memory one then the key_enable_widget dependency can't be removed.
So, move the logic to disable maximize widget feature for low-memory devices.

PS2: This should work now. Crondog
PS3: Fixed PS2 comments

Signed-off-by: Humberto Borba <humberos@gmail.com>
Change-Id: I2b6aa44e26f6fb9371da7ef61d9e85a13643ba30
http://jira.omnirom.org/browse/OMNI-504

Change-Id: I857ca730dee460b2fdef81fbd0b23d0821f3e0bd
ADB Paranoia mode will reboot the device in the event of the following:
- The device is locked
- An ADB master device is connected
- ADB Paranoia mode is enabled in Development menu
Used in conjunction with device encryption, this should offer decent
protection against malicious adversaries with basic physical access to
your device. This will not help if your device has hardware level
exploits that can be used without rebooting the device, and without
connecting ADB.

Change-Id: Ia92141dc1eb5c1e337f325b860afe6ee11348e2f
add back our navbar and navring tweeks. This is a completly overworked
version compared to the one we carry about a year now. Small glitches
we had are now all fixed. As well it does not need to register extra observers
code was much slimmed down and improved.
Beside that we adapt the 4.4 navbar changes to our system so that it it
consistent with the new 4.4 UI
This patch adds:
- Navbar up to 5 buttons
- navring up to 5 buttons
- dynamic menu behaviour
- landscape navbar options as well now on tablets
- button glow color
- button icon color
- navrign and navbar user can set system or custom icons
- navbar height and width
- enable/disable navbar and navring
- actions are vor navbar and available for the whole system over SlimActions.java
	back
	custom app or activtiy
	home
	kill app
	last app
	notification drawer
	ime switcher
	power menu
	qs pannel
	recents screen
	screen off
	screenshot
	search
	torch if it is available on the device
- navring has targets for handling vib/mute/sound
- added Color class based on blk_jacks idea which first grey an icon out
  and then color it. This gives way better results. As well it fits now
  perfectly with the new 4.4 UI. Put it on a central place so that it is
  from everywhere available. notification shortcuts adapted to the new class
  place
- complete new icons thanks to kroz who has redone all for xxhdpi
- our slim special swipe drag drop press longpress options support
  like on 4.3 this two features
- a lot lot fixes as well on current google code

Change-Id: I463bc668efd3f137fb49c7007e6712b79fde2f39
Well first I want to thanks again for the ideas Jens Doll, Kyrylo Mikos and PA gave us
on 4.3 allready to make our own SlimPie possible. We used partly code from them and added
and changed it in our Slim way to have it for us most usefull.

Well as known SlimPie advantage to other PIEs is that it can bind on every button
press and longpress action like the user want. All SlimActions are available for
every button (so all possible shortcuts we have + apps etc). Of course as well
available are custom icon images or system icons. Other unique thing of SlimPie
is that 2 rows are available. First row user can setup up to 5 buttons. On the second
row up to 7 Buttons.
Of course the user can setup the style to their like and still theme engine related
things are respected.
Pie is activated present on non expanded Desktop as well

For 4.4 we reworked a lot of the frameworks base code mainly. Changes compared to 4.3

- We use now a edge detection service (thanks a ton to Jens and Kyrylo). We tweaked it only
  very minor due that it works allready out of the box. Two reasons why we want to use it.

  1. We do not have detection overlays on the borders anymore. Means the user is not disturbed
     by it and we do not need to add workarounds like we did before to avoid accidental swipe ups
     (eg old IME reduce triggers). As well it is not needed anymore that the user can setup
     thikness etc. The default values are allready quiet good. If a device has detection problems
     the dm can adjust them via overlay. As said main main main advantage  that no dead zones are present
     anymore.

  2. we will use this service for other upcomming features as well (eg new Recents)

- Centralized and adapted the code to 4.4 and some changes we did in our central classes
- reduced observer to an absolutly minimum. If PIE is disabled it does not observe any value
- A lot small fixes and tweaks
- Change default colors to KK style
- If navbar is present the navbar gets animated with the background to give a full screen overlay
  feeling to the user. Especially now with kk transparency way better.
- Full keyguard support
- complete reworked edge disable detection
- and a lot more

PS:
- better disable message for second layer
PS:
- fix wrong initialize from pie control settings
PS
- changed to Jubas suggestions

Change-Id: Ia861e06758a6dadcb5a6b52689e574308b2dcc02
PS4
externalize strings and minor layout tweak

Change-Id: I815f6a773375a855514bc9a6517f292ffcc157a2
…ch" into android-4.4

Change-Id: Ia8263c13999daa0e26516273eb07de32d4d989b4
Change-Id: I107bec97fd759b9b85ee241628f9a35e022a22c7

Add Amra Settings
    Squash of:

    Author: Shashank Mittal <mittals@codeaurora.org>
    Date:   Thu Sep 5 19:01:47 2013 -0700
    AppOps: Add more operations in app ops settings.
    Add following operations in app ops settings.
    -- Wifi enable/disable
    -- Bluetooth enable/disable
    -- Mobile data enable/disable
    Change-Id: I32183d77b88c326168557444a445765b5a69de6f

    Author: Sam Mortimer <sam@mortimer.me.uk>
    Date:   Mon Sep 30 23:10:35 2013 -0700
    [1/2] AppOps: Add alarm wakeup op
    Change-Id: Ic739519cb9df9d2c67d65e3572a119b4d55145f0

Change-Id: Iacfbf6abccdda65afc3b7b83bfc03b30d94afd77
[1/2] Settings AppOps: show/hide app type and allow/deny counters

    Squash of:

    Author: Sam Mortimer <sam@mortimer.me.uk>
    Date:   Thu Oct 3 13:51:31 2013 -0700
    AppOps: menu options to show/hide user and system apps
    Change-Id: Ia55364c361db949a891e4b53a757ee4dff519eb6

    Author: Sam Mortimer <sam@mortimer.me.uk>
    Date:   Wed Oct 2 22:24:14 2013 -0700
    [1/2] AppOps: Show allowed/ignored counts
    Change-Id: Ia27737155c33e934df9a2a1fcff88379240fd096

    Author: Sam Mortimer <sam@mortimer.me.uk>
    Date:   Sun Dec 1 21:39:07 2013 -0800
    AppOps: only apply app type filters to summary screen
      *) If buildState() is called for a single package, do
         not apply hide user/system app filters.
      *) Fixes show detail display when called via
         long press in privacyguard and an AppOp hide
         filter is ticked.
    Change-Id: If31d094fb989836ab6829daeefe820695032c0ed

Change-Id: Ia55364c361db949a891e4b53a757ee4dff519eb6
[1/2] Settings: AppOps: Add bootup template

This template lists all the sevices and apps that auto start on bootup.

User can use this template to control list of auto start applications.

Change-Id: Ibf03d7df0037c87eb2ef3ca48a34ef46a103b4d7
Allow configure System, ListView, Scroll, and Keyboard Animation

base from
AOKP Animation Control AOKP/frameworks_base@015c9cf
thanks to Steve Spear <stephen.k.spear@gmail.com>

ListView Animation https://gerrit.omnirom.org/#/c/2863/
thanks to jkl5616<jkl5616@gmail.com>

Keyboard Animation zst123/XuiMod@975cd53
thanks to zst123 for patches

Scrolling Animation zst123/XuiMod@48c180c
thanks to zst123 for patches

Change-Id: I89d880250867c41aecbb4cbe3ba1d473e780ebb4
Cleanup unecessary resources and use global ones
  - This fixes the duplicate id issue currently causing apn's to be un-editable

Bring the ui aspect of the preference up to speed with ics
 - Use ics highlight / layout...etc
 - Use fragments

Patchset 5 : Remove theme for ApnEditor
             Use static access for variables
Patchset 6 : Launch apn editor internally as a fragment
	     Replace deprecated managedQuery with CursorLoader

Apn Settings : Fix panel title

Show appropriate apn editor title

Change-Id: I1f9dbce5dbf464db79d7c2fbedb8f833e4b46468

Settings - add an AlertDialog before to delete APN to avoid fails

patch 1: fix blank space
patch 2: remove FR translation and change NegativeButton string
patch 3: improve the NegativeButton (thank you, David)
patch 4: remove create()

Change-Id: I3361d4160a7e1c4eaee094f08c7d212f71e9e0e7

* Forward port, adjusted for 4.4

Change-Id: Ie63fa1018ffb7bc419e4d7915419657de30f5b22
Change-Id: I98c5c1cc455552afb2c768e71fa92533ff209c71
when user decide when quiethour will start/stop using time preference
alarm manager will setup the time, and call stop service in many times
before starting the service

this add some check to prevent call stop service before time to start

fix http://jira.omnirom.org/browse/OMNI-595

Change-Id: Ide4cb7f651ab153e1738d309992628b951e551c1
Settings: add device tree settings hook

Allows devices to hook "advanced settings" into the settings list
by providing an apk that is providing the activity
org.omnirom.device.DeviceSettings

The activity must be labeled "Advanced settings" to get a unified
look and feel.

PS4:
- This is hidden by default, to show, add
  <bool name="has_advanced_settings">true</bool>
  to overlay/packages/apps/Settings/res/values/bools.xml

PS5/6: fix build (accidentally added <header>)

PS6:
- Better detection if supported (don't need to add bool)
--> Automatically enabled for all supported devices
--> Hidden when app is uninstalled
- Title loaded from package -> no localisation needed

PS7:
- re-arrange advanced settings as first entry in DEVICE Menu

PS8:
- fix major derp :)

PS9:
- Move advanced settings hook to botton of DEVICE menu

Change-Id: Iefbcb0b626ee8df62115d1baa4f0ffadbf9dba36
Settings: fix quiet hours

http://jira.omnirom.org/browse/OMNI-627

Change-Id: Ica3bff10b3147120593bbe688882404625df18be
Settings: updating policy list after switching mobile data switch

Removed unnecessary call to updatePolicy() in the mDataEnabledListener since the setMobileDataEnabled() method already calls it.
Calling updatePolicy() with refreshCycle to true, so that the "change cycle..." option is enabled/disabled correctly

Change-Id: I2f8cfd898e663b644576626f00e38fff3ec0bbd8
[2/2] Settings: Add an option to change the device hostname

This adds an option to modify the device hostname used
in ip resolution. This is useful when connecting to the
android device in a dynamic dhcp environment.

PS4
move to end of first section

Change-Id: Ib04d551b7eb31110962709e0d956db4da380175a
Change-Id: I404b88ded9b741f052d955847cdadb396f69c246
Change-Id: Ifab3eedbe5c1076019c1dcee25544ede6555e4e3
    - Add scaling mode....user can scale the overall size down (especially for the
      user with stock dpi requested)

    - Add lefty mode. Recent panel shows up on the left edge instead of the right edge
      for left handed people.

Both are one time accesibility settings. So we put it there.

Change-Id: Ifa7a7299538f3c8f9c592c0c61b48dfa9fbeb2d6
Signed-off-by: scott <scott@ubuntu.com>

Conflicts:
	res/values/bs_arrays.xml
	res/values/slim_strings.xml
Change-Id: Ic0a00d774b24455d24d6bff1b2b9a4dc68937e48
Forward port from jb43.

PS1: Initial port
PS2: Fix conflicts with notification LED
PS3: FIx derp in strings
PS4: Fix derp in pa_arrays (tag not closed)
PS5: HALO Mods

Change-Id: I7de6a9157415fe05b0a59d8260e33cc1527a342d
Signed-off-by: Scott <scott@ubuntu>

Conflicts:
	AndroidManifest.xml
	res/layout/installed_app_details.xml
	res/values/pa_arrays.xml
	res/values/pa_strings.xml
	res/xml/settings_headers.xml
	src/com/android/settings/applications/InstalledAppDetails.java

Conflicts:
	res/xml/settings_headers.xml
Change-Id: Iee0f833f00fe18753c6ba75170345e21859ff286
Change-Id: Ibb211defd5ae2f08b87feb1203919fe893fde03d
Change-Id: Ib046b47ea0e73fddd6c5339e0419bbb8ad118933
Add Recents Menu to Android Manifest

Change-Id: I9ceb269f49c65089507511bc865d50d9dcf5b6b8
Change-Id: I8ae3d5d3aefb1bcfba0556206fd7f9ee7e7d1b09
Change-Id: Ie076d5fe5c3c975b84a31acd65d92ade83404625
Change-Id: I1a33a8c0a58b927ab0de0fc9f14e92a656a48422
Change-Id: Ibcc2e3c9dd7a9b94ebd6cffa651a8f65de46f95f
Android 4.4.3 release 1.1

Change-Id: I637df7ab6af96f01cffa0314268531b91229bc69
Signed-off-by: scott <scott@ubuntu>

Conflicts:
	res/values-ru/strings.xml
We suppress the ability to uninstall (including uninstall of updates to
system-bundled apps) when the package in question is either the only
installed home app, or has been explicitly tagged by the user as the
"every time" home app among all those installed.

Bug 14162565

Change-Id: I582bb0d2abf0911ac68813f4c7e6fd7d17bfc2ca
 Protected Apps Settings -> Apps:
 - Added Receiver which can send in a call to PackageManager to toggle a components protected status.
 - Add Protected Apps activity (available from Apps fragment)
 - Reads from ApplicationInfo state
 - Requires Pattern Lock to view/modify protected apps
 - Updates Settings Secure DB with protected components
 - Support resetting protected apps pattern lock

Change-Id: If07a7b69ac963ffae855621881e1944fc8754782
…ment directly

Change-Id: Ic84baad46045dd082cef767d7c805110be9dacf5
Change-Id: I855aca4b746126ed746613571ed34d8d8744d223
Now with 100% more hidden checkboxes

Change-Id: I31fa2a01c745220f1666a99aba2f283d5bb6af61
Change-Id: Id73cda9fd2205cd926a2c70a6f1c75199ad427c1
On tall displays this ends up with a lot of useless padding
in the list.

Change-Id: I998b86ec12d531cf1db08db7d9c23d12d8641730
Change-Id: Ic077da86cf52594da6641a91de069d10ebf0ffd8
Change-Id: I3dbaf01ad45a0f23a03a7ba8ca9b9b87e6ce2cf2
Change-Id: I297df7c6fcc76f1ff01256b506ab63d4f227ece3
Change-Id: I594c5ba92dc738b82bfa05627d81b0fe4349f115
Change-Id: I11c0a2b9f9348cb8bd84ae582c80f2440b085d4b
Change-Id: I41f37dff0fa2eb547f84aaf776950f0f42e6e36f
Change-Id: I92b3416ae91b94a4558b71100ee9fe699fd5fe46
Change-Id: I03c5616755b45d35dd34be2930edd3a187735465
Change-Id: I86578c409564c47b9d634030002133bb8b3ba196
Change-Id: I68e58b07eb32037a2443770411fd0591ee4c487e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

5 participants