9155 Commits

Author SHA1 Message Date
Jeff Sharkey
c4858a2ba9 Switch PackageParser to reference single path.
It previously kept mPath separate from mScanPath for some very odd
edge cases around moving apps-on-SD.  This changes it to always use
a single path, refactors moving to keep separate paths.

Refactors method names in PackageParser to be clearer about their
APK-versus-package relationship.

Beginnings of a split package parser.  Instead of requiring that
callers check error codes when null, switch to always throwing on
parse errors, to require that callers deal with the error.  Longer
term the entire parser should switch to this style, but its too
pervasive for a simple refactoring.

Change-Id: If071d8e55e46e56cc201fadfb51cb471713ae973
2014-06-16 13:20:18 -07:00
John Spurlock
8c763b89ab Merge "PowerUI: Dial down logging." 2014-06-14 02:21:10 +00:00
John Spurlock
3ff2de64f4 PowerUI: Dial down logging.
Only log notification dismissals on state changes.

Bug:15611493
Change-Id: Id304f7aed58e3584235513677abe97dd85595009
2014-06-16 13:32:48 -04:00
Jorim Jaggi
d34804cfb3 am b6d02956: Merge "Bigger clock." into lmp-preview-dev
* commit 'b6d029569675a486dde2a7117fdc94658e1576fe':
  Bigger clock.
2014-06-16 16:28:35 +00:00
Jorim Jaggi
7b1fda8c98 am bfb2ad5e: Merge "Revert "Introduced fading views for the camera interaction on the lockscreen."" into lmp-preview-dev
* commit 'bfb2ad5ed5da824f71290b27bb3962b9641b6a65':
  Revert "Introduced fading views for the camera interaction on the lockscreen."
2014-06-16 16:28:25 +00:00
Jorim Jaggi
4dda93ffa3 am 261caa08: Change style of clock in status bar.
* commit '261caa08828d11ab827bc5da71b2e5a1a9581819':
  Change style of clock in status bar.
2014-06-16 16:28:10 +00:00
Geoff Mendal
803c5eb17d Merge commit 'fd7ef123c01718e44c13ed638b86a7483ae2d9c9'
Conflicts:
	packages/SystemUI/res/values/dimens.xml
2014-06-16 09:06:45 -07:00
Baligh Uddin
d9b63709aa Import translations. DO NOT MERGE
Change-Id: I3befd03bdc010b6d87538e91ecb3b7f8b644dca8
Auto-generated-cl: translation import
2014-06-15 12:55:54 +00:00
Baligh Uddin
bae17706e4 Import translations. DO NOT MERGE
Change-Id: I106f4baf039e03ba6cd7b82c80c60b4f49dd4a7b
Auto-generated-cl: translation import
2014-06-15 12:55:21 +00:00
Baligh Uddin
4a66b07c7f Import translations. DO NOT MERGE
Change-Id: If49c63f7cf5e95fcaba6852dfc44ed702ed625b9
Auto-generated-cl: translation import
2014-06-15 12:54:54 +00:00
Winson Chung
42617c3773 Merge "Cleaning up some old animation code, only setting view properties that have changed." 2014-06-13 21:09:46 +00:00
Winson Chung
b5ddfc3756 Cleaning up some old animation code, only setting view properties that have changed.
- Also drawing a background on the thumbnails if a transparent thumbnail is detected.

Change-Id: I3f5450d207ae0796150c8b04aabc2f910f80e0a7
2014-06-14 00:39:28 +00:00
Winson Chung
743d5c95f3 Clipping the task bar against the task view.
- Skipping nav bar scrim animation when animating without window transitions

Change-Id: I8652f3956971f07bb410b801bf627d51c5e987cd
2014-06-13 15:27:47 -07:00
Winson Chung
ad6f276670 Enabling Home->Recents transition. 2014-06-13 09:41:09 -07:00
Winson Chung
a26fb7822d Fixing issues with dim not animating, adding dismiss button delay, tweaking empty recents text. (Bug 15431590, 15573497)
Change-Id: I9c11e04cd52f9e000d8ba3e443f2500c9aa7edbb
2014-06-12 19:08:29 -07:00
Winson Chung
9214eff52a Fix regression in using visibility flags. 2014-06-12 13:59:25 -07:00
Winson Chung
d42a6cfe2b Exploring transitions to/from Recents.
- refactored hwlayers and change view property animations to use a reference counted trigger
- cleaned up RecentsConfiguration, and move it into classes using it
- moved task bar animations back into TaskBarView
- refactoring enter/exit animations to use an animation context

Change-Id: Ia66b622b094f22145c2fab07c2a9bdfd62344be2
2014-06-12 12:57:56 -07:00
Winson Chung
ec464ed728 Merge "Clipping the task bar against the task view." 2014-06-11 08:41:11 +00:00
Christian Robertson
3fe7830f20 am 48a85854: Merge "New geometric system bar icons" into lmp-preview-dev
* commit '48a85854d6b7b3d5092808d7d4c957faf692181d':
  New geometric system bar icons
2014-06-13 20:50:08 +00:00
Winson Chung
e4f7224d29 am 870b4c31: Fixing issue where we do not get the task rects, and therefore have no transitions. (Bug 15610655)
* commit '870b4c31c58aefaed1de3912e7dfe0fc6cc46f17':
  Fixing issue where we do not get the task rects, and therefore have no transitions. (Bug 15610655)
2014-06-13 19:20:47 +00:00
Winson Chung
4b5b892ca8 Merge "Enabling Home->Recents transition." 2014-06-12 17:09:07 +00:00
John Spurlock
3332ba54ae Heads-up notifications for low battery warnings.
Falls back to dialogs when heads-up are N/A.

Add new ongoing notification if battery saver mode
is active.  Offer to start battery saver on warnings,
if not already started.

True up BatteryMeterView's levels to the latest threshold
levels.  15% for first warning.

Bug:13329308
Change-Id: Id8ad11a1997079ee7165ae003a8fa1c744462ab3
2014-06-11 19:38:00 -04:00
Winson Chung
91b7d2b4fb Merge "Stop sending broadcasts to RecentsActivity before boot has completed. (Bug 15109101)" into lmp-preview-dev 2014-06-11 21:23:31 +00:00
Winson Chung
8175a7c2e6 Stop sending broadcasts to RecentsActivity before boot has completed. (Bug 15109101)
Change-Id: Ic04dc2ef73c75d63e107e7b50842dd618d3a173a
2014-06-11 14:19:53 -07:00
Selim Cinek
1e119db1a3 Changed the visual appearance of the speedbump view.
The colorfulldots are replaced by a simple line to avoid
catching too much attention.

Bug: 15188625
Change-Id: I41be50dcc61d495f3bc88e4731388f770fda83d0
2014-06-11 19:53:18 +00:00
John Spurlock
edbfd04060 Merge "Brightness slider no longer displays the automatic icon." into lmp-preview-dev 2014-06-10 21:32:31 +00:00
John Spurlock
6d20526adf Brightness slider no longer displays the automatic icon.
Bug:15414855
Change-Id: I3a1b8e7758e41abd172c20177f42452077bfc7a7
2014-06-10 19:28:03 -04:00
Winson Chung
6f6f273df6 Merge "Updating Recents to make the cards slightly more visible." into lmp-preview-dev 2014-06-10 22:00:10 +00:00
Dan Sandler
069438d3fe am 54c4c19b: Merge "NotificationListenerService: API updates" into lmp-preview-dev
* commit '54c4c19bc95e839cfce3d10f0e842ed5588391eb':
  NotificationListenerService: API updates
2014-06-12 00:04:01 +00:00
Dianne Hackborn
439688cf39 am 6d758619: Merge "Implement control of auto power save mode." into lmp-preview-dev
* commit '6d758619d90a0dda7f1136dcd44d0ac02cdada7e':
  Implement control of auto power save mode.
2014-06-12 00:03:55 +00:00
John Spurlock
615166639b am a6522c40: Merge "SystemUI asset update." into lmp-preview-dev
* commit 'a6522c40e44c9b8c6dc551ab05c7b0ddfbfdac75':
  SystemUI asset update.
2014-06-12 00:03:40 +00:00
Dianne Hackborn
6de057816f Merge "Implement control of auto power save mode." into lmp-preview-dev 2014-06-10 22:06:31 +00:00
Dianne Hackborn
14272302a8 Implement control of auto power save mode.
Follow the setting for auto power save mode in both
battery service and battery UI.  Default level is 15 when
setting is not set; otherwise it is whatever the setting
gives, with 0 meaning auto battery save is off.

Change how we define the "turn off warn" level to be
an adjustment from the warn level, so we can have a good
value for whatever auto setting is set.

Fix power manager to never go in to power save mode when
plugged in, even if the user has manually turned it on.

Add new delete option to settings command, because I needed
it for testing.

Change-Id: I512b691df84399d50b8e751fd50732c6093ebe85
2014-06-11 10:34:26 -07:00
Jorim Jaggi
85a7bb169b am 331b598b: Merge "Fix blank lockscreen." into lmp-preview-dev
* commit '331b598b261c6e531095b37185739b16bfefdd68':
  Fix blank lockscreen.
2014-06-11 22:16:53 +00:00
Chris Wren
85fa7722fe am 9abea7a7: Merge "Only post interrupting notifications to the Heads Up." into lmp-preview-dev
* commit '9abea7a7764e6735c1a37ab5ce45342bbfe56eed':
  Only post interrupting notifications to the Heads Up.
2014-06-11 22:16:47 +00:00
Selim Cinek
9f7c624a32 am 634a15af: Merge "Fixed a racecondition which could lead to invisible backgrounds" into lmp-preview-dev
* commit '634a15aff1d106ae549984e26113f734c016760d':
  Fixed a racecondition which could lead to invisible backgrounds
2014-06-11 22:16:35 +00:00
Ruben Brunk
ef1b1398e9 fixbuild: Remove 'pinned' attr.
Needed by ag/481620

BUG: 15523923
BUG: 15473856

Change-Id: I5e8bf417368b60fcc33c80852e12f27b8c580774
2014-06-11 11:56:58 -07:00
John Spurlock
2d848a7741 am 9641b929: Merge "Brightness slider no longer displays the automatic icon." into lmp-preview-dev
* commit '9641b929ae730241c37c8da21092cf56230aa05f':
  Brightness slider no longer displays the automatic icon.
2014-06-11 17:43:49 +00:00
Winson Chung
09cb074e0e am 16696cb1: Merge "Updating Recents to make the cards slightly more visible." into lmp-preview-dev
* commit '16696cb15954020880c9bed85376c4b0814ff19d':
  Updating Recents to make the cards slightly more visible.
2014-06-11 17:02:29 +00:00
Chris Wren
b6f4ba7a92 Merge "Only post interrupting notifications to the Heads Up." into lmp-preview-dev 2014-06-10 21:38:43 +00:00
Dan Sandler
59c11b5dda Merge "NotificationListenerService: API updates" into lmp-preview-dev 2014-06-10 21:32:31 +00:00
Christoph Studer
d0694b6735 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
2014-06-11 18:27:18 +02:00
John Spurlock
c830d8f3b1 Merge "SystemUI asset update." into lmp-preview-dev 2014-06-10 21:32:31 +00:00
John Spurlock
899f439a29 SystemUI asset update.
- Updated location icons.
- Updated no-sim, plumb up to QS.
- Updated zen mode synthetic notification icon.
- Updated color inversion icons.

Change-Id: I4849fbe11683feab37160c3d23502b01035de66a
2014-06-11 11:04:43 -04:00
Jorim Jaggi
1a8e848dc4 Merge "Fix blank lockscreen." into lmp-preview-dev 2014-06-10 21:32:31 +00:00
Adrian Roos
e74b853d9f resolved conflict for merge of 3ca33b70 to master
Change-Id: I5226015ca7cef030586349cc698a46e458ac788e
2014-06-11 15:02:55 +02:00
Jorim Jaggi
e6cad8027c am 5eb62efd: Merge "Do not override mColor with default color if none set" into lmp-preview-dev
* commit '5eb62efd935399335ee2504a483900c69a45494a':
  Do not override mColor with default color if none set
2014-06-11 12:41:45 +00:00
Jorim Jaggi
ce3d6c4c02 Merge "DO NOT MERGE: Fix paddings for user switch and status bar icons." into lmp-preview-dev 2014-06-10 21:21:32 +00:00
Adrian Roos
2643de55d3 Merge "Update security method after switching user" 2014-06-10 21:21:32 +00:00
Jorim Jaggi
a5c1506313 am dc61882e: Merge "Fix black background for auto-redacted legacy notifications" into lmp-preview-dev
* commit 'dc61882ef03a25f7861aff838577ef124a8f40e7':
  Fix black background for auto-redacted legacy notifications
2014-06-11 11:25:07 +00:00