OSDN Git Service

android-x86/frameworks-base.git
10 years agoMerge "DO NOT MERGE temporary hide of AudioAttributes" into lmp-preview-dev
Jean-Michel Trivi [Wed, 28 May 2014 16:11:30 +0000 (16:11 +0000)]
Merge "DO NOT MERGE temporary hide of AudioAttributes" into lmp-preview-dev

10 years agoMerge "Implement FlushCaches TODO" into lmp-preview-dev
John Reck [Wed, 28 May 2014 16:02:06 +0000 (16:02 +0000)]
Merge "Implement FlushCaches TODO" into lmp-preview-dev

10 years agoMerge "DO NOT MERGE Cherry-pick: Add full screen size preset to WearableExtender...
Griff Hazen [Wed, 28 May 2014 15:59:13 +0000 (15:59 +0000)]
Merge "DO NOT MERGE Cherry-pick: Add full screen size preset to WearableExtender" into lmp-preview-dev

10 years agoMerge "Appear animation for PIN view." into lmp-preview-dev
Jorim Jaggi [Wed, 28 May 2014 15:34:33 +0000 (15:34 +0000)]
Merge "Appear animation for PIN view." into lmp-preview-dev

10 years agoAppear animation for PIN view.
Jorim Jaggi [Wed, 28 May 2014 14:20:03 +0000 (16:20 +0200)]
Appear animation for PIN view.

Bug: 15163546
Change-Id: I05bc2920cc6e3d19ab64b8b43417b328552e9e2a

10 years agoSysUI: Fix bug where ZEN'd notification wasn't updated
Christoph Studer [Mon, 26 May 2014 21:21:16 +0000 (23:21 +0200)]
SysUI: Fix bug where ZEN'd notification wasn't updated

Bug: 15131411
Change-Id: If6a149a04b34b63052797bbadb3a6fde18c675cd

10 years agoMerge "Use activity transitions when launched from fragments." into lmp-preview-dev
George Mount [Wed, 28 May 2014 14:37:34 +0000 (14:37 +0000)]
Merge "Use activity transitions when launched from fragments." into lmp-preview-dev

10 years agoMerge "fixed mIsReturning initialized too late. DO NOT MERGE." into lmp-preview-dev
George Mount [Wed, 28 May 2014 14:37:18 +0000 (14:37 +0000)]
Merge "fixed mIsReturning initialized too late. DO NOT MERGE." into lmp-preview-dev

10 years agoMerge "SysUI: Reflect notification ranking" into lmp-preview-dev
Christoph Studer [Wed, 28 May 2014 14:33:05 +0000 (14:33 +0000)]
Merge "SysUI: Reflect notification ranking" into lmp-preview-dev

10 years agoIntroduced animations for the clipTopAmount of notifications.
Selim Cinek [Wed, 28 May 2014 12:16:02 +0000 (14:16 +0200)]
Introduced animations for the clipTopAmount of notifications.

Bug: 14081264
Change-Id: I09ca8161807d9dea7ca118601ddff9a28c373de5

10 years agoMerge "Implemented basic camera and phone affordance." into lmp-preview-dev
Selim Cinek [Wed, 28 May 2014 14:17:24 +0000 (14:17 +0000)]
Merge "Implemented basic camera and phone affordance." into lmp-preview-dev

10 years agoImplemented basic camera and phone affordance.
Selim Cinek [Mon, 26 May 2014 17:22:17 +0000 (19:22 +0200)]
Implemented basic camera and phone affordance.

The phone and the camera can now be accessed when swiping anywhere
on the background of the keyguard in the corresponding direction.

Bug: 15126905
Change-Id: If5551078676275764d5b7ddbca6e71cf008a1904

10 years agoSysUI: Reflect notification ranking
Christoph Studer [Mon, 26 May 2014 11:10:30 +0000 (13:10 +0200)]
SysUI: Reflect notification ranking

Respect the ranking received via NotificationListenerService.

Bug: 15131411
Change-Id: I9e3a1530ffb5f4c29eeeccdbc910261d2eb72216

10 years agoMerge "NoMan: Don't unbind system listeners" into lmp-preview-dev
Christoph Studer [Wed, 28 May 2014 12:10:34 +0000 (12:10 +0000)]
Merge "NoMan: Don't unbind system listeners" into lmp-preview-dev

10 years agoMerge "Fix a typo" into lmp-preview-dev
Sungsoo Lim [Wed, 28 May 2014 09:37:27 +0000 (09:37 +0000)]
Merge "Fix a typo" into lmp-preview-dev

10 years agoFix a typo
Sungsoo Lim [Tue, 27 May 2014 00:35:30 +0000 (09:35 +0900)]
Fix a typo

Change-Id: I93e7e38a2e3502883b64c38567eaf5957c4197d2

10 years agoMerge "DO NOT MERGE Cherry-pick: Doc fixes for Notification.WearableExtender" into...
Griff Hazen [Wed, 28 May 2014 07:31:25 +0000 (07:31 +0000)]
Merge "DO NOT MERGE Cherry-pick: Doc fixes for Notification.WearableExtender" into lmp-preview-dev

10 years agoMerge "Revert "Only allow 1 Stack on Leanback-only devices"" into lmp-preview-dev
Fabrice Di Meglio [Wed, 28 May 2014 01:50:08 +0000 (01:50 +0000)]
Merge "Revert "Only allow 1 Stack on Leanback-only devices"" into lmp-preview-dev

10 years agoRevert "Only allow 1 Stack on Leanback-only devices"
Fabrice Di Meglio [Wed, 28 May 2014 01:46:05 +0000 (01:46 +0000)]
Revert "Only allow 1 Stack on Leanback-only devices"

This is making a HH device (and probably others) in a reboot loop

This reverts commit 0cac71e9bdee1e9e6b2faafec0f9f894effbcb67.

===

See:

W/dalvikvm( 2320): threadid=1: thread exiting with uncaught exception (group=0x952d3f28)
E/AndroidRuntime( 2320): *** FATAL EXCEPTION IN SYSTEM PROCESS: main
E/AndroidRuntime( 2320): java.lang.RuntimeException: Failed to create service com.android.server.am.ActivityManagerService$Lifecycle: service constructor threw an exception
E/AndroidRuntime( 2320):  at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:89)
E/AndroidRuntime( 2320):  at com.android.server.SystemServer.startBootstrapServices(SystemServer.java:304)
E/AndroidRuntime( 2320):  at com.android.server.SystemServer.run(SystemServer.java:244)
E/AndroidRuntime( 2320):  at com.android.server.SystemServer.main(SystemServer.java:161)
E/AndroidRuntime( 2320):  at java.lang.reflect.Method.invokeNative(Native Method)
E/AndroidRuntime( 2320):  at java.lang.reflect.Method.invoke(Method.java:515)
E/AndroidRuntime( 2320):  at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:836)
E/AndroidRuntime( 2320):  at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:631)
E/AndroidRuntime( 2320):  at dalvik.system.NativeStart.main(Native Method)
E/AndroidRuntime( 2320): Caused by: java.lang.reflect.InvocationTargetException
E/AndroidRuntime( 2320):  at java.lang.reflect.Constructor.constructNative(Native Method)
E/AndroidRuntime( 2320):  at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
E/AndroidRuntime( 2320):  at com.android.server.SystemServiceManager.startService(SystemServiceManager.java:78)
E/AndroidRuntime( 2320):  ... 8 more
E/AndroidRuntime( 2320): Caused by: java.lang.NullPointerException
E/AndroidRuntime( 2320):  at com.android.server.am.ActivityStackSupervisor.isLeanbackOnlyDevice(ActivityStackSupervisor.java:3508)
E/AndroidRuntime( 2320):  at com.android.server.am.ActivityStackSupervisor.<init>(ActivityStackSupervisor.java:220)
E/AndroidRuntime( 2320):  at com.android.server.am.ActivityManagerService.<init>(ActivityManagerService.java:2145)
E/AndroidRuntime( 2320):  at com.android.server.am.ActivityManagerService$Lifecycle.<init>(ActivityManagerService.java:2073)
E/AndroidRuntime( 2320):  ... 11 more
E/AndroidRuntime( 2320): Error reporting crash
E/AndroidRuntime( 2320): java.lang.NullPointerException
E/AndroidRuntime( 2320):  at com.android.internal.os.RuntimeInit$UncaughtHandler.uncaughtException(RuntimeInit.java:89)
E/AndroidRuntime( 2320):  at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:693)
E/AndroidRuntime( 2320):  at java.lang.ThreadGroup.uncaughtException(ThreadGroup.java:690)
E/AndroidRuntime( 2320):  at dalvik.system.NativeStart.main(Native Method)
I/Process ( 2320): Sending signal. PID: 2320 SIG: 9
I/ServiceManager(  174): service 'power' died
I/ServiceManager(  174): service 'sensorservice' died

Change-Id: Ib90ae4dff6542d67f5827b100a3ab6158ce88ae2

10 years agoMerge "DO NOT MERGE: revert change preventing NULL SSID in a WifiConfiguration" into...
Dave Langemak [Wed, 28 May 2014 00:48:18 +0000 (00:48 +0000)]
Merge "DO NOT MERGE: revert change preventing NULL SSID in a WifiConfiguration" into lmp-preview-dev

10 years agoDO NOT MERGE: revert change preventing NULL SSID in a WifiConfiguration
vandwalle [Thu, 22 May 2014 18:53:15 +0000 (11:53 -0700)]
DO NOT MERGE: revert change preventing NULL SSID in a WifiConfiguration

bug: 15114340

Change-Id: Ic66363fc7781a1d65e5b8647843a752c048145a1
(cherry picked from commit 7aa05179b970e9f1346374f1e506a2cfeaff060a)

10 years agoDO NOT MERGE Cherry-pick: Add full screen size preset to WearableExtender
Griff Hazen [Tue, 27 May 2014 22:40:09 +0000 (15:40 -0700)]
DO NOT MERGE Cherry-pick: Add full screen size preset to WearableExtender

Bug: 14838838

Change-Id: Id038d994d61d3c89dba08232a424a5b1b934e5db

10 years agoDO NOT MERGE Cherry-pick: Doc fixes for Notification.WearableExtender
Griff Hazen [Mon, 26 May 2014 16:07:14 +0000 (09:07 -0700)]
DO NOT MERGE Cherry-pick: Doc fixes for Notification.WearableExtender

Change-Id: I22947e30d329e667079555ac4ac5f9b25d6bd3fa

10 years agoMerge "DO NOT MERGE Cherry-pick: Fix current.txt" into lmp-preview-dev
Griff Hazen [Wed, 28 May 2014 00:32:00 +0000 (00:32 +0000)]
Merge "DO NOT MERGE Cherry-pick: Fix current.txt" into lmp-preview-dev

10 years agoMerge "DO NOT MERGE Cherry-pick: Fix build: CheckBuild line for removed wearable...
Griff Hazen [Wed, 28 May 2014 00:31:53 +0000 (00:31 +0000)]
Merge "DO NOT MERGE Cherry-pick: Fix build: CheckBuild line for removed wearable package" into lmp-preview-dev

10 years agoMerge "DO NOT MERGE Cherry-pick: Api updates for wearable extensions to notifications...
Griff Hazen [Wed, 28 May 2014 00:31:45 +0000 (00:31 +0000)]
Merge "DO NOT MERGE Cherry-pick: Api updates for wearable extensions to notifications" into lmp-preview-dev

10 years agoMerge "Only allow 1 Stack on Leanback-only devices" into lmp-preview-dev
Jose Lima [Wed, 28 May 2014 00:10:14 +0000 (00:10 +0000)]
Merge "Only allow 1 Stack on Leanback-only devices" into lmp-preview-dev

10 years agoMerge "Update docs around empty/null outline behavior" into lmp-preview-dev
Chris Craik [Wed, 28 May 2014 00:08:58 +0000 (00:08 +0000)]
Merge "Update docs around empty/null outline behavior" into lmp-preview-dev

10 years agoMerge "camera2: Add partial results to the capture listener (API change)" into lmp...
Igor Murashkin [Tue, 27 May 2014 23:54:21 +0000 (23:54 +0000)]
Merge "camera2: Add partial results to the capture listener (API change)" into lmp-preview-dev

10 years agoOnly allow 1 Stack on Leanback-only devices
Jose Lima [Tue, 27 May 2014 21:59:31 +0000 (14:59 -0700)]
Only allow 1 Stack on Leanback-only devices

   - For Leanback only devices we will force all activities to
   live in the same app stack. This is a design decision for the
   shy/gregarious changes we are planning to implement for
   leanback devices.

Change-Id: I201f56541ba22356e9598f09419ad41e588c74dc

10 years agoMerge "Add and improve logged TrustAgent connection events" into lmp-preview-dev
Adrian Roos [Tue, 27 May 2014 23:46:49 +0000 (23:46 +0000)]
Merge "Add and improve logged TrustAgent connection events" into lmp-preview-dev

10 years agoMerge "Move dis/enable of mobile data to Telephony" into lmp-preview-dev
Dave Langemak [Tue, 27 May 2014 21:26:52 +0000 (21:26 +0000)]
Merge "Move dis/enable of mobile data to Telephony" into lmp-preview-dev

10 years agoUpdate docs around empty/null outline behavior
Chris Craik [Tue, 27 May 2014 21:10:17 +0000 (14:10 -0700)]
Update docs around empty/null outline behavior

bug:15257846
Change-Id: Ie4d1b0aaeb900eaaa7e54097f3e0d795beb8f445

10 years agoMerge "Remove charging text and carrier label on bouncer." into lmp-preview-dev
Jorim Jaggi [Tue, 27 May 2014 20:30:26 +0000 (20:30 +0000)]
Merge "Remove charging text and carrier label on bouncer." into lmp-preview-dev

10 years agoMove dis/enable of mobile data to Telephony
Robert Greenwalt [Thu, 22 May 2014 03:04:36 +0000 (20:04 -0700)]
Move dis/enable of mobile data to Telephony

ConnectivityService doesn't do this anymore.

bug:15077247
Change-Id: I3208c91b2c0369b594987f39ca29da7478435513
(cherry picked from commit 53013c87496980b534e447e717a32698fbd4bca0)

10 years agoInclude START event (reboots) in partial history.
Ashish Sharma [Sat, 24 May 2014 01:22:20 +0000 (18:22 -0700)]
Include START event (reboots) in partial history.

Change-Id: Ia1e5fba6c2c7bdb3f09eb5958d7134564d60e8b0

10 years agoMerge "Remove up pointing arrow in navbar." into lmp-preview-dev
Jorim Jaggi [Tue, 27 May 2014 20:24:47 +0000 (20:24 +0000)]
Merge "Remove up pointing arrow in navbar." into lmp-preview-dev

10 years agoRemove up pointing arrow in navbar.
Jorim Jaggi [Tue, 27 May 2014 19:41:55 +0000 (21:41 +0200)]
Remove up pointing arrow in navbar.

We don't need it anymore. Yay!

Bug: 15283575
Change-Id: Iac5543a733c047711e5c37f290758456116469a5

10 years agoRemove charging text and carrier label on bouncer.
Jorim Jaggi [Tue, 27 May 2014 19:12:27 +0000 (21:12 +0200)]
Remove charging text and carrier label on bouncer.

But still show it for SIM PIN/PUK.

Bug: 15283575
Change-Id: Id343e5b2fb5c695f46cd23d8509109987fa2d290

10 years agoDO NOT MERGE temporary hide of AudioAttributes
Jean-Michel Trivi [Tue, 27 May 2014 17:46:30 +0000 (10:46 -0700)]
DO NOT MERGE temporary hide of AudioAttributes

Bug 15089989

Change-Id: I6077d4906d5624be4dd2b8a5c3378a04c848b6d8

10 years agoBetter wifi-enabled signal from network controller.
John Spurlock [Thu, 22 May 2014 16:20:16 +0000 (12:20 -0400)]
Better wifi-enabled signal from network controller.

The old "is wifi enabled" signal was geared toward the cluster
view.  Since the clients of the callbacks are now only QS tiles,
make sure to plumb through the actual enabled value all the way
up to the tile.

Bug:15161053
Change-Id: I8b69c599f06d5b36e3f44dc666e1621840ffd927
(cherry picked from commit fd0ea545d47b19c2ebff203a6e768a60698f3609)

10 years agoMerge "Updating task description whenever we create a RecentTaskInfo. (Bug. 15195617...
Winson Chung [Tue, 27 May 2014 19:28:50 +0000 (19:28 +0000)]
Merge "Updating task description whenever we create a RecentTaskInfo. (Bug. 15195617)" into lmp-preview-dev

10 years agoMerge "Reduce logspam by catching unexpected types ourselves." into lmp-preview-dev
Chris Wren [Tue, 27 May 2014 19:15:25 +0000 (19:15 +0000)]
Merge "Reduce logspam by catching unexpected types ourselves." into lmp-preview-dev

10 years agoMerge "Skeleton for Keyguard security method appear animations." into lmp-preview-dev
Jorim Jaggi [Tue, 27 May 2014 18:31:57 +0000 (18:31 +0000)]
Merge "Skeleton for Keyguard security method appear animations." into lmp-preview-dev

10 years agoMerge "Show bouncer immediately when MOTION_UP is received" into lmp-preview-dev
Jorim Jaggi [Tue, 27 May 2014 18:31:09 +0000 (18:31 +0000)]
Merge "Show bouncer immediately when MOTION_UP is received" into lmp-preview-dev

10 years agocamera2: Add partial results to the capture listener (API change)
Igor Murashkin [Wed, 21 May 2014 17:07:08 +0000 (10:07 -0700)]
camera2: Add partial results to the capture listener (API change)

* Also adds capture sequence aborted callback

Bug: 12492876
Change-Id: I56ec8edbcda8b64c2262ff7472961ac78042c7f4

10 years agoUpdating task description whenever we create a RecentTaskInfo. (Bug. 15195617)
Winson Chung [Tue, 27 May 2014 18:09:22 +0000 (11:09 -0700)]
Updating task description whenever we create a RecentTaskInfo. (Bug. 15195617)

Change-Id: I371ee43296a983782eaed2e661b1febc71c86433

10 years agoMerge "DO NOT MERGE" into lmp-preview-dev
Winson Chung [Tue, 27 May 2014 18:04:35 +0000 (18:04 +0000)]
Merge "DO NOT MERGE" into lmp-preview-dev

10 years agoAdd and improve logged TrustAgent connection events
Adrian Roos [Tue, 27 May 2014 18:01:31 +0000 (20:01 +0200)]
Add and improve logged TrustAgent connection events

Adds events for when a TrustAgentService gets connected
or is stopped. Also explicitly revokes trust when a
trust agent gets disconnected, such that it shows up in
dumpsys.

Bug: 15281644
Change-Id: I5875a34da923345683279c1f755d43454ff6318d

10 years agoMerge "frameworks/base: Performance tweaks for SeekBarVolumizer." into lmp-preview-dev
John Spurlock [Tue, 27 May 2014 17:58:48 +0000 (17:58 +0000)]
Merge "frameworks/base: Performance tweaks for SeekBarVolumizer." into lmp-preview-dev

10 years agoMerge "Remove airplane, bugreport, and ringer mode global actions." into lmp-preview-dev
John Spurlock [Tue, 27 May 2014 17:48:14 +0000 (17:48 +0000)]
Merge "Remove airplane, bugreport, and ringer mode global actions." into lmp-preview-dev

10 years agoMerge "NoMan: Disable SQLite log DO NOT MERGE" into lmp-preview-dev
Christoph Studer [Tue, 27 May 2014 17:41:34 +0000 (17:41 +0000)]
Merge "NoMan: Disable SQLite log DO NOT MERGE" into lmp-preview-dev

10 years agoMerge "NoMan: Allow disabling SQLiteLog." into lmp-preview-dev
Christoph Studer [Tue, 27 May 2014 17:41:03 +0000 (17:41 +0000)]
Merge "NoMan: Allow disabling SQLiteLog." into lmp-preview-dev

10 years agoRemove airplane, bugreport, and ringer mode global actions.
John Spurlock [Tue, 27 May 2014 17:32:04 +0000 (13:32 -0400)]
Remove airplane, bugreport, and ringer mode global actions.

Bug:15281315
Change-Id: I16aa759a3269bb7757350edf2330cd72fd99a023

10 years agoframeworks/base: Performance tweaks for SeekBarVolumizer.
John Spurlock [Tue, 27 May 2014 17:10:38 +0000 (13:10 -0400)]
frameworks/base: Performance tweaks for SeekBarVolumizer.

Move ringtone init to the worker thread.  Allow the volumizer
instance to be reused by making the seekbar settable.

Bug:15091992
Change-Id: Ib616ae0fbb9a45c63391f8335e48ec2754dbdcd5

10 years agoDO NOT MERGE
Winson Chung [Thu, 22 May 2014 18:22:41 +0000 (11:22 -0700)]
DO NOT MERGE

Removing unnecessary public values. (Bug 14995844)
(cherry picked from commit aa327fc2ce428f939885e1172578ff1dc975214c)

Change-Id: I98672d0ed3120c15bf31ce7a21ab604cfe66273d

10 years agoMerge "DO NOT MERGE " into lmp-preview-dev
Winson Chung [Tue, 27 May 2014 17:07:10 +0000 (17:07 +0000)]
Merge "DO NOT MERGE " into lmp-preview-dev

10 years agoMerge "Do not start tasks on ActivityViews unless explicit. DO NOT MERGE" into lmp...
Craig Mautner [Tue, 27 May 2014 16:37:45 +0000 (16:37 +0000)]
Merge "Do not start tasks on ActivityViews unless explicit. DO NOT MERGE" into lmp-preview-dev

10 years agoDo not start tasks on ActivityViews unless explicit. DO NOT MERGE
Craig Mautner [Mon, 26 May 2014 22:06:32 +0000 (15:06 -0700)]
Do not start tasks on ActivityViews unless explicit. DO NOT MERGE

New tasks were being started on ActivityViews because they
matched packages. This fix enforces a rule that new tasks
can only be started on ActivityViews if they are explicitly
targeted for that ActivityView.

Fixes bug 15162447.

Change-Id: I9ccb72171b5cda0897a0b9ffe4cbebfbb0d92c2c

Conflicts:
services/core/java/com/android/server/am/ActivityStackSupervisor.java

10 years agoMerge "Add more error checking to xml restore" into lmp-preview-dev
Craig Mautner [Tue, 27 May 2014 16:13:28 +0000 (16:13 +0000)]
Merge "Add more error checking to xml restore" into lmp-preview-dev

10 years agoMerge "DO NOT MERGE: Hide the VectorDrawable" into lmp-preview-dev
ztenghui [Tue, 27 May 2014 16:09:04 +0000 (16:09 +0000)]
Merge "DO NOT MERGE: Hide the VectorDrawable" into lmp-preview-dev

10 years agoMerge "Initialize background visibility of ActivatableNotificationView" into lmp...
Adrian Roos [Tue, 27 May 2014 15:37:37 +0000 (15:37 +0000)]
Merge "Initialize background visibility of ActivatableNotificationView" into lmp-preview-dev

10 years agoMerge "DO NOT MERGE Hide vibrator streamHint overloads for preview." into lmp-preview-dev
John Spurlock [Tue, 27 May 2014 15:13:33 +0000 (15:13 +0000)]
Merge "DO NOT MERGE Hide vibrator streamHint overloads for preview." into lmp-preview-dev

10 years agoNoMan: Disable SQLite log DO NOT MERGE
Christoph Studer [Tue, 27 May 2014 14:56:47 +0000 (16:56 +0200)]
NoMan: Disable SQLite log DO NOT MERGE

Bug: 15279504
Change-Id: I76f9283675537607729ed450471ef4b1d9ec3898

10 years agoNoMan: Allow disabling SQLiteLog.
Christoph Studer [Tue, 27 May 2014 14:55:57 +0000 (16:55 +0200)]
NoMan: Allow disabling SQLiteLog.

Bug: 15279504
Change-Id: I561391a312f88a7d5e11b180984f18bb1d3dcda0

10 years agoInitialize background visibility of ActivatableNotificationView
Adrian Roos [Tue, 27 May 2014 14:38:11 +0000 (16:38 +0200)]
Initialize background visibility of ActivatableNotificationView

Initializes the background visibilities that were previously
only set when adding the view to the scroller,
resulting in HUNs having two backgrounds.

Bug: 15106201
Change-Id: I21ef3b34c6feb0e852c9dc2c3289665cff40927e

10 years agoMerge changes I88865c02,I34cc1310 into lmp-preview-dev
Craig Mautner [Tue, 27 May 2014 14:24:04 +0000 (14:24 +0000)]
Merge changes I88865c02,I34cc1310 into lmp-preview-dev

* changes:
  Check for null DO NOT MERGE
  Improve DocCentric documentation. DO NOT MERGE

10 years agoMerge "Only start TaskPersister once." into lmp-preview-dev
Craig Mautner [Tue, 27 May 2014 14:22:03 +0000 (14:22 +0000)]
Merge "Only start TaskPersister once." into lmp-preview-dev

10 years agoReduce logspam by catching unexpected types ourselves.
Chris Wren [Thu, 15 May 2014 22:03:11 +0000 (18:03 -0400)]
Reduce logspam by catching unexpected types ourselves.

Also fix a bug in the conversion of ArrayLists to String[].

Change-Id: I839c80d0b571be298062d511dd3c83cc1e263f54

10 years agoMerge "VolumeZen: combine ringer/notification volume and zen." into lmp-preview-dev
John Spurlock [Tue, 27 May 2014 14:16:51 +0000 (14:16 +0000)]
Merge "VolumeZen: combine ringer/notification volume and zen." into lmp-preview-dev

10 years agoMerge "Update launchFlags after changing Intent flags" into lmp-preview-dev
Craig Mautner [Tue, 27 May 2014 14:14:33 +0000 (14:14 +0000)]
Merge "Update launchFlags after changing Intent flags" into lmp-preview-dev

10 years agoVolumeZen: combine ringer/notification volume and zen.
John Spurlock [Fri, 23 May 2014 15:58:00 +0000 (11:58 -0400)]
VolumeZen: combine ringer/notification volume and zen.

- Implement a new volume panel widget, combining volume and
  zen mode + conditions.
- Show zen mode + conditions when modifying ringer or notification
  streams.
- Host the volume panel widget in a dialog when being controlled
  by the audio service / volume keys.
- Remove support for multiple sliders in the volume panel.
- Remove support for separate ringer + notification volumes
  in the volume panel.
- Move volume panel resources up to SystemUI.
- Create a new combined Notifications quick settings tile.
- Host the volume panel widget in the quick settings panel under
  Notifications.
- When the quick settings detail panel is visible, route the volume
  keys to the embedded widget instead of showing a redundant dialog.
- Create common styles for quick settings text to be closer to spec.
- Update the framework resources for the ringer stream.
- Show the ringer icons in global actions.
- Add "until you turn this off" back as a separate zen condition.
- Disable time condition buttons when they are N/A.
- Don't allow volume changes to set ringer mode silent.

Bug:15186070
Change-Id: Id5e321dd1d5e7c4cf3917027ffbdf7e80d38b00d

10 years agoAdd more error checking to xml restore
Craig Mautner [Sun, 25 May 2014 23:41:09 +0000 (16:41 -0700)]
Add more error checking to xml restore

Bad files and OS updates can cause the restore to throw an NPE.
Rather than bring down the server process over this, just delete
the persistent file and keep going.

Fixes bug 15219594.

Change-Id: Id9cd39988ff93a26def036a05c46209364f2a4c0

10 years agoMerge "Make carrier label single line with marquee on overflow" into lmp-preview-dev
Adrian Roos [Tue, 27 May 2014 13:06:59 +0000 (13:06 +0000)]
Merge "Make carrier label single line with marquee on overflow" into lmp-preview-dev

10 years agoRevert "Revert "Add physical TV input handling to TvInputManagerService""
Wonsik Kim [Mon, 26 May 2014 02:26:04 +0000 (02:26 +0000)]
Revert "Revert "Add physical TV input handling to TvInputManagerService""

This reverts commit 1940e197a8de186df5edf0b78e0907ae539bd215.

Bug: 14118245, Bug: 15197740
Change-Id: Ia308f16d2ed8ec55112a4d21c180ccb97e8d7c6a

10 years agoSkeleton for Keyguard security method appear animations.
Jorim Jaggi [Tue, 27 May 2014 00:25:45 +0000 (02:25 +0200)]
Skeleton for Keyguard security method appear animations.

Bug: 15163546
Change-Id: Id1c6b4f21b8f182f9d00fb903370de5512eaba1b

10 years agoShow bouncer immediately when MOTION_UP is received
Jorim Jaggi [Mon, 26 May 2014 20:38:00 +0000 (22:38 +0200)]
Show bouncer immediately when MOTION_UP is received

Bug: 15163546
Change-Id: Ie50905b78352e54298cb7e0e3f13152e6c2becd0

10 years agoOnly start TaskPersister once.
Craig Mautner [Mon, 26 May 2014 23:52:58 +0000 (16:52 -0700)]
Only start TaskPersister once.

Because ActivityManagerService.systemReady() is reentrant we could
restore tasks and start the TaskPersister more than one time. This
fix limits operations on TaskPersister to one time only.

Fixes bug 15256579.

Change-Id: I6bf2c26b37acdfd9b15a6f277966966b743d03b6

10 years agoMake carrier label single line with marquee on overflow
Adrian Roos [Mon, 26 May 2014 21:12:45 +0000 (23:12 +0200)]
Make carrier label single line with marquee on overflow

Bug: 15261340
Change-Id: I3b22b018ba834da71129e2ece7107fee5807b1f7

10 years agoMerge "Replace KeyButtonView's custom glow with Quantum Ripple" into lmp-preview-dev
Adrian Roos [Mon, 26 May 2014 20:54:12 +0000 (20:54 +0000)]
Merge "Replace KeyButtonView's custom glow with Quantum Ripple" into lmp-preview-dev

10 years agoMerge "Improve scrim handling" into lmp-preview-dev
Jorim Jaggi [Mon, 26 May 2014 20:44:51 +0000 (20:44 +0000)]
Merge "Improve scrim handling" into lmp-preview-dev

10 years agoImprove scrim handling
Jorim Jaggi [Mon, 26 May 2014 16:14:37 +0000 (18:14 +0200)]
Improve scrim handling

Bug: 15163546
Change-Id: I0d2c05b035f832f4b4e6a2fc34113fe9d5677525

10 years agoReplace KeyButtonView's custom glow with Quantum Ripple
Adrian Roos [Mon, 26 May 2014 20:21:46 +0000 (22:21 +0200)]
Replace KeyButtonView's custom glow with Quantum Ripple

Bug: 15212514
Change-Id: Ia66bccd627c123f637d67076f78ab418c3f9e835

10 years agoMerge "Tapping in brightness row in QS should not close QS panel" into lmp-preview-dev
Adrian Roos [Mon, 26 May 2014 17:33:17 +0000 (17:33 +0000)]
Merge "Tapping in brightness row in QS should not close QS panel" into lmp-preview-dev

10 years agoTapping in brightness row in QS should not close QS panel
Adrian Roos [Mon, 26 May 2014 17:27:40 +0000 (19:27 +0200)]
Tapping in brightness row in QS should not close QS panel

Bug: 15169301
Change-Id: I10ddaa2c5bd3f8cb6abaff89b03814dd8ec63f72

10 years agoMerge "Implement HUN visuals: shadows and translucency" into lmp-preview-dev
Adrian Roos [Mon, 26 May 2014 17:05:17 +0000 (17:05 +0000)]
Merge "Implement HUN visuals: shadows and translucency" into lmp-preview-dev

10 years agoImplement HUN visuals: shadows and translucency
Adrian Roos [Mon, 26 May 2014 12:59:15 +0000 (14:59 +0200)]
Implement HUN visuals: shadows and translucency

Bug: 15106201
Change-Id: I718e3d36355d0f58abc3daadb8c6a9d554f29bec

10 years agoMerge "Do not destroy the security method when pressing back." into lmp-preview-dev
Jorim Jaggi [Mon, 26 May 2014 16:39:50 +0000 (16:39 +0000)]
Merge "Do not destroy the security method when pressing back." into lmp-preview-dev

10 years agoDo not destroy the security method when pressing back.
Jorim Jaggi [Mon, 26 May 2014 01:01:13 +0000 (03:01 +0200)]
Do not destroy the security method when pressing back.

Fixes jank when the user wants to unlock it next time.

Bug: 15088101
Change-Id: If7bc3d92d0f17abb5077b4c06248f368acb2879f

10 years agoMerge "Update open lock icon with actual assets from UX" into lmp-preview-dev
Adrian Roos [Mon, 26 May 2014 14:43:15 +0000 (14:43 +0000)]
Merge "Update open lock icon with actual assets from UX" into lmp-preview-dev

10 years agoMerge "Visual refinements for lockscreen." into lmp-preview-dev
Jorim Jaggi [Mon, 26 May 2014 14:23:38 +0000 (14:23 +0000)]
Merge "Visual refinements for lockscreen." into lmp-preview-dev

10 years agoMerge "Replace default user picture." into lmp-preview-dev
Jorim Jaggi [Mon, 26 May 2014 14:21:48 +0000 (14:21 +0000)]
Merge "Replace default user picture." into lmp-preview-dev

10 years agoReplace default user picture.
Jorim Jaggi [Mon, 26 May 2014 00:45:33 +0000 (02:45 +0200)]
Replace default user picture.

Bug: 14842969
Change-Id: I4a46a2499ccf47e1bc13a179561d6ab271502ddb

10 years agoDisable time and user switcher click targets when collapsed
Jorim Jaggi [Mon, 26 May 2014 00:15:06 +0000 (02:15 +0200)]
Disable time and user switcher click targets when collapsed

Bug: 15125632
Change-Id: Ibdeeb47a696a574204b02b90ce6881cd78047738

10 years agoMerge "Make QS panel peek below the header." into lmp-preview-dev
Jorim Jaggi [Mon, 26 May 2014 14:14:06 +0000 (14:14 +0000)]
Merge "Make QS panel peek below the header." into lmp-preview-dev

10 years agoMerge "Introduced overscrolling for the panel expansion" into lmp-preview-dev
Selim Cinek [Mon, 26 May 2014 14:14:04 +0000 (14:14 +0000)]
Merge "Introduced overscrolling for the panel expansion" into lmp-preview-dev

10 years agoMerge "Fixed the gap which could occur after the speedbumpview." into lmp-preview-dev
Selim Cinek [Mon, 26 May 2014 14:13:04 +0000 (14:13 +0000)]
Merge "Fixed the gap which could occur after the speedbumpview." into lmp-preview-dev

10 years agoMake QS panel peek below the header.
Jorim Jaggi [Sun, 25 May 2014 20:28:41 +0000 (22:28 +0200)]
Make QS panel peek below the header.

Bug: 15210059

Change-Id: I84e45092b3c9c397da8b458dbaa136fd52e665a6

10 years agoNoMan: Don't unbind system listeners
Christoph Studer [Fri, 23 May 2014 11:15:54 +0000 (13:15 +0200)]
NoMan: Don't unbind system listeners

Listeners registered via INotificationMananger.registerListener()
must not be unbound by NoMan because it won't be able to re-bind
them later.

Bug: 15131411
Change-Id: Ic5088252c86e7c32c522ba1606f123cefde3720d

10 years agoMerge "Remove unnecessary layout request from Keyguard" into lmp-preview-dev
Adrian Roos [Mon, 26 May 2014 13:03:07 +0000 (13:03 +0000)]
Merge "Remove unnecessary layout request from Keyguard" into lmp-preview-dev