OSDN Git Service

android-x86/frameworks-base.git
9 years agoMerge "NoMan: Cancel children when update removes summary" into lmp-dev
Christoph Studer [Tue, 26 Aug 2014 21:17:17 +0000 (21:17 +0000)]
Merge "NoMan: Cancel children when update removes summary" into lmp-dev

9 years agoMerge "NoListener: meetsInterruptionFilter -> matchesInterruptionFilter" into lmp-dev
Christoph Studer [Tue, 26 Aug 2014 21:16:21 +0000 (21:16 +0000)]
Merge "NoListener: meetsInterruptionFilter -> matchesInterruptionFilter" into lmp-dev

9 years agoMerge "Notification: Optimize L icon processing" into lmp-dev
Christoph Studer [Tue, 26 Aug 2014 21:15:26 +0000 (21:15 +0000)]
Merge "Notification: Optimize L icon processing" into lmp-dev

9 years agoMerge "SysUI: Uprank current media notification" into lmp-dev
Christoph Studer [Tue, 26 Aug 2014 21:14:15 +0000 (21:14 +0000)]
Merge "SysUI: Uprank current media notification" into lmp-dev

9 years agoMerge "Fix NPE when have no phone accounts" into lmp-dev
Jay Shrauner [Tue, 26 Aug 2014 21:04:32 +0000 (21:04 +0000)]
Merge "Fix NPE when have no phone accounts" into lmp-dev

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Tue, 26 Aug 2014 21:03:34 +0000 (21:03 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

9 years agoMerge "Import translations. DO NOT MERGE" into lmp-dev
Baligh Uddin [Tue, 26 Aug 2014 21:03:26 +0000 (21:03 +0000)]
Merge "Import translations. DO NOT MERGE" into lmp-dev

9 years agoFix NPE when have no phone accounts
Jay Shrauner [Tue, 26 Aug 2014 19:15:15 +0000 (12:15 -0700)]
Fix NPE when have no phone accounts

Return empty List instead of null so calling functions don't throw NPE
when dereferencing return value.

Bug:17282683
Bug:17262485
Change-Id: Ica4952b11a8af28787a4a0b6a991ab888386aa7b

9 years agoMerge "add radio stats to link layer" into lmp-dev
vandwalle [Tue, 26 Aug 2014 20:46:18 +0000 (20:46 +0000)]
Merge "add radio stats to link layer" into lmp-dev

9 years agoMerge "TIF: Make TV content rating names consistent" into lmp-dev
Jae Seo [Tue, 26 Aug 2014 20:32:02 +0000 (20:32 +0000)]
Merge "TIF: Make TV content rating names consistent" into lmp-dev

9 years agoMerge "Treat moving app as installing in new location." into lmp-dev
Jeff Sharkey [Tue, 26 Aug 2014 20:29:12 +0000 (20:29 +0000)]
Merge "Treat moving app as installing in new location." into lmp-dev

9 years agoIMS: modify sendDtmf interface.
Libin.Tang@motorola.com [Sat, 23 Aug 2014 23:12:51 +0000 (18:12 -0500)]
IMS: modify sendDtmf interface.

Bug: 17282921
Change-Id: If96f209e91db420e089d429bb5c7a0f9882b4057

9 years agoMerge "Split up ComponentName in UsageEvents.Event" into lmp-dev
Adam Lesinski [Tue, 26 Aug 2014 20:09:06 +0000 (20:09 +0000)]
Merge "Split up ComponentName in UsageEvents.Event" into lmp-dev

9 years agoMerge "Implement VpnConfig.addAllowedApplication()." into lmp-dev
Paul Jensen [Tue, 26 Aug 2014 20:08:59 +0000 (20:08 +0000)]
Merge "Implement VpnConfig.addAllowedApplication()." into lmp-dev

9 years agoMerge "Fix issue #16311398: Limit number of documents a process can open" into lmp-dev
Dianne Hackborn [Tue, 26 Aug 2014 19:56:25 +0000 (19:56 +0000)]
Merge "Fix issue #16311398: Limit number of documents a process can open" into lmp-dev

9 years agoMerge "Add missing attr for KEYCODE_VOICE_ASSIST" into lmp-dev
Michael Wright [Tue, 26 Aug 2014 19:42:39 +0000 (19:42 +0000)]
Merge "Add missing attr for KEYCODE_VOICE_ASSIST" into lmp-dev

9 years agoSplit up ComponentName in UsageEvents.Event
Adam Lesinski [Mon, 25 Aug 2014 21:48:12 +0000 (14:48 -0700)]
Split up ComponentName in UsageEvents.Event

Some events in the future may not have originated
from a class, so we shouldn't be using ComponentName.

Bug:17259858
Change-Id: Id7fe3245b91596cf27ae4ec51655602f01665622

9 years agoMerge "Add indexOf method to ArrayMap & ArraySet" into lmp-dev
Adam Lesinski [Tue, 26 Aug 2014 19:38:03 +0000 (19:38 +0000)]
Merge "Add indexOf method to ArrayMap & ArraySet" into lmp-dev

9 years agoMerge "TIF: Reset main TvView only for explicit reset() call" into lmp-dev
Ji-Hwan Lee [Tue, 26 Aug 2014 19:20:45 +0000 (19:20 +0000)]
Merge "TIF: Reset main TvView only for explicit reset() call" into lmp-dev

9 years agoMerge "Make native bridge property read-only." into lmp-dev
Calin Juravle [Tue, 26 Aug 2014 19:18:23 +0000 (19:18 +0000)]
Merge "Make native bridge property read-only." into lmp-dev

9 years agoMerge "Pass vmSafeMode (manifest attribute) to installd." into lmp-dev
Calin Juravle [Tue, 26 Aug 2014 19:10:22 +0000 (19:10 +0000)]
Merge "Pass vmSafeMode (manifest attribute) to installd." into lmp-dev

9 years agoMerge "Remove synchronized from acceptThirdPartyCookies()" into lmp-dev
Selim Gurun [Tue, 26 Aug 2014 19:09:47 +0000 (19:09 +0000)]
Merge "Remove synchronized from acceptThirdPartyCookies()" into lmp-dev

9 years agoMake native bridge property read-only.
Calin Juravle [Mon, 18 Aug 2014 15:56:08 +0000 (16:56 +0100)]
Make native bridge property read-only.

Bug: 17104449

(cherry picked from commit 53db6ae7819177abb9df156b269726a69a8c72df)

Change-Id: I926356f1e472a20d571e40c0c7dbb9c5a66a44a9

9 years agoMerge "Fix SetupWizard crash when creating Guest or Restricted profile" into lmp-dev
Amith Yamasani [Tue, 26 Aug 2014 19:02:17 +0000 (19:02 +0000)]
Merge "Fix SetupWizard crash when creating Guest or Restricted profile" into lmp-dev

9 years agoMerge "Fix accessiblity CTS tests (framework)." into lmp-dev
Svetoslav [Tue, 26 Aug 2014 19:01:49 +0000 (19:01 +0000)]
Merge "Fix accessiblity CTS tests (framework)." into lmp-dev

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 26 Aug 2014 18:57:30 +0000 (11:57 -0700)]
Import translations. DO NOT MERGE

Change-Id: Iac6630d0b618bc97f0bb62047cee97a797c52df7
Auto-generated-cl: translation import

9 years agoAdd indexOf method to ArrayMap & ArraySet
Adam Lesinski [Tue, 26 Aug 2014 18:53:32 +0000 (11:53 -0700)]
Add indexOf method to ArrayMap & ArraySet

Getting the indexOf is useful for doing compound operations
like:

int i = set.indexOf(key);
if (i >= 0) {
    Object o = set.valueAt(i);
    o.blah();
    set.removeAt(i);
}

Change-Id: I3d4b77d1461ba969fc6b4d332d52d4d084b5b53c

9 years agoMerge "Update IME switcher icon" into lmp-dev
Jorim Jaggi [Tue, 26 Aug 2014 18:51:04 +0000 (18:51 +0000)]
Merge "Update IME switcher icon" into lmp-dev

9 years agoUpdate IME switcher icon
Jorim Jaggi [Tue, 26 Aug 2014 13:01:24 +0000 (15:01 +0200)]
Update IME switcher icon

Also make the transparency consistent with the other icons.

Bug: 15597889
Change-Id: Ia5c8ea0bed192b57c552c62358b365d979c4b062

9 years agoMerge "Remove unused constant from TelephonyIntents." into lmp-dev
Diego Pontoriero [Tue, 26 Aug 2014 18:36:40 +0000 (18:36 +0000)]
Merge "Remove unused constant from TelephonyIntents." into lmp-dev

9 years agoMerge "Have R classes generate their own reference rewrite logic" into lmp-dev
Adam Lesinski [Tue, 26 Aug 2014 18:23:56 +0000 (18:23 +0000)]
Merge "Have R classes generate their own reference rewrite logic" into lmp-dev

9 years agoMerge "Multiple performance changes to speed recents invocation/app launching time...
Winson Chung [Tue, 26 Aug 2014 18:23:09 +0000 (18:23 +0000)]
Merge "Multiple performance changes to speed recents invocation/app launching time. (Bug 16987565)" into lmp-dev

9 years agoMerge "Fix jumping animation when using two-finger expand" into lmp-dev
Jorim Jaggi [Tue, 26 Aug 2014 18:21:30 +0000 (18:21 +0000)]
Merge "Fix jumping animation when using two-finger expand" into lmp-dev

9 years agoMerge "Correctly detect the wrong Z value for the light" into lmp-dev
ztenghui [Tue, 26 Aug 2014 18:18:25 +0000 (18:18 +0000)]
Merge "Correctly detect the wrong Z value for the light" into lmp-dev

9 years agoMerge "VD: Update the fillColor default as transparent" into lmp-dev
ztenghui [Tue, 26 Aug 2014 18:18:15 +0000 (18:18 +0000)]
Merge "VD: Update the fillColor default as transparent" into lmp-dev

9 years agoFix issue #16311398: Limit number of documents a process can open
Dianne Hackborn [Sun, 24 Aug 2014 23:45:38 +0000 (16:45 -0700)]
Fix issue #16311398: Limit number of documents a process can open

In application processes, monitor for when we start getting close
to the Dalvik heap limit, and ask the activity manager to try to
prune old activity instances in that case.

Add an explicit API for apps to ask that they have their own
activity instances cleaned up, if they want.

Fix some bugs in launching activities that were not correctly
applying the "multi task" behavior in the appropriate situations
of document-centric recents.

Clean up the activity manager's process removal code to all share
a common path.

Add a new "Spam" option to ActivityTests, which continually creates
new tasks, checking that the activity manager will now prune old
tasks rather than letting the app run out of RAM.

And while I was was doing this, I found problems with the path
for bringing an empty task to the foreground -- it could make
a new task instead of re-starting the root activity in the
existing task.  This is fixed, and some code in the recents
UI for working around the bug is removed.

And as long as I am doing that, we now have nice hooks in to
the activity manager for AppTask to give some APIs for better
managing the task, so add those along with more tests for these
APIs in ActivityTests.

We should look at also having the activity manager try to prune
old tasks when it sees app processes being killed, to better balance
memory use across multiple processes when some processes may host
many documents.  That however is for another CL...

Change-Id: I2bb81c3f92819350c868c7a7470b35817eb9bea9

9 years agoMerge "Add maximum time-out to sync operation" into lmp-dev
Georgi Nikolov [Tue, 26 Aug 2014 18:16:53 +0000 (18:16 +0000)]
Merge "Add maximum time-out to sync operation" into lmp-dev

9 years agoMerge "Don't back-off ALREADY_IN_PROGRESS syncs" into lmp-dev
Georgi Nikolov [Tue, 26 Aug 2014 18:13:12 +0000 (18:13 +0000)]
Merge "Don't back-off ALREADY_IN_PROGRESS syncs" into lmp-dev

9 years agoRemove unused constant from TelephonyIntents.
Diego Pontoriero [Tue, 12 Aug 2014 16:23:23 +0000 (09:23 -0700)]
Remove unused constant from TelephonyIntents.

Bug: 16457806
Change-Id: Ia987c3167e5731a1eceb6b1ff4a8795ced826a5d

9 years agoTIF: Reset main TvView only for explicit reset() call
Ji-Hwan Lee [Tue, 26 Aug 2014 17:55:10 +0000 (02:55 +0900)]
TIF: Reset main TvView only for explicit reset() call

Or, do not reset when it's called internaly while tuning.

Bug: 17269010
Change-Id: I3447ef0e628c066f71eee5a1416347fa6c721504

9 years agoImport translations. DO NOT MERGE
Baligh Uddin [Tue, 26 Aug 2014 17:48:38 +0000 (10:48 -0700)]
Import translations. DO NOT MERGE

Change-Id: I0787124e2a6bf24f406c9b89770bdbfb5b801325
Auto-generated-cl: translation import

9 years agoCorrectly detect the wrong Z value for the light
ztenghui [Mon, 25 Aug 2014 21:42:27 +0000 (14:42 -0700)]
Correctly detect the wrong Z value for the light

b/17221975

Change-Id: I2b46da95ad12ca5260d7fe9514a75558b6b6393b

9 years agoNoListener: meetsInterruptionFilter -> matchesInterruptionFilter
Christoph Studer [Tue, 26 Aug 2014 17:21:31 +0000 (19:21 +0200)]
NoListener: meetsInterruptionFilter -> matchesInterruptionFilter

Rename Ranking.meetsInterruptionFilter() to matchesInterruptionFilter()
as suggested by API council.

Marking the old version @removed for now, will remove once prebuilds had
the chance to update.

Bug: 17255109
Change-Id: Iaee094df2dddf82029e127c194ea88581d1a48bb

9 years agoMerge "Remove redundant call to window manager addTask()" into lmp-dev
Craig Mautner [Tue, 26 Aug 2014 17:29:16 +0000 (17:29 +0000)]
Merge "Remove redundant call to window manager addTask()" into lmp-dev

9 years agoMerge "SysUI: Force L+ status bar icons to white" into lmp-dev
Christoph Studer [Tue, 26 Aug 2014 17:13:37 +0000 (17:13 +0000)]
Merge "SysUI: Force L+ status bar icons to white" into lmp-dev

9 years agoTreat moving app as installing in new location.
Jeff Sharkey [Sun, 24 Aug 2014 21:45:56 +0000 (14:45 -0700)]
Treat moving app as installing in new location.

Moving apps to/from SD cards has historically been neglected, meaning
it can easily break.  This happened most recently for split APKs,
64-bit native code, and multiArch support.

To make this easier to maintain, treat move as a no-op upgrade,
following the inheriting code path that split APKs depends on.

Also clean up scary places where different flavors of flags were
being combined, and remove unused flags.  Fix media broadcasts to be
sent based on existing app storage location.

New API to abandon install session without opening it.

Bug: 17158495
Change-Id: Ia33bf8f6fdaae099124dfe534f0e320b37bc8e16

9 years agoTIF: Make TV content rating names consistent
Jae Seo [Tue, 26 Aug 2014 17:07:33 +0000 (10:07 -0700)]
TIF: Make TV content rating names consistent

Bug: 17275999
Change-Id: I79e9ce180b23b37799f0e7daffa7778bff9cd3e4

9 years agoFix accessiblity CTS tests (framework).
Svetoslav [Tue, 26 Aug 2014 01:35:57 +0000 (18:35 -0700)]
Fix accessiblity CTS tests (framework).

1. An external contribution changed the ordering of views for
   accessibility. While it attempted to fix a platform issue
   for a comparator breaking transitivity, it changed the way
   we order views and results in very unnatural accessibility
   traversal order. It also broke CTS tets. This change tweaks
   the comparator which fixes the tests and improves traversal
   order.

2. If there is at least one accessibility service which cares
   about windows we register a callback in the window manager
   for window change notifications. We are updating the window
   list on this callback. There was a case where if the service
   requests window updates and immediately asks for the windows
   it gets none as we have not received a callback from the
   window manager yet. Now this call returns after we get the
   callback in a timed fashion. This is consistent with how the
   other introspection APIs work.

3. Window info objects are cached in the accessibility service
   process. When putting them in the cache a cloning call was
   missing resulting in some cases of clobbering windows given
   to the client. For example, we get some windows, cache them,
   and return these windows to the client. Now a call to clear
   the cache arrives while the user processes the windows and
   the client windows get clobbered.

4. Added API for checking if a window has accessiblity focus
   to be consistent to the API we have to check whether this
   window has input focus.

5. Removed some obsolete code.

bug:16402352

Change-Id: Ided6da4a82cc0fc703008c58a2dff0119a3ff317

9 years agoMerge "Introduce anydpi density resource qualifier" into lmp-dev
Adam Lesinski [Tue, 26 Aug 2014 17:03:43 +0000 (17:03 +0000)]
Merge "Introduce anydpi density resource qualifier" into lmp-dev

9 years agoSysUI: Force L+ status bar icons to white
Christoph Studer [Tue, 26 Aug 2014 13:42:12 +0000 (15:42 +0200)]
SysUI: Force L+ status bar icons to white

Bug: 16862480
Change-Id: I13126e4641563953d00b8e1b8324b470b9fc085c

9 years agoMerge "Set text color for the output log." into lmp-dev
Mohamad Ayyash [Tue, 26 Aug 2014 16:44:27 +0000 (16:44 +0000)]
Merge "Set text color for the output log." into lmp-dev

9 years agoFix jumping animation when using two-finger expand
Jorim Jaggi [Mon, 25 Aug 2014 16:44:01 +0000 (18:44 +0200)]
Fix jumping animation when using two-finger expand

Also fixes other minor issues with the panel expansion.

Bug: 17250134
Change-Id: I70ee5410bad10ff71f6d868005bf6274ef881e95

9 years agoMerge "Fwk: Adding an ECG hardware feature" into lmp-dev
Vinod Krishnan [Tue, 26 Aug 2014 16:37:31 +0000 (16:37 +0000)]
Merge "Fwk: Adding an ECG hardware feature" into lmp-dev

9 years agoMerge "Marking the Settings ContentProvider as singleUser" into lmp-dev
Nicolas Prevot [Tue, 26 Aug 2014 16:29:19 +0000 (16:29 +0000)]
Merge "Marking the Settings ContentProvider as singleUser" into lmp-dev

9 years agoFix SetupWizard crash when creating Guest or Restricted profile
Amith Yamasani [Tue, 26 Aug 2014 16:17:22 +0000 (09:17 -0700)]
Fix SetupWizard crash when creating Guest or Restricted profile

Delay the launch of Home until after the USER_INITIALIZE broadcasts
are delivered, to make sure that any disabled HOME activities are
enabled.

Bug: 15709297
Change-Id: I796a40131f82989782cf5699bcc2e1da2cafbc6b

9 years agoMerge "Revert API constants to previous value to match hardcoded value in google3...
Esteban Talavera [Tue, 26 Aug 2014 15:58:35 +0000 (15:58 +0000)]
Merge "Revert API constants to previous value to match hardcoded value in google3 apps" into lmp-dev

9 years agoNotification: Optimize L icon processing
Christoph Studer [Mon, 25 Aug 2014 13:13:18 +0000 (15:13 +0200)]
Notification: Optimize L icon processing

Bug: 16862480
Change-Id: I6c71eba232184ce948aafe81fec3a313fecbbaf1

9 years agoMerge "DO NOT MERGE Copy shaders" into lmp-dev
John Reck [Tue, 26 Aug 2014 14:53:33 +0000 (14:53 +0000)]
Merge "DO NOT MERGE Copy shaders" into lmp-dev

9 years agoMerge "Reset a session callback variable when tune is failed" into lmp-dev
Youngsang Cho [Tue, 26 Aug 2014 14:40:02 +0000 (14:40 +0000)]
Merge "Reset a session callback variable when tune is failed" into lmp-dev

9 years agoRevert API constants to previous value to match hardcoded value in google3 apps
Esteban Talavera [Tue, 26 Aug 2014 14:38:17 +0000 (15:38 +0100)]
Revert API constants to previous value to match hardcoded value in google3 apps

Revert value of DevicePolicyManager constants that were hardcoded in dmagent. See previous change I6f60a43fe23526cfe855d81015feb759cf643926.

Bug: 17275391,17005622
Change-Id: I606b010eb0399f7b34b59c99f96549949410bafc

9 years agoReset a session callback variable when tune is failed
Youngsang Cho [Tue, 26 Aug 2014 14:12:59 +0000 (23:12 +0900)]
Reset a session callback variable when tune is failed

Change-Id: I7c0188d916047f8331c74ce7a29b0a5228583979

9 years agoMerge "Fix invalid keyguard state after pressing back in bouncer" into lmp-dev
Jorim Jaggi [Tue, 26 Aug 2014 13:57:24 +0000 (13:57 +0000)]
Merge "Fix invalid keyguard state after pressing back in bouncer" into lmp-dev

9 years agoMerge "Preventing apps from granting uris to any other user." into lmp-dev
Nicolas Prevot [Tue, 26 Aug 2014 13:42:26 +0000 (13:42 +0000)]
Merge "Preventing apps from granting uris to any other user." into lmp-dev

9 years agoFix invalid keyguard state after pressing back in bouncer
Jorim Jaggi [Tue, 26 Aug 2014 13:16:57 +0000 (15:16 +0200)]
Fix invalid keyguard state after pressing back in bouncer

Bug: 16886960
Change-Id: Ib071b302f9cb2f1fec32285e05a5b8585e53e41e

9 years agoPreventing apps from granting uris to any other user.
Nicolas Prevot [Tue, 12 Aug 2014 13:05:48 +0000 (14:05 +0100)]
Preventing apps from granting uris to any other user.

And adding some javadoc.

BUG: 16996334

Change-Id: I02b03e513050e2704c28da8e17c2c977d858627b

9 years agoMerge "Always allow translucent bars for keyguard" into lmp-dev
Jorim Jaggi [Tue, 26 Aug 2014 13:11:09 +0000 (13:11 +0000)]
Merge "Always allow translucent bars for keyguard" into lmp-dev

9 years agoRecreate overlay view after the TIS crashes
Chulwoo Lee [Tue, 26 Aug 2014 10:07:22 +0000 (19:07 +0900)]
Recreate overlay view after the TIS crashes

The overlay view should be recreated when the session is recreated
after the TIS crash.

Change-Id: I7605aac0feed644ae29d65127f68630c3658343f

9 years agoMerge "Fix swipe up affordance bugs" into lmp-dev
Jorim Jaggi [Tue, 26 Aug 2014 10:38:37 +0000 (10:38 +0000)]
Merge "Fix swipe up affordance bugs" into lmp-dev

9 years agoMerge "Make date consistent with spec when alarm is set" into lmp-dev
Jorim Jaggi [Tue, 26 Aug 2014 10:35:39 +0000 (10:35 +0000)]
Merge "Make date consistent with spec when alarm is set" into lmp-dev

9 years agoRemove synchronized from acceptThirdPartyCookies()
Hector Dearman [Tue, 26 Aug 2014 09:18:40 +0000 (10:18 +0100)]
Remove synchronized from acceptThirdPartyCookies()

As per API council feedback.

Bug: 17253647
Change-Id: Ide3d4b216f01a96e54111f885813ca8a7c3865ba

9 years agoMerge "camera2: Fix number of DNG NoiseProfile coeffs." into lmp-dev
Ruben Brunk [Tue, 26 Aug 2014 06:55:25 +0000 (06:55 +0000)]
Merge "camera2: Fix number of DNG NoiseProfile coeffs." into lmp-dev

9 years agoMerge "Support Conferences in Remote Connections" into lmp-dev
Ihab Awad [Tue, 26 Aug 2014 05:30:15 +0000 (05:30 +0000)]
Merge "Support Conferences in Remote Connections" into lmp-dev

9 years agoFix several bugs in HdmiControlService.
Jungshik Jang [Mon, 25 Aug 2014 06:37:20 +0000 (15:37 +0900)]
Fix several bugs in HdmiControlService.

1. Fix HdmniLogger null pointer exception
2. Should check arc enabled port for arc requests
3. Disallow ARC action coming from indirect AVR device.
4. Check original opcode of feature action
5. Add bitmasking to all parameters of cec message.

Bug: 17243701, Bug: 17238394, Bug: 17241401
Change-Id: Iff0da78b0de9a29fb00e683c261528e0baea66af

9 years agoSupport Conferences in Remote Connections
Ihab Awad [Sun, 24 Aug 2014 03:34:57 +0000 (20:34 -0700)]
Support Conferences in Remote Connections

Bug: 16957997

Change-Id: I598854b43aad2f10b5322439741588f5326b74c2

9 years agoUpdate soundscape for L
Adrian Roos [Thu, 21 Aug 2014 13:21:25 +0000 (15:21 +0200)]
Update soundscape for L

Bug: 15725449
Change-Id: I8c1033b24a50a61185d042bd6d214d7a3407ccbe

9 years agoAllow listeners to fetch current notifications by key.
Dan Sandler [Tue, 12 Aug 2014 16:29:19 +0000 (12:29 -0400)]
Allow listeners to fetch current notifications by key.

Bug: 16574195
Change-Id: I269dbcc7fc8912d84229f6a3d950b0015625ae7a

9 years agoHave R classes generate their own reference rewrite logic
Adam Lesinski [Fri, 15 Aug 2014 21:47:28 +0000 (14:47 -0700)]
Have R classes generate their own reference rewrite logic

Change-Id: I0e5b8311fc3479d966a49f9acf0d4c32a6a024d3

9 years agoMerge "Fix checking trackId" into lmp-dev
Chulwoo Lee [Tue, 26 Aug 2014 02:46:40 +0000 (02:46 +0000)]
Merge "Fix checking trackId" into lmp-dev

9 years agoFix checking trackId
Chulwoo Lee [Tue, 26 Aug 2014 01:55:05 +0000 (10:55 +0900)]
Fix checking trackId

BUG: 17261638
Change-Id: I141b7c9de1289c49f29d2f1e1ac534045abb333d

9 years agoSet text color for the output log.
Mohamad Ayyash [Tue, 26 Aug 2014 02:27:57 +0000 (19:27 -0700)]
Set text color for the output log.

In some devices the text color is the same as the background color.

Change-Id: I215d381a427e3b3ed7e29d3078752d093318b53d

9 years agoAdd maximum time-out to sync operation
Matthew Williams [Tue, 26 Aug 2014 02:18:32 +0000 (19:18 -0700)]
Add maximum time-out to sync operation

BUG: 16219182
We have seen cases where run-away syncs keep going for a very long time.
The default behaviour is that a sync can run for as long as it wants once
there is nothing else waiting.
This CL will change that, and impose a maximum time-limit of 30mins on
each sync, after when the op with be cancelled and the adapter will go
into back-off.
This behaviour will only take effect for syncs that are not initializations,
or user-initiated.

Change-Id: I1731270ca2a6500b19fc125186aa0b0cd81d1126

9 years agoMultiple performance changes to speed recents invocation/app launching time. (Bug...
Winson Chung [Fri, 22 Aug 2014 22:26:27 +0000 (15:26 -0700)]
Multiple performance changes to speed recents invocation/app launching time. (Bug 16987565)

- Reverting changes to the existing thumbnail transition to prevent breaking applications
  that currently depend on that transition.  As a result, we need to create a new, hidden,
  aspect-scaled thumbnail transition, and instead use that thumbnail to animate the
  recents header so that we don't have to wait to do that inside the Recents activity.

  In order for this to work, we also have to ensure that the thumbnail surface destruction
  is synchronized with the application that is currently closing (when going down to
  recents) or opening (when coming back up).  The current thumbnail is destroyed when the
  animation ends, but that can be at least 1 frame before the surface for the animating
  window is destroyed.  We change this by deferring destruction of this thumbnail window
  to the animation that is being closed.

  Especially on the way up, not having to wait for us to hide the header before doing the
  transition up can save us the duration of that first animation (> 100ms).

- Other optimizations:
  * No longer creating a new stack view on each transition to calculate the target rect
  * Removing unnecessary call to get the thumbnail when transitioning up/down (the actual
    window does its own animation.
  * We reduced numerous system calls per task by adding a flag to ignore home-stack tasks
    and caching the activity label and icon (and task description icon).  These caches
    follow the same eviction schemes as the thumbnail and icon cache.

- Also tweaked the touch slop for the nav bar swiping gesture to prevent conflicting with
  tapping on home (Bug 17109581)

Change-Id: Ica697aad788051a9203edd9351c583e1cb038a71

9 years agoMerge "Add state save/restore for Toolbar" into lmp-dev
Adam Powell [Tue, 26 Aug 2014 01:29:14 +0000 (01:29 +0000)]
Merge "Add state save/restore for Toolbar" into lmp-dev

9 years agoAdd state save/restore for Toolbar
Adam Powell [Sat, 23 Aug 2014 00:20:00 +0000 (17:20 -0700)]
Add state save/restore for Toolbar

Save and restore the menu state for Toolbars. This will make sure that
we remember expanded action views and opened overflow menus across
state save/restore.

Remove an extra event post involved in the initial population of
action bar menus. Apparently at some point an extra level of this was
added that isn't necessary. Process any pending menu invalidations
immediately when we perform window state restoration. This makes sure
individual bits of state in action views, etc. are also restored
properly.

Bug 12005461

Change-Id: Icf905698576b11a59641bc319adc62300857906f

9 years agoDon't back-off ALREADY_IN_PROGRESS syncs
Matthew Williams [Tue, 26 Aug 2014 00:59:52 +0000 (17:59 -0700)]
Don't back-off ALREADY_IN_PROGRESS syncs

BUG: 16219182
The issue is that some adapters get into a bad state where
SyncManager assumes them complete yet they are still going. This
result in ALREADY_IN_PROGRESS coming back from the adapter, the
default retry-time for which is about 10s.
Subject ALREADY_IN_PROGRESS to exponential back-off to avoid waking
up SM every ~10 seconds

Change-Id: I6cef787366436c678bac762ec6daf6212f04badc

9 years agoMerge "Update VPN whitelist/blacklist api docs." into lmp-dev
Robert Greenwalt [Tue, 26 Aug 2014 00:58:49 +0000 (00:58 +0000)]
Merge "Update VPN whitelist/blacklist api docs." into lmp-dev

9 years agoMerge "Modify IccOpenLogicalChannelResponse: Document and rename constants." into...
Shishir Agrawal [Tue, 26 Aug 2014 00:50:14 +0000 (00:50 +0000)]
Merge "Modify IccOpenLogicalChannelResponse: Document and rename constants." into lmp-dev

9 years agoUpdate VPN whitelist/blacklist api docs.
Robert Greenwalt [Mon, 25 Aug 2014 19:41:08 +0000 (12:41 -0700)]
Update VPN whitelist/blacklist api docs.

Addressing what happens to unwhitelisted or blacklisted apps.

bug:17206162
Change-Id: I0b863946de277e6528675cc5412267a03f7b6841

9 years agoIntroduce anydpi density resource qualifier
Adam Lesinski [Sat, 23 Aug 2014 02:10:56 +0000 (19:10 -0700)]
Introduce anydpi density resource qualifier

This is meant to be used with scaleable vector
drawables, and are chosen as the best match unless
there is a configuration that matches the density
requested exactly.

Bug:17007265
Change-Id: Ic3288d0236fe0bff20bb1599aba2582c25b0db32

9 years agoadd radio stats to link layer
vandwalle [Thu, 7 Aug 2014 19:20:45 +0000 (12:20 -0700)]
add radio stats to link layer

Bug:15563188

Change-Id: I3d2a230b0362520b9f1b2bc3792260116971e106

9 years agoMerge "Update API per council requests" into lmp-dev
Craig Mautner [Tue, 26 Aug 2014 00:00:17 +0000 (00:00 +0000)]
Merge "Update API per council requests" into lmp-dev

9 years agoRemove redundant call to window manager addTask()
Craig Mautner [Mon, 25 Aug 2014 23:56:52 +0000 (16:56 -0700)]
Remove redundant call to window manager addTask()

If there are activities in persisted tasks then calling addAppToken()
will automatically call addTask(). If there are no activities then
calling addTask() is a nop. In either case the call to addTask() is
unnecessary. It was actually worse than unnecessary because in the
former case we ended up with two identical tasks in the Window
Manager.

Fixes bug 16958544.

Change-Id: I2dc4b50aa94668873c1a783c47e0c696d62616f0

9 years agoMerge "TIF: fix NPE when notifyXXX is called on c-tor of Session implementation"...
Dongwon Kang [Mon, 25 Aug 2014 23:44:33 +0000 (23:44 +0000)]
Merge "TIF: fix NPE when notifyXXX is called on c-tor of Session implementation" into lmp-dev

9 years agoTIF: fix NPE when notifyXXX is called on c-tor of Session implementation
Dongwon Kang [Mon, 25 Aug 2014 12:35:27 +0000 (21:35 +0900)]
TIF: fix NPE when notifyXXX is called on c-tor of Session implementation

Bug: 17241260
Change-Id: Ib82ed9fb98f13e31cdf70a3bb273384abcf1b33a

9 years agoMerge "Create z reordering boundaries around dispatchDraw" into lmp-dev
Chris Craik [Mon, 25 Aug 2014 23:26:19 +0000 (23:26 +0000)]
Merge "Create z reordering boundaries around dispatchDraw" into lmp-dev

9 years agoMerge "Fix issue #16366571: UIDs for work and normal Chrome processes are the same...
Dianne Hackborn [Mon, 25 Aug 2014 23:21:47 +0000 (23:21 +0000)]
Merge "Fix issue #16366571: UIDs for work and normal Chrome processes are the same" into lmp-dev

9 years agoMerge "Update material colors" into lmp-dev
Alan Viverette [Mon, 25 Aug 2014 23:18:15 +0000 (23:18 +0000)]
Merge "Update material colors" into lmp-dev

9 years agoUpdate material colors
Alan Viverette [Mon, 25 Aug 2014 23:15:06 +0000 (16:15 -0700)]
Update material colors

BUG: 17212898
Change-Id: Ic0806db57e88d5143b4241e419970ffeb2468d50

9 years agoMerge "Remove listen requests properly." into lmp-dev
Robert Greenwalt [Mon, 25 Aug 2014 23:12:45 +0000 (23:12 +0000)]
Merge "Remove listen requests properly." into lmp-dev

9 years agoAdd missing attr for KEYCODE_VOICE_ASSIST
Michael Wright [Mon, 25 Aug 2014 22:55:20 +0000 (15:55 -0700)]
Add missing attr for KEYCODE_VOICE_ASSIST

Change-Id: Ifd04b118287c1847a6b287110ef1c6ca4bfcc80a