History log of /frameworks/base/packages/SystemUI/Android.mk
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
0f66a4cc16ec1a927c90ac559c73c80ddcb5ee71 29-Apr-2017 Selim Cinek <cinek@google.com> Moving Row inflation to the background too

Previously only the contentview inflation was on the
background, now the inflation of the row is too.

Test: runtest systemui
Bug: 34888292
Change-Id: I3adc6b3311217421c9de5c37794397b8a3fd665d
/frameworks/base/packages/SystemUI/Android.mk
b666c16c15dcef24d0b0c135a3f009497198bb5c 06-Apr-2017 Colin Cross <ccross@android.com> Add missing transitive dependencies

Add android-support-v7-palette to SystemUI for
android-support-v7-mediarouter

Bug: 36902714
Test: m -j ANDROID_COMPILE_WITH_JACK=false checkbuild
Change-Id: I6aa18380fa338a01f73381ab0a3259ff94173ce1
(cherry picked from commit 2560663a1ed71b041e2de06918908a8f47153250)
/frameworks/base/packages/SystemUI/Android.mk
1cbf5fbd7ac47a3cbcb4a8910a1dcdd7b7845373 30-Mar-2017 Jason Monk <jmonk@google.com> Switch cast over to support library dialog

Makes UI more consistent and removes the cast detail panel from QS.

Test: visual
Change-Id: I9a70b9695511c5f1e4235a838a071079506963a6
Fixes: 35407111
/frameworks/base/packages/SystemUI/Android.mk
2b6aa352e5f8b432a934a228df7fe640249b36b6 24-Mar-2017 Colin Cross <ccross@android.com> Remove framework-protos from SystemUI

SystemUI builds against the framework, it doesn't need to have its
own copy of framework-protos.

Test: m -j ANDROID_COMPILE_WITH_JACK=false checkbuild
Change-Id: Ia971b2bc648558283562c7080b4d683a7e45fb60
/frameworks/base/packages/SystemUI/Android.mk
23f85ec14dab49b2c525dc266d2a1f74f7f9d07c 31-Jan-2017 Jason Monk <jmonk@google.com> Move Keyguard to SystemUI

Test: make
Change-Id: I3abb67e2b022737d2aa0226bb07f3966ad68fff7
/frameworks/base/packages/SystemUI/Android.mk
4f70b9cfd408a94330024c79643124cca25987b4 26-Oct-2016 Jason Monk <jmonk@google.com> Faster plugin updating from UI control

Send a broadcast back and forth to speed up the rate at which plugins
are enabled or disabled.

Also update make files to handle exclude tests better.

Test: Manual
Change-Id: Ic8f45c663c3a5e5fd4b3e9e2f79480e155845c14
/frameworks/base/packages/SystemUI/Android.mk
d05651790af7c3dced153876de6db00366f9f9e5 16-Sep-2016 Jorim Jaggi <jjaggi@google.com> Add latency tracking for checking PIN (1/2)

Also move tags to Keyguard as we need it in Keyguard.

Change-Id: I718581cb4081830da1c3a2f4ad9b9f0ec6f09ae5
/frameworks/base/packages/SystemUI/Android.mk
fcdcf7f636ada244a635328e25fdc03959468c8e 19-Sep-2016 Jason Monk <jmonk@google.com> Merge "Plugins for sysui"
56a1bba4f5d0732b0137b2558c106aa03c6c8ead 28-May-2016 Jorim Jaggi <jjaggi@google.com> Fix incremental builds

To cut build times in half if INCREMENTAL_BUILDS=true is enabled.

Bug: 27711635
Change-Id: I45a918b3bbb6c9e60f6ff93c7f00915f0e0d865f
/frameworks/base/packages/SystemUI/Android.mk
86bc33188948e7b6beb07dbb5ddba59b5ea3c1fc 16-Aug-2016 Jason Monk <jmonk@google.com> Plugins for sysui

Why this is safe:
- To never ever be used in production code, simply for rapid
prototyping (multiple checks in place)
- Guarded by signature level permission checks, so only matching
signed code will be used
- Any crashing plugins are auto-disabled and sysui is allowed
to continue in peace

Now on to what it actually does. Plugins are separate APKs that
are expected to implement interfaces provided by SystemUI. Their
code is dynamically loaded into the SysUI process which can allow
for multiple prototypes to be created and run on a single android
build.

-------

PluginLifecycle:

plugin.onCreate(Context sysuiContext, Context pluginContext);
--- This is always called before any other calls

pluginListener.onPluginConnected(Plugin p);
--- This lets the plugin hook know that a plugin is now connected.

** Any other calls back and forth between sysui/plugin **

pluginListener.onPluginDisconnected(Plugin p);
--- Lets the plugin hook know that it should stop interacting with
this plugin and drop all references to it.

plugin.onDestroy();
--- Finally the plugin can perform any cleanup to ensure that its not
leaking into the SysUI process.

Any time a plugin APK is updated the plugin is destroyed and recreated
to load the new code/resources.

-------

Creating plugin hooks:

To create a plugin hook, first create an interface in
frameworks/base/packages/SystemUI/plugin that extends Plugin.
Include in it any hooks you want to be able to call into from
sysui and create callback interfaces for anything you need to
pass through into the plugin.

Then to attach to any plugins simply add a plugin listener and
onPluginConnected will get called whenever new plugins are installed,
updated, or enabled. Like this example from SystemUIApplication:

PluginManager.getInstance(this).addPluginListener(OverlayPlugin.COMPONENT,
new PluginListener<OverlayPlugin>() {
@Override
public void onPluginConnected(OverlayPlugin plugin) {
PhoneStatusBar phoneStatusBar = getComponent(PhoneStatusBar.class);
if (phoneStatusBar != null) {
plugin.setup(phoneStatusBar.getStatusBarWindow(),
phoneStatusBar.getNavigationBarView());
}
}
}, OverlayPlugin.VERSION, true /* Allow multiple plugins */);

Note the VERSION included here. Any time incompatible changes in the
interface are made, this version should be changed to ensure old plugins
aren't accidentally loaded. Since the plugin library is provided by
SystemUI, default implementations can be added for new methods to avoid
version changes when possible.

-------

Implementing a Plugin:

See the ExamplePlugin for an example Android.mk on how to compile
a plugin. Note that SystemUILib is not static for plugins, its classes
are provided by SystemUI.

Plugin security is based around a signature permission, so plugins must
hold the following permission in their manifest.

<uses-permission android:name="com.android.systemui.permission.PLUGIN" />

A plugin is found through a querying for services, so to let SysUI know
about it, create a service with a name that points at your implementation
of the plugin interface with the action accompanying it:

<service android:name=".TestOverlayPlugin">
<intent-filter>
<action android:name="com.android.systemui.action.PLUGIN_COMPONENT" />
</intent-filter>
</service>

Change-Id: I42c573a94907ca7a2eaacbb0a44614d49b8fc26f
/frameworks/base/packages/SystemUI/Android.mk
38e89667e30063d29bb56bea23c1976c062dc631 25-Jun-2016 Adam Lesinski <adamlesinski@google.com> Build SystemUI and Keyguard with AAPT2

Bug:29462255
Change-Id: I0bd6da7da21927d185ff230c81aac390cfa8029d
/frameworks/base/packages/SystemUI/Android.mk
8138058a46323a9ca83a1eb33f64a0d83c4d5503 01-Jul-2016 Adam Lesinski <adamlesinski@google.com> Revert "Build SystemUI and Keyguard with AAPT2"

Looks like SystemUI's manifest may be corrupt.

This reverts commit 91f576081fe67f2742980f75c17d11e36f7c60e1.

Bug:29939875
Change-Id: I06e5f3cbc4629a67d254a8fcfcb9749b317aef5f
/frameworks/base/packages/SystemUI/Android.mk
91f576081fe67f2742980f75c17d11e36f7c60e1 25-Jun-2016 Adam Lesinski <adamlesinski@google.com> Build SystemUI and Keyguard with AAPT2

Bug:29462255
Change-Id: I9a886b4d17a7dbc4cfd7b4f8d398138f00df04a7
/frameworks/base/packages/SystemUI/Android.mk
634acb9712f2627acf9279a78d120ea2da1e0464 14-Apr-2016 Yao Chen <yaochen@google.com> Add CarVolumeDialogController in SystemUI for Android Auto.

Cars usually have an external audio module. When Android is serving as
the car's headunit, users should be able to adjust the car's volume
through SystemUI. The following changes are made to make it work:

+ Load VolumeDialogController from SystemUIFactory
+ Added CarSystemUIFactory
+ Added CarVolumeDialogController which extends VolumeDialogController
and it uses CarAudioManager as source of truth for volume controls.
+ Some refactor in VolumeDialogController to make it easier for
subclasses to override volume controls.

Note that CarAudioManager does not completely replace AudioManager.
Majority of code in VolumeDialogController still applies in the car use
case, so I made CarVolumeDialogController a subclass of
VolumeDialogController instead of making them peers.

Bug: 27595951

Change-Id: Id4adec7281e41aa71f3de034e5b88a32a89be305
/frameworks/base/packages/SystemUI/Android.mk
4cc2a58ed2b3e53f6fe8c182f239d08df1caac38 25-Feb-2016 Adrian Roos <roosa@google.com> Fix duplicate eventlogtags warnings

Moves the protos and event log tags into a library,
so the build system doesn't think they're duplicates.

Bug: 27151225
Change-Id: Ic96b6b811d4813a4c48940081ea77b12fb23f0bc
/frameworks/base/packages/SystemUI/Android.mk
b58c46acec2e270f24ca587a64298f06cefb09cb 27-Jan-2016 Sid Soundararajan <ssoundar@google.com> Initial Commit of a Horizontal Grid View based recents UI for TV.

Change-Id: I048210e6fc91abafa41300ccb219b7bb9c84e835
/frameworks/base/packages/SystemUI/Android.mk
77781d3aaa3b468d3078ea154bd3e098348451f2 11-Jan-2016 Chris Wren <cwren@android.com> a step toward enforcing unique metrics log IDs

First of several change lists:
1. Add in the new proto (this CL)
2. Migrate the existing code over to the proto.
3. Remove MetricsConstants once it is unused.

Bug: 26442178
Change-Id: Ic24829246af8ec5b202e39a85960aac5cf336c33
/frameworks/base/packages/SystemUI/Android.mk
87ccd55e8a90ff5d1c30f852941d523a83ab735a 12-Dec-2015 Jason Monk <jmonk@google.com> Switch Tuner to support prefs (and some improvements)

Change-Id: I2ef62c0c56d4af69f9f34e1cfd297999d59b7da6
/frameworks/base/packages/SystemUI/Android.mk
471c1adf0867181c8f71a364606724ece7d4c56e 05-Dec-2015 Ying Wang <wangying@google.com> Add android.support.v7.recyclerview resources.

This fixes build error of unresolved symbols if you build with Jack
disabled.

Change-Id: I0a9e1288015cc8894b7cdda3130aa8df628092e9
/frameworks/base/packages/SystemUI/Android.mk
c29ff0025bf0b1f43b34fe3e2dd6f043b61421ef 21-Nov-2015 Winson <winsonc@google.com> Adding history view.

- Initial changes to show a history view within Overview (behind tuner
flag)
- Restoring the task view dim in the stack

Change-Id: I0503d11768736c86f3145942404391dfacd0ddd6
/frameworks/base/packages/SystemUI/Android.mk
190fe3bf88388fcb109af64571e3baa0d01f1c37 20-Oct-2015 Winson <winsonc@google.com> Refactoring secondary user recents logic.

- Removing old broadcasts in favor of direct aidl interface between
system and secondary users. Also moving user specific implementation
into RecentsImpl, allowing Recents to handle proxying between users.

Change-Id: I4bd5ef1d1ee47309b7c754f50a5e8b2e2aab988f
/frameworks/base/packages/SystemUI/Android.mk
7232332dc963c2ce55dda1a3a0367080d5494503 24-Jul-2015 Blazej Magnowski <johnasselta@google.com> System to track touch and sensor events before unlocking the phone

Added a new component which tracks touch and sensor events and
also events like showing the bouncer tapping a notification and
others. The collection is enabled when the screen is turned on and
is disabled after the phone is unlocked. The data is saved in a
protobuf file in internal storage in a directory called
"good_touches". There is also an option to collect events which
end with the screen turning off. These are saved in the
"bad_touches" file. Everything is hidden behind the
ENABLE_ANALYTICS flag which is set by default to false and can be
turned on only if Build.IS_DEBUGGABLE is true. Also
behind the ENFORCE_BOUNCER flag the class shows the bouncer before
expanding a notification, showing quick settings or launching an
affordance from one of the bottom corners.

Change-Id: Iaeae0fb7a0d9c707daf7a270201fa5b1cd84c74a
/frameworks/base/packages/SystemUI/Android.mk
3557e0ebee1c80e1159648e44ffe49f8594ea783 10-Apr-2015 Jorim Jaggi <jjaggi@google.com> Enable incremental SysUI builds on -eng targets

Ideally, we would also do incremental builds on userdebug targets,
but this introduces a risk that userdebug builds would be different
to user builds. So we only do it on eng builds for now.

Change-Id: I2778d270052cf26e6c767f1847991a425d8bbd12
/frameworks/base/packages/SystemUI/Android.mk
2ba4ce6a064e29ee3415ff8c2b4a9bbcff937a6c 13-Jan-2015 Jason Monk <jmonk@google.com> Create SettingsLib

This will hold common code that SystemUI and Settings (and others)
will share.

Bug: 19180466
Change-Id: I6614b31d6c3b0a2d426a2aa8ce66725245339d22
/frameworks/base/packages/SystemUI/Android.mk
fb0d644b2bdbf9cbf05071ca6b6d24596ac83247 20-Jan-2015 Jorim Jaggi <jjaggi@google.com> Add option to exclude SystemUI tests

Setting the environment variable EXCLUDE_SYSTEMUI_TESTS to something
excludes the tests package during building. Saves a few seconds for
incremental changes in SystemUI for fast UI iteration changes.

Change-Id: I596a0273133c8a8bece0cc364e2ec61fdea45116
/frameworks/base/packages/SystemUI/Android.mk
380ecb81db52a9d0197ca969951d07b91c20d2b9 14-Mar-2014 Jorim Jaggi <jjaggi@google.com> Make Keyguard a library and make StatusBar the new Keyguard.

This change achieves a couple of things:
- Let Keyguard be a library, so we can use it in SystemUI.
- Introduce FLAG_KEYGUARD for windows and deprecate TYPE_KEYGUARD. Make
all the TYPE_KEYGUARD behaviour dependant on the flag.
- Implement a new KeyguardService in SystemUI, and bind that service
from PhoneWindowManager.
- Introduce BaseStatusBar.setKeyguardState and inflate
KeyguardSimpleHostView there and use FLAG_KEYGUARD for the window, such
that the status bar window essentially gets the Keyguard.

Bug: 13635952
Change-Id: I059d80d8b9b9818a778ab685f4672ea2694def63
/frameworks/base/packages/SystemUI/Android.mk
f7abb087943d190278737b4e777d398b5ebb5922 25-Jun-2013 John Spurlock <jspurlock@google.com> Remove unused services module dependency from sysui.

Change-Id: I9ac1040bece7755478d57c44f48b1e31bff6bf57
/frameworks/base/packages/SystemUI/Android.mk
ccbf84f44c9e6a5ed3c08673614826bb237afc54 09-May-2013 Christopher Tate <ctate@google.com> Some system apps are more system than others

"signatureOrSystem" permissions are no longer available to all apps
residing en the /system partition. Instead, there is a new /system/priv-app
directory, and only apps whose APKs are in that directory are allowed
to use signatureOrSystem permissions without sharing the platform cert.
This will reduce the surface area for possible exploits of system-
bundled applications to try to gain access to permission-guarded
operations.

The ApplicationInfo.FLAG_SYSTEM flag continues to mean what it is
says in the documentation: it indicates that the application apk was
bundled on the /system partition. A new hidden flag FLAG_PRIVILEGED
has been introduced that reflects the actual right to access these
permissions.

At some point the "system" permission category will be
renamed to "privileged".

Bug 8765951

Change-Id: I6f0fd9cdb9170e076dfc66d83ecea76f8dd7335d
/frameworks/base/packages/SystemUI/Android.mk
e8587722b614e69d27cf8e26c34778c6e6830856 28-Mar-2013 Dianne Hackborn <hackbod@google.com> Apparently SystemUI no longer needs the carousel.

Change-Id: Ib886b83fb096a8ef35b167e2727360353c020ec1
/frameworks/base/packages/SystemUI/Android.mk
64161ccb2f3341ebe1675e38a999250c7967d0ad 17-Dec-2012 Chris Wren <cwren@android.com> add logging to debug panel touches.

Turn on gesture recorder.
Add events to the Event Log.

Bug:7686690
Change-Id: I53b7d43f5bdc002360e305182597765f3c430b11
/frameworks/base/packages/SystemUI/Android.mk
a639b311e93ad14d9ee5c2b2c215ed2d86c32d2a 10-Jul-2012 Wink Saville <wink@google.com> Create telephony-common and mms-common

These have been created to reduce the size and complexity
of frameworks/base.

mms-common was created by moving all of
frameworks/base/core/java/com/google/android/mms
to:
frameworks/opt/mms

telephony-common was created by moving some of
frameworks/base/telephony
to:
frameworks/opt/telephony

Change-Id: If6cb3c6ff952767fc10210f923dc0e4b343cd4ad
/frameworks/base/packages/SystemUI/Android.mk
caf30a18b52471ebfbc6ae5e853c9a0b9d44905b 29-Jul-2011 Brett Chabot <brettchabot@android.com> Add functional test for screenshots.

Change-Id: Ice2cbc656f9814da7d0634644a250c1af9243ad1
/frameworks/base/packages/SystemUI/Android.mk
55ca691006c7e049ed929246d9a84032849afca8 30-Sep-2010 Ying Wang <wangying@google.com> Fix proguard flag file dependency.

Change-Id: Icd30226cfaa943648f8724b4208a22c661070262
/frameworks/base/packages/SystemUI/Android.mk
783cb60ddb7cde1349ca531c7b96ad67d5053cd2 03-Sep-2010 Jim Miller <jaggies@google.com> Update RecentApplications to use shared Carousel widget.

Change-Id: I5ca7389aeca9ee6f03f48317f9d1034f9fb8c1ca
/frameworks/base/packages/SystemUI/Android.mk
1ab5cae8df1d2409d5c2346d63cd7da887e978e1 02-Aug-2010 Daniel Sandler <dsandler@google.com> Actually reference the fixed Proguard flags.

Bug: 2869888
Change-Id: I3277b51cd411c7933607c08b6022870ef83e9197
/frameworks/base/packages/SystemUI/Android.mk
79de0c550037a5328bbc7f4fddaf02f192a5c283 26-May-2010 Joe Onorato <joeo@android.com> Move the StatusBarPhone package into a new catch-all SystemUI.apk.
/frameworks/base/packages/SystemUI/Android.mk