History log of /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
78873f4042c4d77bf76efc307a8dc790f9ba285d 02-Mar-2015 Dan Sandler <dsandler@android.com> Avoid crashing on startup when policy forbids lockscreen camera.

Bug: 19554426
Change-Id: I5b2898d7d114de87d925b5eccc8e4b189e4713de
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
c6a656c9ab45eb0c9ace391fbd9534bc57341d27 22-Jan-2015 Christoph Studer <chstuder@google.com> SysUI: Don't drop HUN notification when clicked

A clicked notification is not guaranteed to be removed,
so instead of dropping a clicked HUN notification we have
to release it to the shade.

Bug: 19093631
Change-Id: I73b88af774e49e89c8a601873c48cc5f5eed0224
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
e63ba4b03db386505f6973246be73cf38e0be128 05-Dec-2014 Dan Sandler <dsandler@android.com> Don't forget to listen for USER_ALL broadcasts.

The ActivityManager.closeSystemDialogs() call (used by,
among other things, the home button) broadcasts
ACTION_CLOSE_SYSTEM_DIALOGS for UserHandle.USER_ALL, rather
than any one user.

Bug: 18629414
Change-Id: I89bfa3f556866e1b27987be2753ce83fd0313998
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
27ef018846fc88122bcb2c30ba86e99a5b3039d6 02-Dec-2014 Christoph Studer <chstuder@google.com> Merge "NoMan/SysUI: Clear LEDs only when entering the shade" into lmp-mr1-dev
1f32c65697c22f423c2888cf4c53da1c95d602c1 26-Nov-2014 Christoph Studer <chstuder@google.com> NoMan/SysUI: Clear LEDs only when entering the shade

Don't clear notification LEDs when seeing notifications on the
lockscreen.

Also fix a bug where the LED didn't continue flashing after
the screen turned off.

For devices with doze capability, ensure that the LED continuing
to flash after screen off doesn't cause an immediate pulses, but
delay the first pulse by 10s.

Bug: 15449039
Change-Id: Id34d51a2c91ceaf069e49add1ab690bb855f9638
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
44fc65f6d0561b382b4e48e35a014344de93eee2 28-Nov-2014 Kenny Guy <kennyguy@google.com> Allow apps from managed profles to close notification shade.

Listen for ACTION_CLOSE_SYSTEM_DIALOGS for all users so that
apps running in the managed profile can close the notification
shade.

Bug: 18255982
Change-Id: I6b70eb39d182a0766eef24421fae45f033efa9e9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
ab954546dc49e1070ed8513efbddc8954b529c23 11-Oct-2014 Jim Miller <jaggies@google.com> Make IKeyguardService interface asynchronous

Add a state callback so lockscreen reports back whenever its state
relevant for PhoneWindowManager changed, instead of synchronously
calling into SysUI which can lead to deadlocks. Directly use
LockPatternUtils for isSecure, and optimize the number of calls to
this method to optimize layout performance.

Bug: 17677097
Change-Id: I5d491fc8884d4f84d9562626b9ea0d5eaa5166fc
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
a6d4fb60ed241002210f27c94fbf363430152fe7 20-Nov-2014 Chris Wren <cwren@android.com> Push back notification means snooze the package.

Bug: 18451923
Change-Id: I90160f9d14cde12a5bc03e46e64eedf770149a90
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
a37774f098a5204947ff4b4787c4b753bb9016db 11-Nov-2014 Selim Cinek <cinek@google.com> Fixed a bug where the clearable flag was set inconsistently

This could lead to undismissable notifications.

Bug: 17758698
Change-Id: I60ccbe24686c5b8bc46bfb52e590cef71ed7a190
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
6d7065f50d1e65707f7decc3f56042f808d5488f 06-Nov-2014 Selim Cinek <cinek@google.com> Merge "Fixed a bug that the notifications were not animating when reset" into lmp-mr1-dev
1a521f3ea841f6db9686bbec7f950a3883d075aa 03-Nov-2014 Selim Cinek <cinek@google.com> Fixed a bug that the notifications were not animating when reset

Also made sure that the touch event is never filtered when its a
heads up view.

Bug: 18188693
Change-Id: Ic5de3e36c785d2cf890936322820b739a0a1b107
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
f3aa1c8d7915afd51d21bf79feb2285dffcc3827 03-Nov-2014 Christoph Studer <chstuder@google.com> Merge "SysUI: Use mScreenOnFromKeyguard for panel visibility" into lmp-mr1-dev
755f4021ae9a21936a04083098ffbbdac912625c 29-Oct-2014 Chris Wren <cwren@android.com> fix build break from mis-named DEBUG flag in SystemUI

Change-Id: I55459fe090ae4c159ebdad8b60658b25db29271e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
79ac09e4399923bf533c21c7c89038292529b379 29-Oct-2014 Chris Wren <cwren@android.com> Add logging to diagnose notification click issue.

Bug: 18102199
Change-Id: Id022faa7b75f28f446155f15ab4a8373869c163c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
e8e2865b9f619b60f5a53a075b800e7becf44be8 29-Oct-2014 Christoph Studer <chstuder@google.com> SysUI: Use mScreenOnFromKeyguard for panel visibility

We currently depend on mScreenOn when determining whether the panel
is visible to the user. However, this variable is updated via a
broadcast and might hence be slightly out-of-date with other keyguard
state.

Bug: 18067294
Change-Id: I51078b4a470db9a5a1f639e84ac65f6066c5669c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
4eedc1d97e5aa3bfaa60af9894cd991f9e210fc2 27-Oct-2014 Jorim Jaggi <jjaggi@google.com> Fix jank when launching something from lockscreen

Apparently, hideRecents blocks around 300ms so we avoid this as a
low-risk fix. In the longer term, we should investigate why it takes
so long.

Bug: 18133433
Change-Id: I3eae659d4720d3c95280e7f7a144e00f0c760388
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
4da84cd56582fb4025eb5a9a1d4bb5b5b4a50cef 21-Oct-2014 Christoph Studer <chstuder@google.com> SysUI/NoMan: Log clicks on notification buttons

Introduce notification_action_click logtag that is logged whenever
the user clicks any notification button. For standard templates, we
also log the index of the pressed action button.

Bug: 18064190
Change-Id: Icb07795ff711729d16bde0b7e03d13c2f466779c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
89f7f281e3633dbfa195a8bf9beb13d3a69898b6 17-Oct-2014 Jorim Jaggi <jjaggi@google.com> Always execute resumeAppSwitches when launching something

Bug: 18024449
Change-Id: Ib5ea92d141d74676d00fd3118930bdb0ef5b2935
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
955d8d69ea6caabce1461dc25b339b9bf9dc61a6 08-Oct-2014 Dianne Hackborn <hackbod@google.com> Put in real "code" (aka marketing) name.

Change-Id: Idb3976edfae37293ed75cb5b869b4b42d8042bbe
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
8a63806a8d866c28a4983b07760603b690de48f3 29-Sep-2014 Jorim Jaggi <jjaggi@google.com> Revert "Add massive logging to investigate blank Keyguard"

This reverts commit 10ead64346b2651be144ac591117cc2413d8caa3.

Bug: 17475334
Change-Id: Ie7103a2ede1f00a91a2afc51d9e6ecf5ae569545
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
92d892c0cd5462237f818b1129d936d95640e297 11-Sep-2014 Selim Cinek <cinek@google.com> Changed the swipe up search affordance

The previous card animation is removed and replaced by a animating
circle with a shadow. Also fixes several cases where the card could
either get stuck and the affordance was not launched.

Bug: 17457300
Bug: 17444236
Change-Id: I005313a1dbe63d338490e6100dd3bd01e35687ba
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
b01287fbfb548da2efb4f0e42bdcbdd4d1c950da 12-Sep-2014 Jorim Jaggi <jjaggi@google.com> Add massive logging to investigate blank Keyguard

This CL needs to be reverted after the issue is fixed, as it clutters
the code a lot.

Bug: 17439581
Change-Id: I548fdd73bbcd6d6ce727901f9dcd9f3f7268db9d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
72eda1729aa5d1bdeb9bcb08ffad4fd912eed01f 11-Sep-2014 Selim Cinek <cinek@google.com> Merge "Fixed a crash when the more card or the dismissview was longpressed" into lmp-dev
bdefcdf90f172a96fb1dc2c85eaf5ad42f74bddf 11-Sep-2014 Selim Cinek <cinek@google.com> Fixed a crash when the more card or the dismissview was longpressed

Bug: 17460534
Change-Id: Ided33204b04085ed01f1cc6ada9ccc43fbf028d0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
00fb8a80c87150bc0e032d36d3ff1ea8bef988b3 10-Sep-2014 Jorim Jaggi <jjaggi@google.com> Merge "Use simpler layout for auto-redacted notifications" into lmp-dev
b1cd3c1945499721d7d1ce57bdda67695ffe936b 08-Sep-2014 Jorim Jaggi <jjaggi@google.com> Inflate guts only when needed

This saves us a ton of views.

Bug: 17346296
Change-Id: I3eafd6703d19704dc8b108c1034266f38cf77f7b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
ed713ee58d8d1de0c73ff10aa7cd61a4df38b2f2 09-Sep-2014 Jorim Jaggi <jjaggi@google.com> Use simpler layout for auto-redacted notifications

Saves us some views.

Bug: 17346296
Change-Id: I024f566354db2b6b93d50fcfb15f8434a1c2976b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
a9dddfb011c1e5f7610eaeb0956f65e3b080aa0a 09-Sep-2014 Selim Cinek <cinek@google.com> Merge "Fixed a bug that the icon was not animating anymore when updating." into lmp-dev
f219dad7e575c336ffa89f806a8e6827c6319267 09-Sep-2014 Selim Cinek <cinek@google.com> Merge "Avoiding heads-up when accessibility is turned on" into lmp-dev
51ae05d92047049250ddbfd6c4998cb7cbca017d 09-Sep-2014 Selim Cinek <cinek@google.com> Fixed a bug that the icon was not animating anymore when updating.

Bug: 16043845
Change-Id: I0cdb1ee5ddefd4404cd9a6cab61baf1b281a457b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
e51d6a3aecf22b263dccdb9c1ef1d4f12fd47d03 09-Sep-2014 Jorim Jaggi <jjaggi@google.com> Merge "Apply color to auto-redacted notification" into lmp-dev
a8fefa54bdf273fa4d445873e4ab053c577dd607 08-Sep-2014 Selim Cinek <cinek@google.com> Avoiding heads-up when accessibility is turned on

Bug: 16017019
Change-Id: I08ec75e6b3296eefb9ae5e8fdc9f8dd6c4ad4816
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
6db58cb0a19dd40cab5de5bcb55994281c0e925a 08-Sep-2014 Chris Wren <cwren@android.com> Merge "Bring consistency to FLAG_ONLY_ALERT_ONCE semantics." into lmp-dev
d93d5adfe72d7f9785a595457ef7049737b0f526 08-Sep-2014 Chris Wren <cwren@android.com> Bring consistency to FLAG_ONLY_ALERT_ONCE semantics.

For updates, the sounds layer checks for existence of the flag on the
new version while the heads up was checking for the flag on the
old version.

Both now agree to check the new version.

Bug: 14255617
Change-Id: Ib617df11f0dea17b5dfdf2ef6330bdbd18032ac6
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
a1eeadee63cad1d6405804f0e7e88c8b9a4ba2b1 08-Sep-2014 Jorim Jaggi <jjaggi@google.com> Apply color to auto-redacted notification

Bug: 17419964
Change-Id: I82010fe9c2bb2fd0a2300a8290258c7dc13bf6a6
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
85dc23cc696d4c5de4619da317c16c5a2b49a62a 08-Sep-2014 Jorim Jaggi <jjaggi@google.com> Start all resolver activities after keyguard is gone

Bug: 17417099
Change-Id: I30b154067b1c4cbca09af49a4763f9cf5fdc19e6
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
9261b3b7782000f4db8fbf96e61f34d5f5833bc3 08-Sep-2014 Jorim Jaggi <jjaggi@google.com> Fix invisible low prio notifications in SHADE_LOCKED

Bug: 17403672
Change-Id: Iaee27d839f30cf13bfa7b10186c0f52f811fdc62
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
c7d62f02b8acfd0a6b31f8544ec2c07e780fe4bb 05-Sep-2014 Svetoslav <svetoslavganov@google.com> Addressing API council comments for UserManager.

bug:17390424

Change-Id: I498d2541289915cb7db16e5c3249ccc7a7dc5ee6
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
f9fb30f54b04135f2b148d9ce105cdf7e6a279b3 05-Sep-2014 Jorim Jaggi <jjaggi@google.com> Merge "Hide notifications when occluded and disabled on keyguard" into lmp-dev
da30a03d96346a9c02463095f5efbf4a64bfac6d 05-Sep-2014 Jorim Jaggi <jjaggi@google.com> Hide notifications when occluded and disabled on keyguard

Bug: 17371021
Change-Id: I27769a2334285fe753a3ee5ce55986d4fd23b83c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
fdd04d42d2a0fe71236ba0a611ab550f52d8dd35 05-Sep-2014 Adrian Roos <roosa@google.com> Merge changes Ibb63814e,I0322b1e6 into lmp-dev

* changes:
Prevent full shade guesture from doing the wrong thing
Add current user announce to MultiUserSwitch
d1dc910effbbe0998a00e428767eed562aa6f25c 04-Sep-2014 Dan Sandler <dsandler@android.com> Merge "Reduce RAM requirements of grayscale icon testing" into lmp-dev
6704cb980bdf319672ebbaf0f41cf1de2e278612 04-Sep-2014 Dan Sandler <dsandler@android.com> Merge "Adjust iconography in notification guts." into lmp-dev
05c362d5645367c816069aa138b597b77f317aa4 03-Sep-2014 Dan Sandler <dsandler@android.com> Reduce RAM requirements of grayscale icon testing

The isGrayscale family of methods is designed to identify
drawables and bitmaps that apps are using in the largeIcon
position to pose as small icons in order to get the
appropriate background treatment (a solid blue or gray block
in KK/JB, or geniune selvedge denim in ICS/HC).

We can optimize this search two ways:

(1) Reject immediately any largeIcon that is larger than
largeIcons should be (64x64dp). We could one day simply
reject, or resize, these in the notification manager,
but regardless these are not plausible smallIcon
subsitutes. This new constraint is commemorated in the
new name, isGrayscaleIcon().

(2) Shrink the bitmap even smaller before scanning it slowly
in Java. This lets native_drawBitmap do the heavy
lifting across the entire bitmap; we need only scan a
few pixels.

Bug: 16513124
Change-Id: I3a2b79130ed2465a4aedfbb5a556db7f8a7aa132
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
2f9dbbaee7d9add7656614d8cff387561ba859ba 03-Sep-2014 Christoph Studer <chstuder@google.com> SysUI: Suppress HUNs from non-profile users

Bug: 17364652
Change-Id: Ic7a971d64cecc1624b872c776efeaccd09144db7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
f4db75c20be81d92a0600394516af4511b76262c 03-Sep-2014 Dan Sandler <dsandler@android.com> Adjust iconography in notification guts.

(i) is now the system's app notification info panel,
allowing you to block, prioritize, and things like
that.

(gear) is new; it will appear only if your package has a
notification settings activity of its own. If the user
taps this you'll be launched with some useful extras:
notification_id and notification_tag, matching the id
and tag of the notification the user longpressed.

Bug: 17005733
Change-Id: Ib09264c2564152ab27e744c47ed87a0e9223656f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
f98ddfc389b35cf942f8fd7d50d33a664cca5eda 03-Sep-2014 Selim Cinek <cinek@google.com> Merge "Fixed a bug where notification icons where not animating" into lmp-dev
cab4a60c485872848fc0fa3e65baaeb06d21a7d8 03-Sep-2014 Selim Cinek <cinek@google.com> Fixed a bug where notification icons where not animating

Bug: 16043845
Change-Id: I23217d90803fd247f6d1b4d2aea056deb5749c15
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
aee70462c20e2c8c040c0032aa91c850812d8dcc 03-Sep-2014 Adrian Roos <roosa@google.com> Prevent full shade guesture from doing the wrong thing

Also prevents us from getting into a state where it would
do the wrong thing previously.

Bug: 15934899
Change-Id: Ibb63814e80c50e4ccf65ef48d2b07cbe3a200e78
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
9547fd4a2e4267499a8904763f637d53f692f692 02-Sep-2014 Selim Cinek <cinek@google.com> Merge "Fixed a bug in the notification touch selection." into lmp-dev
e0320054a787593594c197098ef6ee8d7001f2ea 02-Sep-2014 Christoph Studer <chstuder@google.com> Merge "SysUI: Ignore group children when summary is present" into lmp-dev
abdc5a078242e6842a4b3fa62db3e385fcacfa56 02-Sep-2014 Selim Cinek <cinek@google.com> Fixed a bug in the notification touch selection.

This lead to the wrong notification being selected and
therefore the longpress listener would not be triggered.
Also added some logging for cases where the longpress
listener would not fire.

Bug: 17332879
Change-Id: I9a5cd9bfe3108ca3e366711d34d1e218f1d520cf
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
edb893bae660b4120e564939cc347c15cbe3defa 02-Sep-2014 Selim Cinek <cinek@google.com> Fixed crash with notification guts

Bug: 17350166
Change-Id: I4b5eb19b30e57486f48fa8c397e7450426f36464
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
d722f273237ed4c77ebf9a261cff776125d562e1 02-Sep-2014 Christoph Studer <chstuder@google.com> SysUI: Ignore group children when summary is present

This is an optimization to avoid inflating Views for notifications
we're not going to show and free up memory ASAP. No behavioral changes
expected.

Bug: 16302692
Change-Id: I5fa03dcc9ad9cae4afc7cd6102d7ea8bfbdcbfd5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
f0fc0a4ec4eaf39c1b3765da8ce92814efeaf95b 01-Sep-2014 Selim Cinek <cinek@google.com> Merge "Notification guts have now the actualHeight of the notifications" into lmp-dev
024ca598dd4b38b389251c138f4ef9882d4b68b0 01-Sep-2014 Selim Cinek <cinek@google.com> Notification guts have now the actualHeight of the notifications

Before it just had the height of the notification leading to bugs
in cornercases during animations and swiping.
Also updated to colors to use system colors.

Bug: 17333457
Change-Id: I00d87820595a789006632c582e8c35759a61969d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
17ee3ec0b85f1ca29920bc3bf26e613b82a0ecf8 29-Aug-2014 Jorim Jaggi <jjaggi@google.com> Media notification updates

- Make text white.
- Adjust padding & metrics to redlines.
- Use different narrow layout when 3 or less notifications with big
picture.
- Update action ripples.
- Fix progress bar size & fix color for indeterminate progress bar.
- Apply default background in SystemUI when no color is set, so we
don't end up with white text on white background.

Bug: 15437369
Bug: 16625746
Bug: 15147533
Change-Id: Ie8bd5ad0bbca972685adb50034fff88ea97456bd
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
4775109ec1e08092befa836078ecc76eee773e33 29-Aug-2014 Chris Wren <cwren@android.com> Merge "Disable lockscreen notifications for secure users on upgrade." into lmp-dev
cd8f4f71fc75b4f57d21c4e9f80f1107101ca369 28-Aug-2014 Chris Wren <cwren@android.com> Disable lockscreen notifications for secure users on upgrade.

Add a notification for those users that teaches them how to re-enable
the notifications.

Bug: 15934899
Depends-On: Ie0bcc207c4f331def207e588bbad36b8986fe114
Change-Id: I4a169e268042cfcaa4ad80cdf205904f9c90e76d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
d5936307fb1d10a6608427f8b3db4739991854e4 29-Aug-2014 Kenny Guy <kennyguy@google.com> Merge "Load ApplicationInfo for correct user." into lmp-dev
b712458362af70b93c144f614602fd80b063d191 28-Aug-2014 Alan Viverette <alanv@google.com> Merge "Rename StatusBar.Material styles to Material.Notification" into lmp-dev
1aca0dd73b4af0d058c9ba6a586b7bd46adfaa40 28-Aug-2014 Kenny Guy <kennyguy@google.com> Load ApplicationInfo for correct user.

Use package manager for the user that the
notification is built for so it can load
ApplicationInfos for packages installed
in secondard uses but not primary user.

Bug: 17313228
Change-Id: I1b9fa031676e3ba77047c88ae2c2b37a2a38dbb2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
746f7facf2c5f9a7362387806b5926b951bb024a 27-Aug-2014 Jorim Jaggi <jjaggi@google.com> Start intent chooser after Keyguard is gone

If we have an intent chooser on the camera intent, we need to launch
it after the Keyguard is fully gone because the ResolveActivity would
finish itself if it is launched behind the Keyguard.

Bug: 16570873
Change-Id: I2fdb4975fa0a6510e8853c6042383089570ec1f5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
41ad39421dabc86199540e6750d5fae34fade493 28-Aug-2014 Alan Viverette <alanv@google.com> Rename StatusBar.Material styles to Material.Notification

Replaces a removed style with __removed to avoid breaking
existing apps. This will be (wait for it...) removed prior
to release.

BUG: 17288986
Change-Id: I7e934fcebe39baed39fd8b01bf12bf3bb41305ad
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
7f05a6963756c3dc5082f48ad3c4de6efe99a158 26-Aug-2014 Christoph Studer <chstuder@google.com> Merge "SysUI: Uprank current media notification" into lmp-dev
13b895125c9355efac2c1249c43a86d8b9ecc7c8 26-Aug-2014 Christoph Studer <chstuder@google.com> SysUI: Force L+ status bar icons to white

Bug: 16862480
Change-Id: I13126e4641563953d00b8e1b8324b470b9fc085c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
5369d7a9317a137ca0b7ad43c889203a7669626f 26-Aug-2014 Jorim Jaggi <jjaggi@google.com> Merge "Fix swipe up affordance bugs" into lmp-dev
e60982f5361fa5a093ff7a94189b1cf7a3618bed 25-Aug-2014 Jorim Jaggi <jjaggi@google.com> Merge "Fix invisible security method" into lmp-dev
118aecea584499fb41966fd8a0ea0ac60ac6bdb6 25-Aug-2014 Jorim Jaggi <jjaggi@google.com> Fix swipe up affordance bugs

- Fix that you could invoke the gesture from bouncer
- Fix that sometimes the card got stuck
- Decrease threshold to invoke the gesture

Bug: 17201962
Bug: 17200912
Bug: 17199841
Change-Id: I19f1e1a69395c3bcd82cdad0d814916a3cdd3428
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
fb28c0e129896b17e4906b873bf44eb103ac2a8d 22-Aug-2014 Jorim Jaggi <jjaggi@google.com> Fix invisible security method

Also fixes a bug where notification guts couldn't be launched from
Keyguard.

Bug: 17162095
Change-Id: I50395065e568ca01e837b0540d5edfd8bbd5797a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
2e731b5d90b956a91390051f803fa928c5fd9dee 22-Aug-2014 Christoph Studer <chstuder@google.com> SysUI: Uprank current media notification

Bug: 16008728
Change-Id: I3a0bd21b5f8cd5295dcacc2f40092dbaa2fc88e4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
98193ea54f492aefb0c5dd8ff7a1f61e605535e6 24-Jul-2014 Kenny Guy <kennyguy@google.com> Fix notification badge when line 3 not shown.

Ongoing notifications from chrome and drive
don't have content in line 3 so profile badge
wasn't shown.
Add profile badge to large notifications which
hide line 3.

Bug: 16366324
Change-Id: Ib4f1e888674743aa8ef93b7eaceae72602d8df4d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
445d3c0a6f471b4bb1bd37ad5da0fd90c6ce2825 19-Aug-2014 Jorim Jaggi <jjaggi@google.com> Update notification layouts to match redlines

Also fixes a lot of paddings and other small issues with
the notification layouts.

Bug: 15437369
Change-Id: I40b6c69afc160c498b7e2e709814b5b847f615de
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
665366a3055c7baa36242b8c92c5ff85b1c3394b 08-Aug-2014 Michael Wright <michaelwr@google.com> Change 'disable hardware keyboard' to 'show input method'

Previously it implied that the hardware keyboard would be disabled,
but really the toggle would just enable showing the IME even if a
hardware keyboard was present. Changed the string and swapped the
semantics to be more clear about the behavior.

Bug: 14066881
Change-Id: I9c8a7eb98b5277f1d09cc19fa7402e9b4cf51d92
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
afd7f117b3cb7711f2b54ff919aca0aa6a6b4da8 15-Aug-2014 Selim Cinek <cinek@google.com> Merge "Fixed several bugs with the notification shade" into lmp-dev
31094df5c6e3cb3a4a4faacb091e35eea1f6a5de 14-Aug-2014 Selim Cinek <cinek@google.com> Fixed several bugs with the notification shade

Cleaned up the code around mMaxPanelHeight of the
PanelView which could lead to flickering during
peeking.
Changed the panel opening logic to account for lag
when we need to wait for a layout, which could lead
to inconsistent animations.
Fixed a bug where holes could appear in the shade
when notifications were updating.
This also improved the general updating behaviour
which is now done in a nicer animation.

Bug: 15942322
Bug: 15861506
Bug: 15168335
Change-Id: Ifd7ce51bea6b5e39c9b76fd0d766a7d2c42bf7a4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
72eb2ae21bc8d1788ffc4445b39ede87bc91cdc4 13-Aug-2014 Jorim Jaggi <jjaggi@google.com> Merge "Lockscreen launch animations" into lmp-dev
539aad45707202a2167f03475da38b4cccf020f0 04-Aug-2014 Dan Sandler <dsandler@android.com> Large text support for notifications.

Bug: 7216066
Bug: 15437369
Change-Id: I01a07f04c18d374fc1656f0b1f439a7c33c9d80c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
b120ac5b6935407d9eefe8548ff185ea63e4a29b 13-Aug-2014 Dan Sandler <dsandler@android.com> No need for drawing caches on notifications.

They just chew up memory.

Bug: 10918599
Change-Id: I99761846e88b7ea25270d7a70d118963b1d72e5f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
8de4311c51229efbe2f2d0afbf298982c5cadd96 11-Aug-2014 Jorim Jaggi <jjaggi@google.com> Lockscreen launch animations

- Get rid of ActivityManager.dismissKeyguardOnNextActivity, which was
used for two different things: Dismiss keyguard from somewhere else
(not really necessary anymore), wait to actually dismiss keyguard
after the window behind is drawn. Instead, introduce
keyguardWaitingForActivityDrawn(), and change the semantics where
necessary.
- Make wallpaper_close_enter consistent with task_open_enter and the
Keyguard launch animation.
- Close the panel even on lockscreen when launching a notification.
- Block notification shade updates during the collapsing motion so
notification don't play the disappear animation immediately after
having launched a notification.

Bug: 15991916

Change-Id: I133c177b84e926c87c1a404ba93d633593fec3ab
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
bd3409c137c4c8ce917fc3a232832a1ad311cf73 12-Aug-2014 Adrian Roos <roosa@google.com> Respect DPM flags for lockscreen notifications

Disables unredacted or all notifications based on device policy.

Bug: 15934116
Change-Id: Ia012e44da8fbf73c24e26950abb1df76af7001a9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
bee465f9e14d9bdc15cdd9c87c1f27a3cf90ecc4 12-Aug-2014 Selim Cinek <cinek@google.com> Merge "Fixed a ordering bug with the notification shade" into lmp-dev
becf5e30edbc8e00928bd1d473fadf2bb456baec 12-Aug-2014 Selim Cinek <cinek@google.com> Fixed a ordering bug with the notification shade

The dismiss view was not always guaranteed to be on the bottom,
which could lead to a weird hole.

Bug: 16900568
Change-Id: Ib46ec0011dcdd47a8f678b5e3f9756f6a128f286
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
b1f749906f5c27114d02ea0c3f8ce0dcea08fd3f 08-Aug-2014 Winson Chung <winsonc@google.com> Initial changes to support swiping on the nav bar to switch affiliated tasks.

- Actual sideways animations to come once they've been finalized

Bug: 16846966
Change-Id: If6d40495498197a86a98f9b03f54ced3d2baf64a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
e9a4e90db6e7493e84084197361da7140817265b 31-Jul-2014 Dan Sandler <dsandler@android.com> Link to new app notification settings from the inspector.

Also hide the inspector whenever the keyguard changes state,
to make sure we don't leave any notification guts lying
around when you turn the screen on and off or unlock.

Bug: 16208321
Change-Id: I47cf6a0cb82e765eb6b50984972f57616b534ed3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
3f14df5c9df0028f78d930d03d512d969236f0bc 07-Aug-2014 John Spurlock <jspurlock@google.com> Merge "Common shade width across devices." into lmp-dev
7e6809ad643fa4a70cfb647191731c68f07789cd 06-Aug-2014 John Spurlock <jspurlock@google.com> Common shade width across devices.

Use 400dp as the visual width of the shade across all devices
and orientations, except small device portrait.

Since the width is now dynamic across orientations, update the
necessary views in SystemUI on rotate.

Remove obsolete styles + resources.

Set max QS columns to 3 on all devices, due to the newer shade
width.

Bug:16825515
Change-Id: Iff171549a79bc318a4d585a2d9ea2af9bc686922
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
cdcd487abad10f728f0542accc42a31d1f7fedac 06-Aug-2014 Winson Chung <winsonc@google.com> Fixing issue where home was triggered on top of other activities being launched. (Bug 16823617)

- Also fixes issue with the Recents hide message being clobbered
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
c71c42fdb2ee54a419dc8eb0a5f4f82532b16c0c 06-Aug-2014 Svetoslav <svetoslavganov@google.com> Polish of the app widgets cross-profiles feature.

1. Added API for badging an arbitrary drawable at a given location.

2. Updated the icon and previewImage deprecation as they are no longer
returning a badged drawable. The methods to load the icon and the
preview are now just making it easier for a developer to get the
drawables.

3. Fixed a bug in AppWidgetServiceImpl leading to a crash when a user
is removed.

4. Fixed a bug in AppWidgetHost which was unnecessarily caching its
package name and having code paths where the cached value was not
populated when calling into the system.

bug:14991269

Change-Id: I50d011a6597d88814715d5ec04ee67815e8ce0bd
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
52e5701eea2da526191e997f9df5c41ef1e1c938 23-Jul-2014 Dan Sandler <dsandler@android.com> Move LOCK_SCREEN_SHOW_NOTIFICATIONS to per-user Settings.Secure.

Bug: 15331132
Change-Id: Ia80ccb2cfdf60116bd50601e60ff131619eafcc5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
f701954d4eca5b6d62c819ed934397f2bc152ee2 31-Jul-2014 Jason Monk <jmonk@google.com> Disable heads up when DISABLE_NOTIFICATION_ALERT

When notification alerts are disabled also turn off heads up. This
will fall back to the old behavior, which can allow the fullscreen
intent to be triggered instead.

Bug: 14157742
Change-Id: I4b6e3d9383894b1674d600c374ff8968ca53513e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
f641174eb9a41c9d340e350624533b36e265402f 05-Aug-2014 Jorim Jaggi <jjaggi@google.com> Revert "Clean up hiden notifications on Keyguard handling"

This reverts commit d9267cae958b572b715d22a4905b18749a369c9f.

Too much performance regression - need to figure out something else.

Change-Id: I2d399add74402e1c036235ec095a053a6d5b828e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
62a7c831d54d0a552f059e70176ccf7ac77e57f4 05-Aug-2014 Jorim Jaggi <jjaggi@google.com> Clean up hiden notifications on Keyguard handling

Change-Id: Ifeabfdd1ed8c11b0796cc79bba81752518921be3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
a2052ea218386877e6d5d2136483a62b2b31f774 05-Aug-2014 Jorim Jaggi <jjaggi@google.com> Empty notification shade state.

Bug: 16483230
Change-Id: I7953a7954cae12124146f462ed8c0dc44769a38f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
f479792e05485a536c3fa68db9d8a71f34591b78 04-Aug-2014 Jorim Jaggi <jjaggi@google.com> New swipe-up assist animation for L.

Bug: 16307470
Bug: 14623152
Change-Id: Ib7e0381d118bda177981cc56ec9a8fb418dfb0e3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
611393560e22fdcc939029298cfc624a8560bf37 04-Aug-2014 Jorim Jaggi <jjaggi@google.com> Merge "Faster timings when a notification comes out from more card" into lmp-dev
ff9c9c473f9cf4e273c9cfeeb595c5870d1053b8 01-Aug-2014 Jorim Jaggi <jjaggi@google.com> Faster timings when a notification comes out from more card

Change-Id: I1cc759aa8a2c235c4ca1962b41a406480b4277b2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
ce2e23ff69427a069cbdcd6bf4fa6097cbf04b4d 03-Aug-2014 Christoph Studer <chstuder@google.com> NoMan: Fix speedbump when no low-prio notifs

Bug: 16705179
Change-Id: I32329710c27052c35b64ba91759200341ed0b127
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
a0506e72f5e5c7404986bdd9af07ab536cad2634 31-Jul-2014 Christoph Studer <chstuder@google.com> SysUI: Fix notification leak

Fix bug where we kept a reference to the old Notification when
we re-use notification entries on updates.

Bug: 16513124
Change-Id: I066ff7447952516e27e122df57d4e6e67ee1cea3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
1529e019e1aae7f9db1c850d9940b01d4067d700 31-Jul-2014 Christoph Studer <chstuder@google.com> SysUI: Respect "no notifs on lockscreen" setting

Setting the stack scroller to INVISIBLE didn't work. Now we just consider
all notifs as "not visible on lockscreen" instead.

Bug: 16650758
Change-Id: I4259c6ec2f663fc988377b8d5a259d6a0f827178
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
c8db24bc32034accf1eb614c8d68bb80b41ae73f 25-Jul-2014 Christoph Studer <chstuder@google.com> SysUI: Display group children when no summary is present

Also move common notification filtering into NotificationData
such that clients won't have to do it themselves anymore.

Probably also fixes a couple of multi-user issues.

Bug: 16302692
Bug: 16224431
Change-Id: Ic3c11cd1a224044486f5544e068ca5297d30c521
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
4600f9b60753adab4e65258a05744a46938fce86 22-Jul-2014 Christoph Studer <chstuder@google.com> Strip RemoteViews from Notifications, re-create them in SysUI

Bug: 16329721
Change-Id: Ic0bea763ffaec4c5644ca78705007211ac6b4b88
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
78403d79739605511ea88b653564d81d7bf4bbba 28-Jul-2014 Chris Wren <cwren@android.com> Add a log and statistics for notification expansion.

Bug: 16618854
Change-Id: I501f396fa495e1e55a27d7d0b65aac66495418c1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
22f2ee567dd1b1a42432251229bcb2f05c1c4700 29-Jul-2014 Christoph Studer <chstuder@google.com> SysUI: Reset background treatment when re-using Entries

Bug: 16220667
Change-Id: I8fd2770fa5ea554728eb8cd70ce4a6171e28ece5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
4247a5c16237705c470b4dd7378a657c5f7b6d51 23-Jul-2014 Dan Sandler <dsandler@android.com> Notification inspector.

When longpressing a notification, instead of popping up a
menu we now replace the notification's view with an
inspector showing the app name and icon inline, along with a
proper app info button.

Bug: 15892646
Change-Id: I905e2fd5c9ea5cbbaccabd633f4b8257227a10bc
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
eceda3d83814e20cabddc4f0755d475fa2f3d8ff 21-Jul-2014 Dan Sandler <dsandler@android.com> Reintroduced the clear all button

A new text button is added to the bottom of the notification list
enabling the user to clear all notifications.

Bug: 14826666
Change-Id: I34dcccb59346798cca321bc1a19252b00e7c5689
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
4dcb0dc453b1987a01d35806ada4fc15c617f80d 15-Jul-2014 Kenny Guy <kennyguy@google.com> Load package information from correct user.

Handle case where a package is only installed
for secondary user.

Bug: 15983201
Change-Id: I6733011c59e6d08d275dc761660d38b709051d79
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
baa23274596246d03741457701ac515a73aa8818 08-Jul-2014 Selim Cinek <cinek@google.com> Implemented new camera affordance

Also fixed a bug in the touch logic where you could close the shade / hint
after going to the camera / phone.

Bug: 15126905
Change-Id: Iadfde56cb68f4048868eedec6bd3456f55823cd9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
16128f4523a484084205aacc6200374ca3029467 21-May-2014 Dan Sandler <dsandler@android.com> Album artwork returns triumphantly to the lockscreen.

It is pulled from the metadata of the active media
session, which we fetch in one of two ways:

1. From a proper media notification, we can extract the
session token from EXTRA_MEDIA_SESSION.
2. If none of these is found, we ask MediaSessionManager for
any outstanding media sessions whose packages match an
active notification. These include legacy RCC clients,
whose notifications are oblivious to EXTRA_MEDIA_SESSION.

We then pull the album artwork out of the metadata and fade
it in on the lockscreen.

Bug: 15147533
Bug: 15135254
Change-Id: Ia967bfba310b6c792b14673872cb132ddd7052a5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
0d3e62f3e07a69f21c1b1dfa2c8c0fb8b6c95655 14-Jul-2014 Dan Sandler <dsandler@android.com> Prevent dismissing autoredacted private notifications.

Bug: 16295169
Change-Id: Ic1a13ae1a501ae4a5633ef9c84c59ff13543eb1b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
18bb4f99206a419c9bc61df08bc29d76efc6764a 14-Jul-2014 Dan Sandler <dsandler@android.com> Clean up autoredaction text.

Also show the timestamp if the original notification does.

Bug: 16289371
Change-Id: I6898990629c036dc7c1a129609449e556f8afa72
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
5b63826f9355142d753d5c248c39c13deda4b0b7 07-Jul-2014 Christoph Studer <chstuder@google.com> SysUI: Filter notification group children on connect

Previously we filtered group children when receiving fresh
notifications only and failed to filter them when receiving
initial notifications.

Bug: 16043383
Change-Id: Icdac5aacf9af2832fef044c0d0d0aa0e70721a42
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
a7fe63190cc3f95af1830886edd80acef0c334e3 27-Jun-2014 Christoph Studer <chstuder@google.com> Inline replace notification views when layout changes

Instead of going through a full remove / add when a notification
is updated with a different layout, only re-inflate the inner views.

Bug: 15869868
Change-Id: Ie18c431e7b3e2a6209d4a9b6418b3150781a063f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
3d2b94bf8e32640e57573ebb17911b1db9440231 02-Jul-2014 Selim Cinek <cinek@google.com> Made notifications below speedbump grey.

Also fixed a small scrimming bug where headsup where
scrimmed.

Bug: 15408642
Change-Id: I8319ccb001a1d654af055276de3c64ae388a7e47
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
697178b1244533adb0ffb3325c0a27a1fde6eaca 02-Jul-2014 Selim Cinek <cinek@google.com> Refactored the notification backgrounds

The background now only uses one specific drawable and emulating
the legacy behaviour by tinting. Notification backrounds are now
also a ripple drawable, giving feedback on click.

Bug: 15837646
Change-Id: Ia3b7dafebe2439cc56ed258264ef33b5b07faa69
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
2580a976ec93a01ed00fae51364ad872bc591d95 25-Jun-2014 Jorim Jaggi <jjaggi@google.com> Improve motion when expanding/collapsing status bar.

- Don't fade the whole panel anymore.
- Parallax effect for QS header translation, fade on keyguard.
- Improve fling curve for dismissing the panel.
- Improve peeking behavior.

Bug: 14804452
Bug: 15407838
Change-Id: I34b7bcd457cb8a037e0bb06e9802ec66d2b39b73
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
e71fefcc8b382947f6f6a8bf816b3889fb368fed 24-Jun-2014 Christoph Studer <chstuder@google.com> Remove notification APIs from StatusBar service

Bug: 15324972
Bug: 15436573
Change-Id: I838370a23fb07cb876e08c41ef11653f2658719e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
5ced68ba2f83caa102745246ecc72f5f5c297a62 18-Jun-2014 Christoph Studer <chstuder@google.com> am cf24e6de: SysUI: Hide grouped notifications

* commit 'cf24e6de68cff14970e57069febd5d6c41c264f4':
SysUI: Hide grouped notifications
c08cd7cc65491af24c1855d53a23cc9b68d3791d 17-Jun-2014 Christoph Studer <chstuder@google.com> SysUI: Hide grouped notifications

Drop grouped notification received from NoMan.

Bug: 15188947
Change-Id: I8bdb99abd216d771d435d18b2018c843e7750d18
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
1dafd04247c4f849e05fd1c73118d916b9b67f64 12-Jun-2014 Chris Wren <cwren@android.com> Fix notification update path for structural updates.

Similar logic is required for the replacement case, as is already in place
for the update case, although the actions are different.

Bug: 15588056
Change-Id: I9ad115237c589716772e569fa1979a206b77097b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
d2d05f5b9ebb8f2f4794f50321d3b209433f6caa 13-Jun-2014 Chris Wren <cwren@android.com> am f975e308: Merge "Fix notification update path for structural updates." into lmp-preview-dev

* commit 'f975e3080447fa0b8dc6110329b669ae3838f202':
Fix notification update path for structural updates.
582e2731b420031a4cda81979a55a3c2bfcdb787 12-Jun-2014 Winson Chung <winsonc@google.com> Merge "Fix regression in using visibility flags. "
9214eff52adf56b7c9532e40b784d52f9f94b6d1 12-Jun-2014 Winson Chung <winsonc@google.com> Fix regression in using visibility flags.
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
d04f6cee5f6d98a60c0092a217a15ea5c2d3a106 11-Jun-2014 Chris Wren <cwren@android.com> Manage heads up state during notification update.

Notifications can now get the heads up slot on updates.
FLAG_ONLY_ALERT_ONCE suppresses this behavior.

Bug: 15534198
Change-Id: Ie27b7c7d93c590d777670c538fb796a04252046f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
d0694b6735a9d91794e6096961231e07364ba3fa 04-Jun-2014 Christoph Studer <chstuder@google.com> NotificationListenerService: API updates

Introduce RankingMap holding single notification Rankings
indexed by SBN keys.

Also, pass RankingMap with notification event callbacks so
subclasses don't have to call getCurrentRanking() unnecessarily.

Bug: 15415840
Change-Id: Id41e174f00c06c86359c03646abc3db78028b324
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
b6f4ba7a92faadca4ec13e868dfd773f0189b008 11-Jun-2014 Chris Wren <cwren@android.com> Merge "Only post interrupting notifications to the Heads Up." into lmp-preview-dev
a4ef6203262d45d4ffae7860ef40bd931ab27e07 10-Jun-2014 Chris Wren <cwren@android.com> Only post interrupting notifications to the Heads Up.

Pop them out to the shade if they haven't been dismissed.
Centralize bookkeeping into HeadsUpNotificationView.

Bug: 13397541
Change-Id: I350478ed954309773cfdd6970d58b22df6d223bc
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
36b15237a633ca906029e6ccdc4c55fa6309afe8 10-Jun-2014 Jorim Jaggi <jjaggi@google.com> Fix black background for auto-redacted legacy notifications

Also removes the wrongly implemented Froyo compatibility mode, as now
all the notifications are light and the background is provided by us,
it's again like in Froyo-world! :-)

Bug: 15295371
Bug: 14105711
Change-Id: Icbae15e690494465b0e63935d81d59edfa05e76e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
3cb07a462be293634e6a83ea6c82f3647cd17dad 06-Jun-2014 Alan Viverette <alanv@google.com> DO NOT MERGE Material theme

BUG: 15467097
Change-Id: I15191362e104a902895418fc615892c21db64c35
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
8a0101bade3f817d925bd931d0b83bc454dedea4 09-May-2014 Kenny Guy <kennyguy@google.com> Badge notification from managed profiles.

Add a method to the UserManager to provide access
to bitmap of badge for managed profile.
Overlay the icon view in notification templates with
the badge from the UserManager.
Notifications with custom views won't be badged.

Bug: 12641490

Change-Id: I1f2aae927e75fc8a955e4d5bbc3cc81127d87069
(cherry picked from commit 0f4ab980227e8c298bfcd34dd85aad0febad528c)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
4f0e39a929f2043c46ada9f34b23654616f93227 30-May-2014 Chris Wren <cwren@android.com> Merge "Track Zen Mode status in the NotificationRecord" into lmp-preview-dev
333a61c3a5a83fe9c50ebeb5c947317f61385b7b 28-May-2014 Chris Wren <cwren@android.com> Track Zen Mode status in the NotificationRecord

This requires the record to be present in makeRankingUpdateForListener,
however, if the ranking object is created before the post to the handler,
then no cloning is necessary.

Depends-On: I907a1ff28123219db1c08889d723ad1b70b191ab
Change-Id: I51fcf689ddbee7715e3387b865f18a715887c943
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
4314f6d5fa088377ad5bfab9063352377e0c3fd1 28-May-2014 Adrian Roos <roosa@google.com> Eagerly dismiss Keyguard when launching notifications and phone

Uses the new code path when launching phone that delays the launch
until the Keyguard is actually dismissed, which fixes another way
for 14622312 to pop up. Also adds a flag to prevent the Keyguard
from waiting for the launch animation to finish.

Bug: 15280103
Bug: 14622312

Change-Id: Id24e40785c9f760648140e5572b1d39889d3666b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
4b3bda22251c09276a967091e9e364efadd8f0fd 22-May-2014 John Spurlock <jspurlock@google.com> Honor Settings.Global.LOCK_SCREEN_SHOW_NOTIFICATIONS.

Hide notifications on the lockscreen if the setting = 0.

Bug:15104826
Change-Id: I394f10a9958a3ee4d03198f21eb09b778e00903e
(cherry picked from commit ac639f28502a7e8a6c52a6585810c8d94e0e5388)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
9ce7e02fa758204ac66aaa94a7a4b85fca5c1f1b 29-May-2014 Christoph Studer <chstuder@google.com> Merge "SysUI: Switch to NotificationListenerService" into lmp-preview-dev
37fe69322517809d38c1934239a6e117c39d40e7 26-May-2014 Christoph Studer <chstuder@google.com> SysUI: Reflect notification ranking

Respect the ranking received via NotificationListenerService.

Bug: 15131411
Change-Id: I9e3a1530ffb5f4c29eeeccdbc910261d2eb72216
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
c288514cac0fdb5b476930181b6ac6fdd6d9bd1a 28-May-2014 Christoph Studer <chstuder@google.com> SysUI: Switch to NotificationListenerService

Switch SysUI to receive notifications via a NotificationListenerService
instead, byapssing StatusBarManagerService callbacks.

Bug: 15131411
Change-Id: I907a1ff28123219db1c08889d723ad1b70b191ab
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
7d7090d66692170b0584a5b9f4fe3e47285ee615 21-May-2014 Adrian Roos <roosa@google.com> DO NOT MERGE Only send notification activity intents after dismissing Keyguard

Defers delivery of contentIntent and activity actions until
the lockscreen has been dismissed, so that activities don't
launch beneath it.

Bug: 14491010
Change-Id: Ic8c61c18a75d4f0da2d82a0a8a038a5d98ebb71f
(cherry picked from commit 79f640dd0d02c1cc199937b160d8f7abd3c1eaeb)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
8a4729d87181df6eb739c473554e5a89c65b180d 23-May-2014 Selim Cinek <cinek@google.com> Merge "Improved the animation logic of the stack scroller." into lmp-preview-dev
8efa6dde2b4f2cdbf046b87b7366404c3cc46219 19-May-2014 Selim Cinek <cinek@google.com> Improved the animation logic of the stack scroller.

Newly introduced appear and disappear animations when in the shade.
Also introduced individual child delays such that notifications
appear in a slightly more appealing quantum way.
Also fixed a racecondition, such that added notifications already
have their final visibility state when they are added to the scroller.

Bug: 14081264
Change-Id: I18f5c57c2206f8e05996253981f540e97521e102
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
60748e7122c6cfbcebcf4a283d1a78ca796d07a7 22-May-2014 Christoph Studer <chstuder@google.com> SysUI: Implement NotificationListenerService in StatusBar

This is currently disabled by constant that is off.

Bug: 15131411
Change-Id: I0da6e5b3b81c87004f0794d3056c4cf0ecbb1d61
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
71f18fd1b64071e486bafff237b1f87a56d4aead 20-May-2014 Christoph Studer <chstuder@google.com> SysUI: Use SBN keys instead of IBinder keys DO NOT MERGE

In preparation of migrating to NotificationListenerService,
remove dependence on IBinder keys for notifications and switch
to SBN.getKey() instead.

Bug: 15131411
Change-Id: Ic272e4a05fde6481c734144c5b34c49b2f021649
(cherry picked from commit 7c96ae873d9a54ebaeb5b7ef21b48224dc42d094)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
842dd77bb9c002af5364237f46b63c826f1c4082 15-May-2014 Dan Sandler <dsandler@android.com> Introducing Notification.MediaStyle.

Allows you to create a nice music player with all the
trimmings, including:

* up to 5 actions in the bigContentView, styled as
transport control buttons
* up to 2 of those actions in the 1U (!)
* a nice custom progress bar
* a tinted background (taken from your Notification.color)
* a special place to put your MediaSessionToken

Bug: 15147533
Change-Id: Ic20a2b369eb6c5fe4853987a44ffd9bace720c7f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
1bba1c8c1ac27739edb0963cbfcc024027bf3246 20-May-2014 Winson Chung <winsonc@google.com> Should not be closing system dialogs when Recents is hidden. (Bug 15109551)

Change-Id: Ia73753074ce620ede136cd4b156d6bfeadb900cf
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
6cb485fd2e2f8ace05e1ff281ab0fc824d3652cb 19-May-2014 Winson Chung <winsonc@google.com> Fixing regression in dismissing Recents.

- Restoring app info functionality when developer options are enabled and you long-press on the app icon.

Change-Id: I8a20ff5f595eefa20db5528c0d5b1a1f0b110834
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
958e559b98bd7c3ab6dd20bf530bf58f56f20b63 19-May-2014 Winson Chung <winsonc@google.com> Merge "Initial changes to enable keyboard support with alternate Recents. (Bug 14067913)"
1e8d71b605b4872e93200706a80a88a3ff25498c 17-May-2014 Winson Chung <winsonc@google.com> Initial changes to enable keyboard support with alternate Recents. (Bug 14067913)

Change-Id: Icc5d2a784ed3c3c27143eb04cbb4305549ee223a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
c27437b7fd04e682ae2abdf0727a99bf5c6e409d 14-May-2014 Selim Cinek <cinek@google.com> Implemented visual speed-bump for notifications.

The separation between the important and the less important
notifications has now a visual representation.

Bug: 14607473
Change-Id: I8baa0a08924ec041be2884a2834139477313ab40
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
fe266a3cb37b31e0464b62a0d3c1288322b728fb 16-May-2014 Dan Sandler <dsandler@android.com> Enable tinting of notification backgrounds.

(Turns out gray text doesn't look so hot on tinted
backgrounds, so this CL switches it to alpha-black of an
equivalent intensity.)

Change-Id: Ia2b7e24b72849bd31bfbd0ce948a6c92233f2b9e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
201f9b8d49108ca9ab8c98a4b3fa578aa0bbc217 08-May-2014 Chris Wren <cwren@google.com> am 2dc97d48: am 90abb78b: am 678f7edd: Merge "Avoid SystemUI crash due to NPE"

* commit '2dc97d48b924e0ea196404d5adbe5084b344d25e':
Avoid SystemUI crash due to NPE
2dc97d48b924e0ea196404d5adbe5084b344d25e 08-May-2014 Chris Wren <cwren@google.com> am 90abb78b: am 678f7edd: Merge "Avoid SystemUI crash due to NPE"

* commit '90abb78b51a35055f86dee35c4e391e74f325125':
Avoid SystemUI crash due to NPE
26e81cf14bf32585742cbb75ac14045acaab2692 06-May-2014 Dan Sandler <dsandler@android.com> Quantum notification improvements.

New API introduced here: Notification.color (and
Builder.setColor()), allowing apps to specify an accent
color to be used by the template. The Quantum templates
(which are now the only kind we support) use this when
creating a circular background to draw behind the smallIcon
in the expanded form.

Additionally, the quantum and legacy templates are no longer
in superposition; all apps using Builder will get quantum.

Change-Id: Iac5e2645cc5c2346ed458763f2280ae9c6368b62
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
d552d9d8e964c102e6832610be46cf2c041e8829 07-May-2014 Jorim Jaggi <jjaggi@google.com> Introduce AmbientState for StackScroller.

AmbientState is a global state for the algorithm of the
StackScroller. Dimmed and which child is activated was moved
into this state. Further, scale and dimmed is also a
StackScrollState and animated in StackStateAnimator.

Change-Id: Ia68131cee62b2e0005f55ea6dc400d149ec15278
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
d7daab7b9e33cd56f2692b9ebea87ef21290c1ea 06-May-2014 Jorim Jaggi <jjaggi@google.com> New layout structure for the expanded status bar.

This also includes a new (very WIP) interaction to get to quick
settings, with clumping the cards and a scrollable container with
the cards and the bottom QS part in it.

Change-Id: Ib073bb0174cddcf60347a5e3bb474fb3b6385bcf
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
10a38c06df42f0231a71a78ec341609648035b9d 07-May-2014 Jason Monk <jmonk@google.com> Merge "Only show IME in navigation bar when it should"
b605fecd9e4282823af754b3968b21205d64554a 02-May-2014 Jason Monk <jmonk@google.com> Only show IME in navigation bar when it should

Add a flag to indicate that the IME should be shown. This follows
the continuous ime notification boolean, and if there are multiple
input methods to choose from enabled. This way the notification
and navigation button show up under the same circumstances (but
not on the same devices).

Change-Id: Ia6a2253061f1876f4bcc511de48c1078e9d96be5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
983ce97a5dd82688966e783a2c26f34550cfafa5 05-May-2014 Christoph Studer <chstuder@google.com> Merge changes Iffd15e95,Id2db95ec

* changes:
Log notification clicks
Add userId to StatusBarNotification key
9cbadd3c08a7d7dd3412743dd04aecb16c5a1595 01-May-2014 Jorim Jaggi <jjaggi@google.com> Always use algorithm to set the children height.

This makes possible to animate between different children heights
between the states.

Change-Id: I5d74814a84c7ff5406481c3ab0553530ee20997b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
98fb09c2b2dbf57803a8737ee7b73cf167721312 01-May-2014 Jorim Jaggi <jjaggi@google.com> Fix animation play time, animation and alpha.

Change-Id: Ib5f0a7880473930da3db70fcbd8c4e620f267cf8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
0dd6881ea481c855976214807c17595b34a2920a 01-May-2014 Jorim Jaggi <jjaggi@google.com> Introduce animation for changing top margin.

Change-Id: I7f77a1c69efc2dca3e5a37e7d6fc497ae487ec46
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
4222d9a7fb87d73e1443ec1a2de9782b05741af6 23-Apr-2014 Jorim Jaggi <jjaggi@google.com> Change interaction for dragging down to full shade.

Starts expanding the card if it is expandable. If it's not, we
rubberband the expansion a lot. After the threshold has been reached,
we scale all the notifications up and make it fully white and opaque.

Change-Id: I9ecd020ca263b0f84e87fd6ab2332519ac5e9984
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
ecbab3662d4474bbb45477939aaa167eb883212b 23-Apr-2014 Jorim Jaggi <jjaggi@google.com> Introduce SHADE_LOCKED as a special state for the shade.

This state can be either reached by tapping the more card or dragging
down on any card. In this state, the shade is fully interactive, but
the phone is stil locked. This state can only be enterred if
redaction is off but security is on. If redaction is on, we will show
the bouncer instead and go to the normal shade.

Bug: 14161523
Change-Id: I95ca0991745ffc11ed1028581e3da15265c12ae5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
03b87a2f40c26948b7b0c9409c33ad44857218cf 30-Apr-2014 Christoph Studer <chstuder@google.com> Log notification clicks

Emit notification_clicked log events when a notification
is clicked from SystemUI.

Also refactor the onNotificationClicked method to work with
a key instead of individual notification params.

Change-Id: Iffd15e95d46371b2ae7bfd00b2c348d9f4cf5d14
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
0377b796d0158e4e507060dc3634aa0984ad7dbc 30-Apr-2014 Selim Cinek <cinek@google.com> Merge "Introduced basic animations for the new notifications."
572bbd42a473980c2d59af80d378f6270ba6860a 25-Apr-2014 Selim Cinek <cinek@google.com> Introduced basic animations for the new notifications.

Animations between two different states of the notification stack scroller
are now possible.

Bug: 14081264
Change-Id: I2b8e964095f71766feac5a76c4e3b85d22648d35
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
dce3c4cca5d4df4cc49c1a9f0537e2fecdbc45d2 29-Apr-2014 Jorim Jaggi <jjaggi@google.com> Prevent expanded notifications on lockscreen.

Change-Id: I9a0ffca823883cfed75d0e093f5a4364b20008b3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
be565dfc1c17b7ddafa9753851b8f82849fd3f42 28-Apr-2014 Jorim Jaggi <jjaggi@google.com> Refactored the layout of a notifications

Notifications now consist of ExpandableViews instead of SizeAdaptiveLayouts
to avoid layout passes during the resizing. The StackScrollAlgorithm and its
States are also refactored in order to support the new behaviour. In addition,
the generation of the outline is moved to the notification views instead of
the container which contains them.

Change-Id: I1ac1292a6520f5951610039bfa204c204be9d640
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
d3406d7a1afd2b1ff3aea216fb74e402f1795888 28-Apr-2014 Jorim Jaggi <jjaggi@google.com> Merge "Flatten notification hiearchy and remove glow."
fe40f7d13bfc1faa35c9a131ce4be5104cb8f6b9 28-Apr-2014 Jorim Jaggi <jjaggi@google.com> Flatten notification hiearchy and remove glow.

Currently, the padding and the glow was inside the individual
notification. This no longer works if we want to adjust the
padding dynamically whether we are on Keyguard or not. This change
moves the padding outside of the individual notifications, and as
a side effect, removes the glow. The glow wasn't really visible with
the new layout, so it's not a breaking change. We have to discuss
with UX first what the new "glow" solution is going to be.

Change-Id: Iac16892cb3b7bb1de3001954b1428796b07950c1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
f68448ef618528b5e754c76aba09994018e86765 24-Apr-2014 Dan Sandler <dsandler@android.com> Remove chatty log message.

Change-Id: If0acc3be413d86c87a2a8c68fdcf94bada7e0903
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
c5dc0d0cce373fbf292e13633c114a431d747167 15-Apr-2014 Jorim Jaggi <jjaggi@google.com> Zoom notifications on lockscreen after tapping.

For the double tap interaction, this change introduces a new cue
that the notifications must be double-tapped: With the first tap,
the tapped notifications gets larger and the others fade out a bit.

Change-Id: Ib48ff0291aee1a5ec083b9e7ed1021bc420514cf
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
4673985b752f88434f7aeb726e3a2b8010efdb70 15-Apr-2014 Jorim Jaggi <jjaggi@google.com> Set background of legacy custom notifications views to dark.

Change-Id: Ifa0c68386eb84b2a83e4e88efda32ad75f28ea77
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
584a7aa62c54bcbd654a6696d4fbb56e124874e7 10-Apr-2014 Jorim Jaggi <jjaggi@google.com> resolved conflicts for merge of ff0978fd to master-lockscreen-dev

Change-Id: I03881da30db8189005d50812e5528ed07cebd437
1685e634fb0b14033bd436af8d7174436699ffec 08-Apr-2014 Selim Cinek <cinek@google.com> Further improved NotificationStackScroller

The top card is now collapsed during the pulldown of
the notification shade and expanded during the transition.
The scrollstate is also reset once the shade is closed.

Change-Id: Ibf17eef1f338d674c545e5bf55261e60db62b2ce
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
d4a57440ca5fc8461959176475b0fcd8a6e05871 10-Apr-2014 Jorim Jaggi <jjaggi@google.com> Limit notifications on lockscreen to a maximum 4.

All the other notifications are going to be collapsed in a "n more"
card.

Bug: 13635952
Change-Id: I18471c7b18d05d27e92c49ee8214605f1a151927
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
1fcb5400b3c63d46aaabd54ba79b3fc2620dadad 10-Apr-2014 John Spurlock <jspurlock@google.com> resolved conflicts for merge of 3c86a27d to master-lockscreen-dev

Change-Id: Idcf46beb8790ff95566942d1633baf70ca5eddf8
bf20eab6fce406dfe76117dbbdb4c34c3134883b 09-Apr-2014 John Spurlock <jspurlock@google.com> Put suppressed notifications behind a summary notification.

Bug:13726563
Change-Id: Ib1c3fba3a328792dc674c8403735f75d4db41973
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
251957d76e57eb6e5f8068b37346144e10e586a4 09-Apr-2014 Jorim Jaggi <jjaggi@google.com> Double tap interaction for notifications on lockscreen.

This change also uses a different background for notifications on the
lockscreen and moves the background drawable from the templates to
SystemUI.

Bug: 13635952
Change-Id: Icf09178065aa7fc0472adef70342d637fbcca785
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
9a762b3eee71882e1aa54bc9b993371d25d63f41 07-Apr-2014 Christoph Studer <chstuder@google.com> am d624a443: Merge "Write eventlog entries for notification panel visibility"

* commit 'd624a443ec5662d2bf812b6992e783bea225d36d':
Write eventlog entries for notification panel visibility
760ea554d0022fd88bbe13e3ef7c75cbe8613af6 21-Mar-2014 Christoph Studer <chstuder@google.com> Write eventlog entries for notification panel visibility

Change-Id: Ie7e15ed15739cb5f057c900e1cadf90824b2b4ef
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
649b7081dfb1647bd121dfc476f353bd1c799997 03-Apr-2014 Jorim Jaggi <jjaggi@google.com> Collapse notifications on lockscreen.

Bug: 13635952
Change-Id: Iee812fa4ee61d633568b98380810311693d44f38
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
18d084698c805fea57c2808d1729c0f62df5573d 03-Apr-2014 Jorim Jaggi <jjaggi@google.com> resolved conflicts for merge of 93160828 to master-lockscreen-dev

Change-Id: Ief6d6b8b8cc9ae2eb38442a3ba9ecae4637b75d6
b6d85ebfe4f9f5d3b7d7ab7b6123af02a0deb516 28-Mar-2014 Selim Cinek <cinek@google.com> Enabled the new notification shade and improved expanding logic

Made the NotificationStackScroller now the default and only shade.
When the notification shade is expanded, the NotificationStackScroller
now also expands revealing the notifications.

Change-Id: If989ed848f684b3ac4e687d9642289db4599553b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
ffa80df57848a41aeba692d177c701676c58c65f 02-Apr-2014 Kenny Guy <kennyguy@google.com> am 1ccace91: Merge "Rename related users to profiles."

* commit '1ccace916c8fdc61f1a8db6677aed518d31647e6':
Rename related users to profiles.
2a764949c943681a4d25a17a0b203a0127a4a486 02-Apr-2014 Kenny Guy <kennyguy@google.com> Rename related users to profiles.

Rename the related user concept as profiles.
When returning profiles of a user include the
user as a profile of itself.

Change-Id: Id5d4f29017b7ca6844632ce643f10331ad733e1d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
5cf17879a31b7b78c09ec50b727f921840dcf783 26-Mar-2014 Jorim Jaggi <jjaggi@google.com> Reuse KeyguardViewMediator for new Keyguard implementation.

This change reuses KeyguardViewMediator for the new Keyguard
implementation in status bar. KeyguardViewManager is replaced by
StatusBarKeyguardManager which handles adding the view, setting the
state etc. StatusBarWindowManager is introduced to managed the window
of the status bar, which has the logic of both the old Keyguard window
and the old status bar window. In the current implementation, Keyguard
gets displayed like it would be in the bouncer state, but that's likely
to change in the future. Also, setHidden in IKeyguardService is also
renamed to setOccluded, as the word hidden interferes with the
terminology when dismissing the Keyguard.

Bug: 13635952
Change-Id: I1c5d5a49d810d8532089f464cb2efe35e577f517
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
8ae65aecc81d5a3ccf2320b88a8324e82b46fda4 31-Mar-2014 Jorim Jaggi <jjaggi@google.com> Address comments for I059d80d8b9b9818a778ab685f4672ea2694def63

Bug: 13635952
Change-Id: I5d2bd44b3588621f26d94baab161e4e2444197a8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
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/src/com/android/systemui/statusbar/BaseStatusBar.java
ddaba4360b86f96307ec88f0d0b145425bc3e128 27-Mar-2014 Selim Cinek <cinek@google.com> Merge "Initial implementation of NotificationStackScroller"
73581effb0b4029961501c6f699e95a9930ea1e6 27-Mar-2014 Jorim Jaggi <jjaggi@google.com> Merge "Move legacy notification processing to Notification.Builder"
67b2260093774f5866f781aede52830440f4ed0e 10-Mar-2014 Selim Cinek <cinek@google.com> Initial implementation of NotificationStackScroller

Change-Id: Ida9a90ca4c9645166794afea8cf0c1d1b7afe1b4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
5c2d84675b239bc04ae98c75526e5b81897ee183 21-Mar-2014 Jorim Jaggi <jjaggi@google.com> Move legacy notification processing to Notification.Builder

Bug: 13485610
Change-Id: I5466d3dbc328c77876dc701c17e7a5a06777dbbe
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
eeb397b77f249045b02fe3014479a9c1bf001d0d 25-Mar-2014 John Spurlock <jspurlock@google.com> Zen mode updates.

- Now only two modes, no more ZEN_MODE_FULL.
- Alarms are allowed by default.
- Interstitial dialog cleanup to follow current UX.

Change-Id: I8e4c8f64854dabfef69ad33b3eb35bee07e55ef7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
5f3302622178ddd26848df39125a02405c764c41 24-Mar-2014 Raju Yadav <raju.yadav@sonymobile.com> Avoid SystemUI crash due to NPE

BaseStatusBar.createNotificationViews() returns null
when it reports handleNotificationError(), leading to
a forced crash of the misbehaving app. However, it
should not add a null object of Notification.Entry
since it will also crash SystemUI (crashing at compare).

Change-Id: I86678c8024e931420b0fbab1f36b330e7e75d581
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
cf44a124ab4eca431b3c57776183cd3857113e6f 24-Mar-2014 John Spurlock <jspurlock@google.com> Unhide Notification kind, rename to category.

Change-Id: I8e6d5a30dff519d7ed4f38e018646dd2bc55db33
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
4c71aefcbd7f7bef5dab1d05d5f7001aaea1b067 21-Mar-2014 Winson Chung <winsonc@google.com> Fixing crash with multiple touch pointers

- Adding support for force-reloading certain thumbnails (in prep for fix to Bug. 13587139)
- Use withLayer and withEndAction on ViewPropertyAnimator animations
- Ensuring that we close the notifications panel when we toggle recents

Change-Id: Ied2d841de42046fcb09fffb615156b07b4a67136
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
5d9b153db373d974fe4a5b549872e9b81b632ac9 21-Mar-2014 Chris Wren <cwren@android.com> lower the heads up threshold to exactly PRIORITY_HIGH

Bug: 13452562
Change-Id: I945ce22fa7253ff84fcc3d72f4cb732921ba3489
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
fd7f1e00399e53a392941928ed5a55ca77b1b721 18-Mar-2014 John Spurlock <jspurlock@google.com> Unhide notification category.

Rename @hidden Notification.kind -> category, and flesh out
shared values. Now a single value.

Update framework references, remove unused SystemUpdateService
magic value unused since 2012.

Change-Id: If06d19ff3a8c3125fca1457f5d3c665e2939c66c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
3a7c4a5669420ae9b01eda88d1d60114e99d70ff 03-Mar-2014 Kenny Guy <kennyguy@google.com> Show notifications from related users.

When filtering notifications for user include those for users that
are related to the current user.
Pipe through user id so we know which user the notification is for.

Change-Id: I4e2657c23bd7b611d450be5a1f9457824bc062cb
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
6d94aa7a4e9232f935033cd682596b42bf705370 12-Mar-2014 Dan Sandler <dsandler@android.com> Insulate SystemUI from IDs in inflated notification views.

We use the hidden View.setIsRootNamespace() in the same way
that AppWidgetHostView does: to block recursive ID search
traversals from traveling into notification views, which
might have children with IDs that collide with SystemUI's
own views. (Views inside notifications can still be located
by ID, but you need to start your search inside the
inflated notification row.)

Bug: 13421971
Change-Id: If8b81b9d0ed4b0eb6fa1e028275caa0b932f5759
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
39fa59fc4907d3c8faad41bf20e1f855dbcda5e6 25-Feb-2014 Jorim Jaggi <jjaggi@google.com> Change appearance of notifications to light theme.

Change-Id: Ic15e96582d6b46b4dc195b1c7c0cef38f25f0d38
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
7bd2412332f5cf7b22fd730397d1225fbea00cbf 28-Feb-2014 Chris Wren <cwren@android.com> add a setting for the heads up: base part

also fix a crash if the feature is disabled and then enabled
while a heads up is active.

Bug: 13208692
Change-Id: I6847f7a5f275aee2f608de0237dab0e45c39b33f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
9f6a372ca08c657447ef4b8dc6c80a89202247f8 28-Feb-2014 Chris Wren <cwren@android.com> Merge "create a synthetic 2U heads up notification"
595c2c58d54d9bc2bcda6eac92960075806931bd 28-Feb-2014 Chris Wren <cwren@android.com> Merge "use ticker text as a criterion for heads up"
8fd39ec46b056c88f0d08758d04badab29a8786a 27-Feb-2014 Chris Wren <cwren@android.com> create a synthetic 2U heads up notification

combine the 1U with the action buttons to make a mid-sized notification
bounded to 128dp by the system ui
used for the heads up

Bug: 13208692
Change-Id: I382bb0bd1ce73f35295f05ca2606195986cff1d3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
110e5b10d73bc59a641f00339852b5717de73389 27-Feb-2014 John Spurlock <jspurlock@google.com> Disable zen mode UI until provisioned.

Change-Id: Ib7fb9a793176ec38c4958dba7ee546ee1f47fba1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
e677d7113f6627161653f686b6381d2eef4d502f 13-Feb-2014 John Spurlock <jspurlock@google.com> Introduce zen mode.

- New global zen mode setting with three values:
ZEN_MODE_OFF, ZEN_MODE_LIMITED, ZEN_MODE_FULL
- Status bar icon (on lhs) when in _LIMITED / _FULL
- Rules are hardcoded for now:
_LIMITED = intercept all notifications except calls/alarms
_FULL = intercept everything
- UI affordance in shade to set mode
- Only one exit condition: "Until you delete this"
- Intercepted notifications:
- appear darker in the shade
- do not cause sound/vibration
- do not fire fullScreenIntents
- do not contribute an icon to the status bar

Change-Id: Ic36c95982b483432006bf9dab102a31370382aa9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
22ae46efddd9ea708c977a33e22279531e26a39c 27-Feb-2014 Chris Wren <cwren@android.com> use ticker text as a criterion for heads up

Bug: 13208692
Change-Id: I83831c059cb4582b16ce877af58be9fb3a5bec8d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
fd16d56419649b885f2e18dc37a18add0fe91e01 14-Feb-2014 Dan Sandler <dsandler@android.com> Allow a user to elect to see private notifications in public.

Settings.Secure.LOCK_SCREEN_ALLOW_PRIVATE_NOTIFICATIONS, if
set and nonzero, will show that user's notifications on the
secure lockscreen (assuming LOCK_SCREEN_ALLOW_NOTIFICATIONS
is also set). Note that this applies only to a particular
user's notifications, so if multiple users' notifications
are shown at once (currently this only applies to the
current user and USER_ALL) only that user's notifications
are affected.

USER_ALL is assumed to always allow private notifications in
public (because they can't be user-specific).

Change-Id: I32bb7939066c4919191e74161ca48ead01a88c7f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
70cf4c104cc538678724ee61ae5538f76f2e0077 13-Feb-2014 John Spurlock <jspurlock@google.com> Fix NPE in BaseStatusBar.

Bug:12996414
Change-Id: Icded809ce14ca6fc5d11bee1c2470152d507cee2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
f29c3b4997e74e58600487193930264eebe85c9d 27-Nov-2013 Chris Wren <cwren@android.com> explicitly handle clicks on the heads up notification

Bug: 11900055
Change-Id: I45c955f7ac91dc9f59528e382e9df490f0f96be5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
a5e0f415d351ad1a9c0ffde8d93df91a2384591f 23-Jan-2014 Dan Sandler <dsandler@android.com> SystemUI support for notification visibility.

In this implementation, DISABLE_NOTIFICATION_TICKER (which was never
really used on its own and can be safely subsumed by
DISABLE_NOTIFICATION_ICONS) is now DISABLE_PRIVATE_NOTIFICATIONS;
when this SystemUI bit is set by the keyguard, SystemUI knows to switch
its presentation into "public" mode, in which
VISIBILITY_PRIVATE notifications are replaced with their
publicVersion's contentView (or a placeholder view,
synthesized by SystemUI, that leaks no additional
information about the notification). VISIBILITY_SECRET
notifications are suppressed altogether in this mode.

This behavior is enabled but not activated by default. To
turn it on, run:

$ adb shell settings put secure lock_screen_allow_notifications 1

and restart SystemUI.

Change-Id: Id660bef7737580e16a83f60567c22b53ee81c602
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
a999d463c1f72fc7d9fcb21e850b78ec77793730 30-Oct-2013 Jim Miller <jaggies@google.com> Remove deprecated API calls to KeyguardManager from statusbar

Fixes bug 11448304

Change-Id: I3049a20d9320af0425d7a8f08d5aa208e470e292
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
ad178a43ba478167a39c117b372c0017449d9386 09-Oct-2013 Jim Miller <jaggies@google.com> Have SearchPanel fade camera and search buttons when activated

Bug 10991981

Change-Id: Iabc497ce992b675bff1df634add755e67a7fb794
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
777dcdeeb67c570168e04d5096d2a7a9eb408cea 30-Sep-2013 Daniel Sandler <dsandler@android.com> Fix configuration changes in status bars.

- Make sure SystemBars calls onConfigurationChanged on the
status bar
- Remove redundant ACTION_CONFIGURATION_CHANGED receiver in
BaseStatusBar & move this code into onConfigurationChanged
- Force locale refresh even if a configuration change
touches only the layout direction

Bug: 10113357
Change-Id: I92902d25cbae77f2558cfb85482484b11dc7294e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
f6e83f452f2223dc99da157f95a11a584f94ea50 11-Sep-2013 Chris Wren <cwren@android.com> disable heads up feature in klp.

Bug: 10315685
Change-Id: If1c096e133b70db92ae06f2b632faa5e25cf015a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
cfc359a9e6798dc7595380314eac7fcfeda14d76 05-Sep-2013 John Spurlock <jspurlock@google.com> Remove opaque-on-interaction from nav bar.

And decouple it from the status bar opaque-on-interaction logic.

It's still important to track nav bar interaction for hideybar
suspension purposes.

Also fix a sysui NPE that can occur when restarting SystemUI
(vs the shell).

Bug:10606136
Change-Id: I66a15e02cff352e26b25aebc1c42fb58c042effa
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
e6f0a716501e57616c8e1d809c0f60b08d21eb0a 03-Sep-2013 John Spurlock <jspurlock@google.com> Dim status icons / battery / clock on opaque bars.

Apply consistent alpha to the other status bar elements
now that they are intrinsically brighter than before.

Bug:10602822
Change-Id: I8ca6ddc844f9c58ddf2a1df8d1a5bd7fb71932d1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
d4e6575c4f664e0d42d9306c9762d96533df429e 28-Aug-2013 John Spurlock <jspurlock@google.com> Ensure IME windows always appear north of the nav bar.

Even if the bars are transparent / invisible.

Refactor the PSB bar mode override logic to take the IME hint into
account. Bars are overriden to opaque when hint is showing.

Initialize bar state to showing, fix bug that would mark state
as hidden pre-show (on shell restart).

Bug:10505132
Bug:9499956
Change-Id: I21e830e90c7e9812b4192ca65c3c0cd7a6b72798
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
b77edbfdab54531023c8bbea7d89b6cefc42096c 22-Aug-2013 John Spurlock <jspurlock@google.com> Improve transparent bar transitions.

1. Migrate transparent transitions to the new optimized
background color animations.

2. Ensure sysui animation transparent -> opaque has enough
time to run before window manager crops off the content area.

3. Lose the individual alpha on each status bar icon if the bars
are not opaque. Animate the alpha if visible, make sure they
play together.

4. Documentation typo fix found in AnimatorSet.

Bug:10344949
Change-Id: I615668ce3c552d3df15dbba5cdeeca67549a0220
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
6d15a364f26bd61122bfdd127eee225ca65206f5 21-Aug-2013 Chris Wren <cwren@android.com> use ONGOING as the signal not to auto-hide heads up

instead of INSISTENT or NO_CLEAR
required some disambiguation in places where ONGOING is already used.

Bug: 10412149
Change-Id: Iea7d698846c76a464cae511a3a8e3908b114edfe
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
e03f4e1fae518cff08ffcf51a3435cefe4fed1c8 08-Aug-2013 Chris Wren <cwren@android.com> handle updates to the notification in the heads up

Bug: 10226356
Change-Id: I5bc9aecc3849617092e863868a6df610c615048b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
e97f90b9bbe3e75db058827887a842c5f4a0dda0 07-Aug-2013 Chris Wren <cwren@android.com> on screen off: convert heads up to full screen intent.

Let the app handle screen off as appropriate.

Bug: 10209767
Change-Id: I3949def1980118c0380b173a83148321ad8c5d95
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
f0048ce66fa7b4859b44badc8e58ea8b27e2356b 07-Aug-2013 Chris Wren <cwren@android.com> heads up notifications always take the top spot

If it was important enough to be a heads up, it should get top spot.
Make this sticky so bumping out of the HUN doesn't require a shade sort.
Split view creation and insertion so we can get the shade order correct.

Bug: 10001616
Change-Id: I4c1f2581e11a94241269984a01b92289a8943065
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
51c7510e493680b4aca1ed7695b35c52d2cd63ff 17-Jul-2013 Chris Wren <cwren@android.com> allow rich notifications in the heads up.

new shouldInterrupt logic: screen on, not locked, not dreaming, and
priority above HIGH and noisy, or has fullscreen intent
draft of API allowing devs to give hints about head up display

reuse inflateViews()
add an expand helper to the heads up space
move some things into Entry for reuse

don't allow touches in first second
delay decay if touched
make decay time a resource

add a custom viewgroup for notification rows to get view management
out of the NotificationData class.

Change-Id: I36464f110cfa0dabc3f35db7db6c35c27e8ee2ba
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
574a55e9eec37f49a80b75b28a401a18f1433fe7 16-Jul-2013 Chris Wren <cwren@android.com> unify variable naming scheme.

inflateViews() and updateNotification() reference the same objects
with different names, and it was confusing. #cleanup

Bug: 6497005
Change-Id: I0d9a94d7ec156b6bfcf4b85c777f9b58311d07d0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
157026f820f9ff08a63c78368f928a505cb11ec5 28-Jun-2013 Chris Wren <cwren@android.com> heads up notifications, v0.1

1. re-name intruder alerts to heads up notifications
2. use interrupt for the verb form, instead of intrude
3. new policy: no full screen, high priority, screen on, not locked or dreaming
4. controlled by global setting, with an observer
5. only content view for now, expandable is a todo

to turn it on:
adb shell settings put global heads_up_enabled 1
calendar notifications (not pop-up) work well.

Change-Id: I253418c217d0a5cf81dc2fa001f4bad90fafcce5
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
3f43c4e642ad75596e03f98fc596c0254b2e1e0c 24-Jun-2013 John Spurlock <jspurlock@google.com> Merge "Decouple recents from status bar."
d08de37a2223d5183620098737eb93907a4ba92c 24-Jun-2013 John Spurlock <jspurlock@google.com> Decouple recents from status bar.

Remove remaining references to recents package from status bar.

Introduce in-process "components" to the existing SystemUI base class
to make component boundaries explicit, and implement Recents as the
first component.

Change-Id: Ieefd386379a1f46806b31f68a4cacd76c093aea4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
20f573c9fc00a15e104814af955784ad7a26b8db 24-Jun-2013 John Spurlock <jspurlock@google.com> Remove obsolete recents layout params.

Change-Id: I20d12a63f4449ba73911cbe219446f3d1cd089e9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
5c4541246c6a70f53552423dc35940386788bd5f 17-Jun-2013 John Spurlock <jspurlock@google.com> Introduce SystemUI-managed alternative system bars.

If a service component is defined in a new secure setting,
SystemUI will attempt to use that service as the status bar
provider.

Falls back to the existing in-process implementation configured
in the product config if the setting is missing or invalid.

Nothing changes yet from a permission point of view. Alternative
system bar implementations still require the status bar permission.

Also nothing changes from an api point of view. Alternative
system bar implementations use the existing IStatusBar interface.

This simply enables testing alternative system bar implementations
installed from other trusted, platform-signed packages.

Known caveat: the setting is stored per user, multi-user changes
will be handled in a future CL.

Change-Id: I0413df185f7e75f77ad2ae1bc3689306d5e6e0fb
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
b0e49fc93c146d7ddc8e1f27ec67306a71168510 12-Jun-2013 John Spurlock <jspurlock@google.com> Remove TabletStatusBar from systemui package.

Change-Id: Ie8b556dbba8751617582f8c717ee83e480938b27
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
de84f0e77ea2bf713d15c290264059a413c2486a 12-Jun-2013 John Spurlock <jspurlock@google.com> Organize the imports in systemui.

To follow android conventions, more importantly to remove the
unused.

Change-Id: I75881718e84360a579a3b02c26489ad250bc9227
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
cd686b5b6d4166b510df8e32138479a9559bc117 05-Jun-2013 John Spurlock <jspurlock@google.com> Migrate systemui Slog calls to Log

Change-Id: Ib6734c85960f06fed646599565b8eeba26b9e98e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
ad3e6cb4db99ad33fcfc61f236d37cd83446866d 30-Apr-2013 John Spurlock <jspurlock@google.com> Navigation hideybar via new system ui opt-in flag.

Apps using SYSTEM_UI_FLAG_HIDE_NAVIGATION to hide the nav bar
or SYSTEM_UI_FLAG_FULLSCREEN to hide the status bar can now
opt into hideybars by also using a new public sysui flag:
View.SYSTEM_UI_FLAG_ALLOW_OVERLAY

When opting in, apps accept the fact that bars can be overlayed
over their content, but gain the ability to use the entire gesture
space - something that was not possible before, particularly when
hiding the nav bar.

Swiping from the nav bar edge of the screen will reveal the new hidey
version of the nav bar, if applicable.

Bug: 8682181
Change-Id: I6405bee50e6516667ba6b9a62d4f1e43490b5562
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
4f91efdf421e354ee2033ed640e4150cf0cef21b 25-Apr-2013 Daniel Sandler <dsandler@android.com> API: getPkg() -> getPackageName()

Bug: 8656860
Change-Id: If3062b9fc00270e5f0ecfe67e593b9a28c6bccdd
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
e6f7f2e3a01b8deb00e03ccfa93751c315f14ef0 25-Apr-2013 Daniel Sandler <dsandler@android.com> API cleanup: NotificationListener

- Wrap all public member variables in getters and make
slots private
- Rename clear* methods to cancel* to be more consistent
with existing public Notification API

Bug: 8656860
Change-Id: I84f7e71fbb627f859352a93089c6a531b44dac95
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
5feceebb892d4cb5777cea3c6174b206705d456b 23-Mar-2013 Daniel Sandler <dsandler@android.com> New NotificationListenerService.

This is the best and only way for apps to listen for
notifications: create a NotificationListenerService, wait
for the NoMan to bind to you (as a result of the user
checking a box somewhere in Settings and agreeing to a
scary dialog box), and you'll start receiving notification
posted and dismissed callbacks. Your service, while enabled,
will also be able to clear one or all notifications.

Use this power wisely.

This change moves StatusBarNotification out of
com.android.internal into android.service.notification.
[Internal customers, including System UI and early users of
the system-only listener binder API, will need to be
updated.]

Bug: 8199624
Change-Id: I1be46f823d4b3ddc901109ec1e085cd6deb740c2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
e9c90271acea43b33169e90aba8cb9889d20512a 06-Mar-2013 Michael Jurka <mikejurka@google.com> Fix Recents in RTL/landscape mode

The normal LTR Recents interface in landscape
actually scrolls/behaves like a RTL interface,
so we hardcode the layout to stay the same in both
modes

Change-Id: I57e5e76de3260c6de1dd9e939797b7e1c23cca03
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
b5fe52b389d92c067b19217429a2812a9d0ea9dd 15-Feb-2013 Fabrice Di Meglio <fdimeglio@google.com> SystemUI optimization - rely on inheritance for layout direction

- this CL purpose is to fully rely on inheritance for setting the
SystemUI views layout direction. This is the default case for layout
direction and should stay like that.

Change-Id: I8efb6ab6e5bd10f519c7a27e8837efb69631940e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
12cdec9b940b8488e2a4e98c89ba0a359c082669 07-Feb-2013 Michael Jurka <mikejurka@google.com> Fix Recents transition for RTL languages

Bug: 8058416

Change-Id: I81dca6dfd6662a94133566bf1efc863df66e33d1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
8afcd149970c79054a3a16377834aa0aec35eee0 28-Jul-2012 Fabrice Di Meglio <fdimeglio@google.com> Make SystemUI RTL aware

- see bug #5429822 UI should be mirrored for RTL locales (Arabic, Hebrew, farsi)

Change-Id: Ica88ed68f893d5272691a9207788b65623849dee
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
833808d0c69be8533759afdaa8ca4c004835f6a0 19-Oct-2012 Michael Jurka <mikejurka@google.com> Fix transition into Recents with live wallpaper

Fixes regression introduced by:
738cfc91053fc888397ec2d139e0798f8c95b3ca
(Fixing wallpaper flash when going in/out of Recents)
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
e9687ba8bdccc27f98fe1dcdc48faac0c0de4c18 19-Oct-2012 Michael Jurka <mikejurka@google.com> Merge "Fixing wallpaper flash when going in/out of Recents" into jb-mr1-dev
738cfc91053fc888397ec2d139e0798f8c95b3ca 19-Oct-2012 Michael Jurka <mikejurka@google.com> Fixing wallpaper flash when going in/out of Recents

Bug: 7372516
Bug: 7216872

Change-Id: I2a2308a85caf9f2ad2d382c709e5f8867bd060be
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
80343f646f9686528212f82163a77ef48e30f4c3 18-Oct-2012 Michael Jurka <mikejurka@google.com> Fix recents animations for secondary users

Bug: 7361640

Change-Id: Ibd177bf01758fb8706b82dcf3bf234e052c38aa3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
071316e5612ae1554309912ad4ad4680b80c718d 10-Oct-2012 Michael Jurka <mikejurka@google.com> Use black bg in recents if using live wallpaper

Bug: 7282784

Change-Id: I686f8f0e36e3414ad30d23de80cbbfb2868069d4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
bac221ff0b9e1406f95f23c9a5c3b580ece10eab 04-Oct-2012 Casey Burkhardt <caseyburkhardt@google.com> Accessibility enhancements within quick settings and notification shade.

Change-Id: I377c389abe3ce2285a620e60f4c8de4727f4f5c9
Bug: 7229886
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
9bdaada95c481b8164417696649a1ffb584552f1 01-Oct-2012 Michael Jurka <mikejurka@google.com> Fix bug 7138446: Icon blips in during Recents animation

Add animation where icon and description of the
primary activity fades and translates in

Change-Id: Ie21b5302ac9e58ee6af219b7cde98d12a8e82697
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
0dc2b81ce1400ae23faa5cc386caeef235856307 28-Sep-2012 Daniel Sandler <dsandler@android.com> Merge "Cleanup internal status bar APIs." into jb-mr1-dev
5e08af03a3dffff8b8fc098790e5133589601d8f 22-Sep-2012 Christopher Tate <ctate@google.com> Respect per-user rotation lock et alia

Various per-user settings such as rotation lock are relevant to the
singleton PhoneWindowManager object. We now listen for user-switch
broadcasts and reconfigure the active state based on the newly-
active user's settings.

The RotationPolicy toolset has also been updated to do the right
thing, as has the Quick Settings UI.

Bug 7213638

Change-Id: Iee2109e48df550b4c979d3f9c91b5d2b71a6a08e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
11cf178100e71d3f9f34ab5865e03a277c5eadaa 27-Sep-2012 Daniel Sandler <dsandler@android.com> Cleanup internal status bar APIs.

IStatusBarService.collapseQuickSettings is gone;
collapseNotifications is now collapsePanels, which does what
collapse() used to do. Similarly,
IStatusBar.animateCollapseQuickSettings is now simply
IStatusBar.animateCollapse().

Bug: 7245229
Change-Id: Id157d2fdf34926d3c85ffa8b81c741a5359aede4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
b32e221699201cb647beae3fe0a1771fd5a41cf4 26-Sep-2012 Jeff Brown <jeffbrown@google.com> Merge changes I332f020f,I632648ac into jb-mr1-dev

* changes:
Update references to migrated global settings.
Handle user switched for settings changes.
c91fb5875bfd7f91d50d6fe939873872b53c8b2f 26-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> Merge "Adding a global accessibility action to open quick settings." into jb-mr1-dev
e20a177d3f147f3011647c3bdab401f90b2c5d1d 26-Sep-2012 Svetoslav Ganov <svetoslavganov@google.com> Adding a global accessibility action to open quick settings.

1. Added APIs for opening the quick settings to the StatusBarManagerService
and the local StatausBarManager. The new APIs are protected by the old
EXPAND_STATUS_BAR permission.
Renamed the expand* and collapse* non-public APIs that are expanding
the notifications to expandNotifications* collapseNotifications* to
better convey what they do given that this change adds
expandQuickSettings* and collapseQuickSettings*.
Added a global action to the accessibility layer to expand the quick
settings which is calling into the new status bar manager APIs.

bug:7030487

Change-Id: Ic7b46e1a132f1c0d71355f18e7c5a9a2424171c3
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
98edc951712823dbf5db2b7e9c203a0e98fc616b 25-Sep-2012 Amith Yamasani <yamasani@google.com> Load resources for the correct user

For apps that are only installed on secondary users, the SystemUI is
unable to see them by default. Added some methods to explicitly pass the
userId of the user the resources are requested for by the StatusBarIcon

Bug: 7214384

Also fix binding to remote views

Bug: 7192802

Change-Id: I5d6c5f624aa37fb231f3467f9764c8d99077a91d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
bf6f6f9de72c9fd15e6bda9f228c05a9b37d6324 26-Sep-2012 Jeff Brown <jeffbrown@google.com> Update references to migrated global settings.

Fixed one setting that was migrated but not marked deprecated.

Removed a hidden setting that is no longer used by the new
power manager service.

Bug: 7231172
Change-Id: I332f020f876a18d519a1a20598a172f1c98036f7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
7951c459aefeb012638477b762e19b792ecbe009 25-Sep-2012 Jean-Baptiste Queru <jbq@google.com> Merge into jb-mr1-dev

Change-Id: Ifc2328e30a52c2baebc1322c9b161104dcf21618
ea7e91514ee1968d15713e82a5cca745e2c46a05 25-Sep-2012 Amith Yamasani <yamasani@google.com> AppInfo from Notifications for secondary users

Required wiring up startActivitiesAsUser()

Bug: 7224950

Also fix a bug in navigateUp in secondary user

Change-Id: I114ae2de0457362d62e899fdb94b12239a3eb778
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
598cfcad42c117a05c4a6f3f75c415b1146170d1 24-Sep-2012 Daniel Sandler <dsandler@android.com> Merge "Properly launch quicksettings activities." into jb-mr1-dev
50cdf7c3069eb2cf82acbad73c322b7a5f3af4b1 24-Sep-2012 Dianne Hackborn <hackbod@google.com> Fix issue #7214090: Need to be able to post notifications to all users

Also fix a bunch of system services that should be doing this. And
while doing that, found I needed to fix PendingIntent to evaluate
USER_CURRENT at the point of sending, not creation.

Note that this may end up with us having some notification shown to
non-primary users that lead to settings UI that should only be for
the primary user (such as the vpn notification). I'm not sure what
to do about this, maybe we need a different UI to come up there or
something, but showing the actual notification for those users at
least seems less broken than not telling them at all.

Change-Id: Iffc51e2d7c847e3d05064d292ab93937646a1ab7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
3ffdcc70c28d7a2abbb4f248d32d70d45d61fd44 23-Sep-2012 Daniel Sandler <dsandler@android.com> Properly launch quicksettings activities.

- As current user
- Dismissing keyguard if necessary
- Dismissing all status bar windows and panels

Also move some QS-specific stuff out of PanelView and into
SettingsPanelView.

Bug: 7217006
Change-Id: I4d8ac84cc0f43e78f70553599c3207305c4f5c74
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
198a0306e5b0ef6b02d61e299a4b4ab4c1c2cdc8 17-Aug-2012 Daniel Sandler <dsandler@android.com> Fix the seesaw behavior on the status panels.

The code in onMeasure that attempts to accommodate changing
child boundaries (i.e. an expanding/collapsing notification)
was locking the window size to the child measurement, even
though another window was trying to seesaw it closed. We now
only activate the rubberband behavior when the size of the
children changes, not on each onMeasure().

Lots of other small fixes to the panel expansion logic, too,
including ensuring that the expanded fraction doesn't jump
to 1.0f when the panel content hasn't been laid out yet
(causing the entire screen to become dim for a second thanks
to PhoneStatusBarView.panelExpansionChanged).

This change also restores the ability of Binder clients
(such as accessibility systems) to expand and collapse the
status bar.

Bug: 7008196
Bug: 6995518
Bug: 6628429
Change-Id: Ib0244a27aef2b4dbe19be98f7e039a9d38f1b80e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
61e36836b7302c8ccd30c0c07ac14d087f873c8e 10-Sep-2012 John Spurlock <jspurlock@google.com> Notifications: Hide ticker updates from background users.

We should only update the notification ticker area when
the notification is for the current user.

Bug:6924835
Change-Id: Ieaccbd8c972b3d0f62c74d29d42e0fa77ec3148c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
d0d4bb84595d48116b3751b14efbc39388a78882 04-Sep-2012 Michael Jurka <mikejurka@google.com> Fixing preloading recents for all devices

- Fixed for tablets and phones with hard nav buttons

Change-Id: I1dc2249376b3f376c283598f5cef6e326b191ace
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
a4dd30174d8f0b385cfb37258c583afcb725794c 04-Sep-2012 Michael Jurka <mikejurka@google.com> Debug code for window transition crash

https://b.corp.google.com/7060284

- Throw exception before we try to start window
transition with null thumb
- also remove some old unneeded debug code

Change-Id: Ic9693372724cbfaa4c4cb2594128ca10677d9d8f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
cb2522c86d75fff277dc38ec7e444a5b5f5130ea 13-Apr-2012 Michael Jurka <mikejurka@google.com> Recents: apps scale down to thumbnails now

As a part of this change, Recents is now an
activity.

Known issues:
* Jank: jump-cut as app icon appears suddenly
after the aniamtion
* Preloading recents is broken on phones without
soft nav bar and on tablets
* Thumbnail window from animation lingers/flashes
sometimes

Change-Id: Ie6f991f3c2e1e67f9ed84eb6adba9174ed957248
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
98365d7663cbd82979a5700faf0050220b01084d 20-Aug-2012 Jeff Brown <jeffbrown@google.com> Refactor for multi-display support.

Split WindowManagerImpl into two parts, the WindowManager
interface implementation remains where it is but the global
communications with the window manager are now handled by
the WindowManagerGlobal class. This change greatly simplifies
the challenge of having separate WindowManager instances
for each Context.

Removed WindowManagerImpl.getDefault(). This represents the
bulk of this change. Most of the usages of this method were
either to perform global functions (now handled by WindowManagerGlobal)
or to obtain the default display (now handled by DisplayManager).

Explicitly associate each new window with a display and make
the Display object available to the View hierarchy.

Add stubs for some new display manager API features.

Start to split apart the concepts of display id and layer stack.
since they operate at different layers of abstraction.
While it's true that each logical display uniquely corresponds to a
surface flinger layer stack, it is not necessarily the case that
they must use the same ids. Added Display.getLayerStack()
and started using it in places where it was relatively easy to do.

Change-Id: I29ed909114dec86807c4d3a5059c3fa0358bea61
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
2a00329c6d55c6cd9166e01963d7410e95d80d21 15-Aug-2012 Amith Yamasani <yamasani@google.com> UserHandle to UserSerialNo mapping

Use AtomicFile for usermanager files.

Added a MANAGE_USERS permission that apps (signature permission) can use
to create/query/modify/remove users.

Change-Id: I5cf232232d0539e7508df8ec9b216e29c2351cd9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
f02b60aa4f367516f40cf3d60fffae0c6fe3e1b8 16-Aug-2012 Dianne Hackborn <hackbod@google.com> Rename UserId to UserHandle.

This is the start of turning this into a formal public API.

Change-Id: I5786d2c320f1de41a06ed5d0f65adb68967287a0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
b9301c3a686df05950710ec80e2cd691c3082871 14-Aug-2012 Daniel Sandler <dsandler@android.com> Multiuser support for notifications, take 1.

Notifications for background users are hidden from the
panel and status bar.

Still need to add a concept of "any user" notifications (for
things coming from the system) and notification visibility
controls (for access to icons + possibly masked text of
a background user's notifications).

Change-Id: Iba121f35a6c25c2e1c44db029d776a5a59a6a008
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
3ddab0dcc1039137f05a28ff86477601a223a0fa 02-Aug-2012 Chris Wren <cwren@android.com> Don't allow the status bar to collapse things we're touching.

Bug: 6538918
Change-Id: Ie4e79aa593ac2097d0e6402f84816df934160687
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
0fc5b2bea09a6d320884c5b12577caf426f547c1 19-Jul-2012 Adam Powell <adamp@google.com> Fun with Up navigation

For activities with a null taskAffinity, simply finish the current task.
(They probably shouldn't have specified a parentActivityName anyway.)

When launching into app info from ResolverActivity, launch the app info
page in the current task with FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET. Back
will return to the resolver, and Up will jump to Settings.

When launching into app info from RecentsPanelView or BaseStatusBar,
since this is a system affordance akin to notifications or widgets,
build the full task stack for the app info activity with
TaskStackBuilder and launch it as a new task.

Change-Id: I73b1941d0f52bd8b30382b5e17edd8ceb058c70d
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
acc3da02e84aa541c829ec0650a7dcace16e5df0 29-Jun-2012 Dianne Hackborn <hackbod@google.com> am 4be93bbe: am 074b54fb: Merge "Maybe fix issue #6756472: Share button is not defocusing the shade" into jb-dev

* commit '4be93bbe911c1a4471f81f0e261e9b13d9212c36':
Maybe fix issue #6756472: Share button is not defocusing the shade
a19402165000e9513f3097e10df2b7ebc8dbe1d4 29-Jun-2012 Dianne Hackborn <hackbod@google.com> Maybe fix issue #6756472: Share button is not defocusing the shade

I got this reproduce a few times, then wasn't able to. I made this
change and then couldn't reproduce it. Maybe it fixed it.

The change here is to explicitly pass in the handler class to
apply() and reapply(), instead of relying it being set as a member of
the RemoteViews class. This is much cleaner and more explicitly about
setting that for the click callbacks.

Bug: 6756472
Change-Id: I8d029c3836501df3206c433838124b4be3890a8b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
4f329cb77df5c53a677e5f2bcf695f6cdbe06658 28-Jun-2012 Michael Jurka <mikejurka@google.com> Merge "Fix warnings and remove dead code"
a600fd9ba76e7916f18521447446671f0e431560 26-Jun-2012 Michael Jurka <mikejurka@google.com> Fix warnings and remove dead code

Change-Id: Ifd1bcd8f5be181b115910f2f8918e1e50975a790
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
2761ccd4799971b7ad696f6f94036ca16113c78d 28-Jun-2012 Chris Wren <cwren@android.com> Merge "Retain expanded state across more than one violent update." into jb-dev
5ae1ea8400d576b90f0ef02b2f10201d74729be6 28-Jun-2012 Chris Wren <cwren@android.com> Retain expanded state across more than one violent update.

Bug: 6680363
Change-Id: Iebf2387fc5c8774c1c001dde5a4608d4e60720aa
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
8930458639527448429362255af96e94f5aba5ed 28-Jun-2012 Chris Wren <cwren@android.com> Merge "Retain expanded state across violent updates." into jb-dev
c9433ecb51772cc41394cbb1a05e8e25a382dbeb 27-Jun-2012 Chris Wren <cwren@android.com> Retain expanded state across violent updates.

Bug: 6680363
Change-Id: I81e3b3a4e15b4ed240af62ad1023d4bbd9aaa646
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
67ad368d4d549b431d826936e40a679099fefec8 26-Jun-2012 John Spurlock <jspurlock@google.com> Disable assist gesture when keyguard is active

Prevent search gesture from firing when keyguard is in restricted input mode,
e.g. in Emergency Dialer. Also disable the Home touch listener in this mode to
avoid bringing up the ring. Affects both phone and tablets.

Bug: 6723749
Change-Id: I60f0aebfcce4cf7f66798ee1212ea326bdad3ef0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
17990395bc62f8ce1bae4f1880899f231a8e613b 26-Jun-2012 Dianne Hackborn <hackbod@google.com> Merge "Fix issue #6717667: expanded notification actions don't work on the lock screen" into jb-dev
1927ae8a56a010919a7535231fa0f7db70f7e152 23-Jun-2012 Dianne Hackborn <hackbod@google.com> Fix issue #6717667: expanded notification actions don't work on the lock screen

FLAG_ACTIVITY_CLOSE_SYSTEM_DIALOGS was a mistake.

Instead, and the infrastructure for the status bar to take care
of closing and hiding things itself when you press these buttons,
just like it does for the main Intent of the notification.

Bug: 6717667
Change-Id: I1b22186e0cedc05f46a1a3ec78053a72afaf61b1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
3623128d13839b48693245a64448fb2dabc1977f 23-Jun-2012 John Spurlock <jspurlock@google.com> TabletStatusBar: Hide notifications during Setup Wizard

Protect tablet users going through the initial setup wizard from trapping
themselves in Settings before the setup wizard is complete. A similar change
was already made for phones, so use the same logic.

Also hide quick-settings button (another way to get trapped in Settings) and
associated panel click handler. Remove clear button since we're no longer
showing notification items.

Bug: 6704080
Change-Id: If7148cde9d18f493627f8367fd4b39d22e0d5ef1
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
ed5cc0e1f7648962f5c93e1277d282be75bcd537 21-Jun-2012 Chris Wren <cwren@android.com> revert I057b7ac0 now that the layouts are the expected height.

Bug: 6546766
Change-Id: I736290b897b864228ecc3e46d86ef566efda1efd
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
c016aaaa42f2d7f758bb6d973f035285e3d3dd87 06-Jun-2012 Michael Jurka <mikejurka@google.com> Tweak recents out animation a bit more

Bug: 6490204

-Fading to black in the recents layer
-Tweaking duration and interpolators
-Removing some unnecessary debug exceptions (Bug: 6642072)

Change-Id: Iba18fade7f874078111fc1d79a81830ee07617d4
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
26cda27d2e6f1341514943b39a4da1e55ba2197e 22-May-2012 Daniel Sandler <dsandler@android.com> Hide notifications until the device is provisioned.

During Setup (0 == Settings.Secure.DEVICE_PROVISIONED)
there's no reason to show notifications, unless they're
coming from the platform (and therefore essential to the
setup process), like the IME switcher.

We also disable the settings button and ticker while the
device is not provisioned.

Bug: 6355011
Change-Id: I1522f0c0fed3f2f95a36bd71d051248e12f0a1f8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
9a720f5eb6c67b581df22f4ecb498cebb459babe 30-May-2012 Jim Miller <jaggies@google.com> Fix 6398209: SearchPanel gesture improvements

This fixes a few recent regressions caused by other bug fixes:
- add new flags to animateCollapse() so we can selectively close panels. Fixes regression caused by attempt to close recent apps from startAssistActivity() which had the side effect of closing the search panel before the animation completes.
- adds tuneable holdoff delay for responding to home key press.
- minor tweaks to MultiWaveView animations.

Change-Id: Ia48434b8d59e7b0290a5e9783960c2f684068218
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
030243a0832b632c5e63995f655f385bdf51f504 16-May-2012 Daniel Sandler <dsandler@android.com> Fix 1U notifications.

Bug: 6502730
Change-Id: I057b7ac038354c68e45b0a85c44511b2af16b9ab
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
8680bf865a08f876fc3986c50a193e3186ff6f02 15-May-2012 Daniel Sandler <dsandler@android.com> Action button improvements:

- Horizontal layout
- At most 2 are shown
- Tombstones are now shown (if the intent is null, the
button is disabled; use it for quick feedback of an
action's effect)

Bug: 6418617 (tombstones)
Bug: 6482237 (action separators)
Change-Id: Ie0c613006227bbfe1c0ec6eab1cda4f3782a05f2
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
66757217a6d8e6a156d15be55bf77940e2e6194b 14-May-2012 Chris Wren <cwren@android.com> Create separate dimensions for the notificaitons and notification rows.
Use notification heights on layouts internal to the notificaitons.
Use row heights where padding needs to be protected, on row layout decisions.
Clean up values-xhdpi/dimens.xml since there is no longer a values-hdpi/dimens.xml.

Bug: 6475098
Bug: 6489095
Change-Id: I44750574c6e23336585a432a38c5f1ba183b6cbc
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
e9e3772534f6410005ae3a61c415e71ac093e732 11-May-2012 Chris Wren <cwren@android.com> Update both views for rich notifications.

Bug: 6475141
Change-Id: I24a87285e6385673c4a08cfa66b211228982a62e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
a5b2d487005e967eb43b5e077713d6f9bc819fe4 15-May-2012 Jim Miller <jaggies@google.com> Merge "Fix 6483412: Disable search from navbar while SUW is running" into jb-dev
b4238e0c59d8e1890f7752934bdf4d52fa89bf1b 15-May-2012 Jim Miller <jaggies@google.com> Fix 6483412: Disable search from navbar while SUW is running

This fixes a problem where navbar gestures were enabled during
SetupWizard.

There's no clear signal for handling this in StatusBar since there
are a number of flags that we might use to determine the availability
of the search gesture.

However, the UI design generally calls for the gesture to be available
when the home button is visible, so I think it makes sense to start
with that and enable others as we encounter issues.

Change-Id: I7b37964ae5b51bf803d5808605f1afe694a88464
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
56a5783c02c17e7353ee342fa24f04bec7bb545b 14-May-2012 Michael Jurka <mikejurka@google.com> Hide notification panel when launching recent apps

Bug: 6484280
Change-Id: Ib97af40979ccdd98aa2b8af6c1488b33b34bdf2b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
670d9dd2d04c2146d00b697f7f0faea258297a81 12-May-2012 Jim Miller <jaggies@google.com> Fix 6474712: Disable the google gesture on prime while notifications are open

Change-Id: I7c40e7bf4859d60c54c186fc49b670397a4ea723
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
230e86a1cf31d2f2233a444e4abb0a334576477b 10-May-2012 Chris Wren <cwren@android.com> Merge "Auto-expand the top notification." into jb-dev
0a6a1234c2ee5c6b810c875389016ce89022cee1 10-May-2012 Chris Wren <cwren@android.com> Merge "Pull up updateNotification to BaseStatusBar in preparation for modifying update behvior." into jb-dev
8fd12657e353a4a6f6d875a0d86850426fec00e8 10-May-2012 Chris Wren <cwren@android.com> Auto-expand the top notification.

Bug: 6455789
Change-Id: Ia455f204544ad0c41ace77ea3ece6e0d3d3110d9
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
0c8275b392344c24bb621b2a8af360f48a6459f9 08-May-2012 Chris Wren <cwren@android.com> Pull up updateNotification to BaseStatusBar in preparation for modifying update behvior.

Bug: 6455789
Change-Id: I09fbf4d31643813cb4dfecaa496327d9625a15af
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
e95658c98e4154a2daf0ed70d15d24f8bf3153f0 10-May-2012 Daniel Sandler <dsandler@android.com> New backgrounds for notifications.

Note that PRIORITY_MIN notifications have a special
background treatment.

Bug: 6418617
Change-Id: I5f96330fcc53ac39e80a025baa0c134bd1e971b8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
20cfb6066a047ebee2552cfbe65c2176adbc34b2 07-May-2012 Daniel Sandler <dsandler@android.com> Merge "Close notification blame popups when the panel disappears." into jb-dev
0799440ab3ce50ffa6acb762cb7677abdffb3f74 02-May-2012 Jim Miller <jaggies@google.com> Fix 6414061: Add new ACTION_ASSIST intent.

Change-Id: I3d334f67723ac89f6001267e0f06ad76190b929f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
469e96e206f8df44b32ce393f8d19f0cae730030 04-May-2012 Daniel Sandler <dsandler@android.com> Close notification blame popups when the panel disappears.

Also be sure to cancel the longpress listeners when things
change.

Finally, increase the longpress timeout to 1.5x normal
longpress.

Bug: 6441520
Change-Id: Icea4d2a5c98a9a51a15f0762454de9e5cd454c50
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
af232ed38abdfa055b80585d646e63480e392a1a 01-May-2012 Jeff Sharkey <jsharkey@android.com> Avoid showing popup when View detatched.

Bug: 6388558
Change-Id: I12cfde91b142916ce137ebd4e96107a12ad2b4b7
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
321452da28548e1cf566fa88bbe5f0faf0f74cb7 24-Apr-2012 Chris Wren <cwren@android.com> Set row height to the row height not the notification height.

Bug: 6376501
Change-Id: I41567b11fcb1d39bc75ef782faa8287bbb1e4ca8
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
3b291870d3c78cea6ca514949591ccc32f00554e 25-Apr-2012 Jim Miller <jaggies@google.com> Fix 6299832: Improvements to navbar's "swipe to search"

This uses the new global search intent provided by SearchManager.

It also fixes the layout on tablets.

Change-Id: I9dd97785a454a4793aed7da1f5e260377f648354
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
e898ac59db04d8ab0762180ca8ec7cea1347aa09 07-Apr-2012 Jim Miller <jaggies@google.com> Fix 6299832: Add search target swipe action to navigation bar on phones

This adds a feature to swipe upward on the navigation bar to invoke
voice search on phones.

Change-Id: I462076fd43b1c66c5bf624f00b297c6d3414a19a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
4a066c5c77109431f50806fc29179d28f1472871 20-Apr-2012 Daniel Sandler <dsandler@android.com> Update SystemUI for sw600dp devices.

Devices between 600 and 719dp will now use the two-bar
(phone) SystemUI layout, or something like it, derived from
PhoneStatusBar. Devices above 720dp will use the system bar
from TabletStatusBar.

However, this distinction is not to be made based on dp, at
least, not by the SystemUI; the goal is to drive most of
this switch from the window manager. Therefore most of
SystemUI's sw600dp resources have been folded into the main
set of resources (renaming them to avoid collisions where
appropriate). This allows SystemUI to choose which set of
resources to use entirely by switching status bar
components, entirely independent of Configuration.

(For some resources, particularly around recents, it seemed
more expeditious to keep relying on the device
configuration, so those resources have been bumped up to
sw720dp.)

Bug: 6297838
Change-Id: I3f5414a6a718bdc83f51930d6878cdf97df48c9c
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
80a76276dc9440ffad30dc4c820eb7d65f4df368 18-Apr-2012 Chris Wren <cwren@android.com> Add visual feedback for notification expandability.

Change-Id: I0b82a465a126a6d0ec6cf6af87dc56817765b995
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
d84e5937468f6ebf2313ccd5ae54d5405f5e9cde 19-Apr-2012 Chris Wren <cwren@android.com> fix press feedback on notification rows

Change-Id: I50de2f4d6142c2553428abc853c820f4354d0640
Bug: 6362246
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
f7a1956b06faeb6025fdea331f81d66edda58b3c 04-Apr-2012 Daniel Sandler <dsandler@android.com> Long-press a notification to find out who sent it.

Bug: 5547401
Change-Id: I8d5d73723b3f03f5b0f8717faaca826b1530df7a
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
bc5559f1922d72715940f754faffc82da4100eab 19-Apr-2012 Daniel Sandler <dsandler@android.com> Expand too-small notifications to fill 64dp.

Also fix NotificationTestList so it runs again.

Change-Id: I2fb28cd9cfad25a7a1b17ccef9ccd741c3aa99b0
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
6a858c347f4d4e5db4c8f00d5e285967631b71ca 12-Mar-2012 Daniel Sandler <dsandler@android.com> Gestures for expanding notifications.

Change-Id: I104c157ffcc2d60b3f0a95c59d4322b07103b69f
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
0424716328a7d0f7bb794d24f7481a76be08d379 02-Apr-2012 Daniel Sandler <dsandler@android.com> Merge "Show action buttons in expanded notifications."
96fd7c1c1acc03b40b1813ef65793560c175ef80 30-Mar-2012 Daniel Sandler <dsandler@android.com> Show action buttons in expanded notifications.

Any notification with at least one action will now have an
expanded form by default. BigPicture/BigText can have
actions, too, of course.

Change-Id: I6f54cac65d9a9f335d8038c2105cd2c674f991ff
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
3a3a6cfd8ec12208ca75c0d0d871d19d76c34194 26-Mar-2012 Dianne Hackborn <hackbod@google.com> Add new feature to let apps layout over status bar / system bar.

The main change is a few new flags you can supply to
View.setSystemUiVisibility(). One is a new visibility mode,
SYSTEM_UI_FLAG_FULLSCREEN, which is basically the same as
the global FLAG_FULLSCREEN option for windows, but driven as
part of the system UI state.

There are also three new flags for telling the framework that you
would like to have your application's UI ignore screen
decorations -- SYSTEM_UI_FLAG_LAYOUT_NO_NAVIGATION for going
behind the navigation bar and SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN
for ignoring full screen decorations (that is the status bar).

In combination with this you can use SYSTEM_UI_FLAG_LAYOUT_STABLE
to have the framework report consistent insets to your application.

When using NO_NAVIGATION, when the user taps the screen we now
also automatically clear ONLY_CONTENT, so that we atomically show
both UI elements. This should make it easy for apps like video
players that want to move between fully full-screen and regular
modes.

The ActionBar has also been extended when in overlay mode so
that it will adjust the system window insets to also account
for its space, and allow it to be hidden using the new
SYSTEM_UI_FLAG_FULLSCREEN.

Change-Id: Ic8db1adec49a0f420bfe40c1d92eb21307856d0b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
ecc395a51053c433e359a6cfd6c23a193ee546c0 30-Mar-2012 Michael Jurka <mikejurka@google.com> Fix the build

Change-Id: Ib4ea7df5459d025903d00361eb0e9477be299c85
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
7f2668c8469934ce83a5647977f6e74ab782cf07 27-Mar-2012 Michael Jurka <mikejurka@google.com> Preload recents on phones with hard nav keys

Also refactor recents code across Phone/Tablet

Change-Id: Id557c5cb0f7d9378f81c40b20511a5d98bf4078e
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
fa7887bebf57f3dcb8283d73e69ba1daa115225f 26-Mar-2012 Daniel Sandler <dsandler@android.com> Intruder alerts with actions and swipe-to-cancel.

Change-Id: I1d8c7d32bcbf4d3910bb866431e92a8639e4e28b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java
c6d29fc0f552db7cfee6491530cf89f59c242bd4 25-Feb-2012 Daniel Sandler <dsandler@android.com> Newly reimplemented PhoneStatusBar, now with fewer windows.

Change-Id: I4eaf69a1d46f9180d6911a6559ff24d173ccb35b
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/BaseStatusBar.java