Commit Graph

39978 Commits

Author SHA1 Message Date
Jeff Sharkey
971c5910e7 am 232aac5c: am 64c53500: Merge "Report FileBridge failures as wtf()." into lmp-dev
* commit '232aac5cc0313a94ce3c96bd0f3a13e0b70c9a36':
  Report FileBridge failures as wtf().
2014-08-26 22:01:00 +00:00
vandwalle
fb9cf903fb am 39b53f3c: am bdc65df3: Merge "remove passpoint - DO NOT MERGE" into lmp-dev
* commit '39b53f3c10e1e758c2bcc27ffd9f4c1076d13539':
  remove passpoint - DO NOT MERGE
2014-08-26 22:00:54 +00:00
Christoph Studer
b3196d3327 am deefd534: am 7e637d1e: Merge "NoListener: meetsInterruptionFilter -> matchesInterruptionFilter" into lmp-dev
* commit 'deefd53448758914da3c943e0cff751fc5f783fc':
  NoListener: meetsInterruptionFilter -> matchesInterruptionFilter
2014-08-26 22:00:25 +00:00
Christoph Studer
ad486ef172 am 48308602: am e25ac583: Merge "Notification: Optimize L icon processing" into lmp-dev
* commit '483086029fe7556903e0b4131c6fedf9f8690fa5':
  Notification: Optimize L icon processing
2014-08-26 22:00:14 +00:00
Jeff Sharkey
7837dac462 Merge "Report FileBridge failures as wtf()." into lmp-dev 2014-08-26 21:27:11 +00:00
vandwalle
7aea15a08e Merge "remove passpoint - DO NOT MERGE" into lmp-dev 2014-08-26 21:26:42 +00:00
Jeff Sharkey
d3ca991700 Report FileBridge failures as wtf().
Bug: 17183379
Change-Id: Ifd4dc690c04439e1f7abebd8e0ca4e1ff97d9cc8
2014-08-26 14:23:28 -07:00
Christoph Studer
faa9957fd3 Merge "NoListener: meetsInterruptionFilter -> matchesInterruptionFilter" into lmp-dev 2014-08-26 21:16:22 +00:00
Christoph Studer
6b6e9e05d3 Merge "Notification: Optimize L icon processing" into lmp-dev 2014-08-26 21:15:27 +00:00
Jeff Sharkey
5784e197a8 am f3f849d1: am 206f982b: Merge "Treat moving app as installing in new location." into lmp-dev
* commit 'f3f849d1dffccf8f2e60e33f38085aae503bdd51':
  Treat moving app as installing in new location.
2014-08-26 20:50:34 +00:00
Adam Lesinski
48978dc9ed am 90675431: am a707b2b8: Merge "Split up ComponentName in UsageEvents.Event" into lmp-dev
* commit '9067543165d9c821ec8fba544fe50adc06350710':
  Split up ComponentName in UsageEvents.Event
2014-08-26 20:29:39 +00:00
Paul Jensen
52baba9086 am dd46fb1f: am 96fff1a7: Merge "Implement VpnConfig.addAllowedApplication()." into lmp-dev
* commit 'dd46fb1f205412681eb86f1ea5535088cd55b3e3':
  Implement VpnConfig.addAllowedApplication().
2014-08-26 20:29:33 +00:00
Jeff Sharkey
264a5f5b34 Merge "Treat moving app as installing in new location." into lmp-dev 2014-08-26 20:29:13 +00:00
Dianne Hackborn
302da59d8b am f1bb15d2: am 55953caa: Merge "Fix issue #16311398: Limit number of documents a process can open" into lmp-dev
* commit 'f1bb15d214bdb70e348ee7d649c1249a67434534':
  Fix issue #16311398: Limit number of documents a process can open
2014-08-26 20:13:59 +00:00
Adam Lesinski
1dc0f36401 Merge "Split up ComponentName in UsageEvents.Event" into lmp-dev 2014-08-26 20:09:07 +00:00
Paul Jensen
5b62d263a7 Merge "Implement VpnConfig.addAllowedApplication()." into lmp-dev 2014-08-26 20:09:00 +00:00
Adam Lesinski
cf75b56e6c am 800225b1: am ef3e6d97: Merge "Add indexOf method to ArrayMap & ArraySet" into lmp-dev
* commit '800225b1a61e7d41ead4b2c16cb4a2c9cd1f7525':
  Add indexOf method to ArrayMap & ArraySet
2014-08-26 19:58:28 +00:00
Dianne Hackborn
4610545dd2 Merge "Fix issue #16311398: Limit number of documents a process can open" into lmp-dev 2014-08-26 19:56:26 +00:00
Adam Lesinski
9d9607527f 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
2014-08-26 12:41:31 -07:00
Adam Lesinski
27046c88bf Merge "Add indexOf method to ArrayMap & ArraySet" into lmp-dev 2014-08-26 19:38:04 +00:00
Selim Gurun
8290294af9 am 690378d1: am 961aaadf: Merge "Remove synchronized from acceptThirdPartyCookies()" into lmp-dev
* commit '690378d1499052391b78d55c83a71c26c5d93062':
  Remove synchronized from acceptThirdPartyCookies()
2014-08-26 19:32:52 +00:00
Svetoslav
366d513bc6 am aae7838d: am 0fbd3928: Merge "Fix accessiblity CTS tests (framework)." into lmp-dev
* commit 'aae7838d105f3d67ef61a681f5cff1c2e3621f69':
  Fix accessiblity CTS tests (framework).
2014-08-26 19:14:38 +00:00
Selim Gurun
790f6f449d Merge "Remove synchronized from acceptThirdPartyCookies()" into lmp-dev 2014-08-26 19:09:48 +00:00
Svetoslav
e39baa7307 Merge "Fix accessiblity CTS tests (framework)." into lmp-dev 2014-08-26 19:01:50 +00:00
Adam Lesinski
4e9c07c0de 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
2014-08-26 11:53:32 -07:00
Adam Lesinski
448c076d33 am 806d4cfb: am 521edf85: Merge "Have R classes generate their own reference rewrite logic" into lmp-dev
* commit '806d4cfb2a06a01be4a58ff25a55797d9140b917':
  Have R classes generate their own reference rewrite logic
2014-08-26 18:42:24 +00:00
Winson Chung
c46977c508 am 77b91f7d: am 319b4b57: Merge "Multiple performance changes to speed recents invocation/app launching time. (Bug 16987565)" into lmp-dev
* commit '77b91f7d87a9994348364a912d3127be2595d5ed':
  Multiple performance changes to speed recents invocation/app launching time. (Bug 16987565)
2014-08-26 18:42:19 +00:00
Adam Lesinski
3aa6076083 Merge "Have R classes generate their own reference rewrite logic" into lmp-dev 2014-08-26 18:23:57 +00:00
Winson Chung
5c1b42e4f5 Merge "Multiple performance changes to speed recents invocation/app launching time. (Bug 16987565)" into lmp-dev 2014-08-26 18:23:10 +00:00
Dianne Hackborn
89ad456ea4 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
2014-08-26 11:16:59 -07:00
Christoph Studer
ce7d6d292b 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
2014-08-26 19:32:29 +02:00
Adam Lesinski
6d41a45679 am 1d3ecf16: am 1c959e92: Merge "Introduce anydpi density resource qualifier" into lmp-dev
* commit '1d3ecf16766d92ef3d847f1420b9a622e871f6cd':
  Introduce anydpi density resource qualifier
2014-08-26 17:23:35 +00:00
Jeff Sharkey
381d94b712 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
2014-08-26 10:09:27 -07:00
Svetoslav
04cab1bcc4 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
2014-08-26 10:06:22 -07:00
Adam Lesinski
d691f31e51 Merge "Introduce anydpi density resource qualifier" into lmp-dev 2014-08-26 17:03:44 +00:00
Vinod Krishnan
f5f502b2db am 13f71ede: am dfde8600: Merge "Fwk: Adding an ECG hardware feature" into lmp-dev
* commit '13f71edefa81364525c78b1c02993f5366c9da30':
  Fwk: Adding an ECG hardware feature
2014-08-26 17:02:04 +00:00
Vinod Krishnan
51f6f52d9d Merge "Fwk: Adding an ECG hardware feature" into lmp-dev 2014-08-26 16:37:33 +00:00
Esteban Talavera
1a4b59960b am 4835644c: am 14dcf0ff: Merge "Revert API constants to previous value to match hardcoded value in google3 apps" into lmp-dev
* commit '4835644c3bff5b0906789a746a14b6b24f3d375f':
  Revert API constants to previous value to match hardcoded value in google3 apps
2014-08-26 16:17:40 +00:00
Christoph Studer
239f835f54 Notification: Optimize L icon processing
Bug: 16862480
Change-Id: I6c71eba232184ce948aafe81fec3a313fecbbaf1
2014-08-26 17:04:13 +02:00
vandwalle
808079bd27 remove passpoint - DO NOT MERGE
This CL is dependent on I3d2a230b0362520b9f1b2bc3792260116971e106

Change-Id: I1a0d655877d9368d833d62e231797af4b2560862
2014-08-26 14:56:04 +00:00
Esteban Talavera
fbb28dfb95 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
2014-08-26 15:38:44 +01:00
Jungshik Jang
eecb0a1a0a am a707633d: am 25d6a1e6: Fix several bugs in HdmiControlService.
* commit 'a707633db594b85604a2bddb0cfac333232ce0ad':
  Fix several bugs in HdmiControlService.
2014-08-26 11:29:02 +00:00
Hector Dearman
42a9ee5036 Remove synchronized from acceptThirdPartyCookies()
As per API council feedback.

Bug: 17253647
Change-Id: Ide3d4b216f01a96e54111f885813ca8a7c3865ba
2014-08-26 10:56:09 +01:00
Jungshik Jang
339227da7c 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
2014-08-26 14:13:57 +09:00
Dan Sandler
bea0a29c25 am d25fdb22: am 9255b9f4: Allow listeners to fetch current notifications by key.
* commit 'd25fdb22b80bfc987423e65d1a4da933229ea2c2':
  Allow listeners to fetch current notifications by key.
2014-08-26 05:07:58 +00:00
Adam Powell
94dab8cf72 am f0b3161f: am 44c81774: Merge "Add state save/restore for Toolbar" into lmp-dev
* commit 'f0b3161f44379e2c11b9e3108b4dd2f2e54a8b00':
  Add state save/restore for Toolbar
2014-08-26 04:56:59 +00:00
Robert Greenwalt
2738aafa20 am 79338c75: am e252f526: Merge "Update VPN whitelist/blacklist api docs." into lmp-dev
* commit '79338c75223dfd62f867193888ccccad082375e9':
  Update VPN whitelist/blacklist api docs.
2014-08-26 04:56:50 +00:00
Craig Mautner
ea3b4f84bd am 7e587f00: am dbbb7951: Merge "Update API per council requests" into lmp-dev
* commit '7e587f00bda01bd0cc814385c863b56e641f0670':
  Update API per council requests
2014-08-26 04:56:25 +00:00
Chris Craik
c53e7c8578 am b0640084: am 6210c6dc: Merge "Create z reordering boundaries around dispatchDraw" into lmp-dev
* commit 'b06400847cdfae6da8d3d4d5b52e2ff29d06cb7a':
  Create z reordering boundaries around dispatchDraw
2014-08-26 04:56:01 +00:00
Dianne Hackborn
e98a423e40 am 2e4f0834: am 8db0a171: Merge "Fix issue #16366571: UIDs for work and normal Chrome processes are the same" into lmp-dev
* commit '2e4f0834b4630484fa42d2ab6f0c59752d845a22':
  Fix issue #16366571: UIDs for work and normal Chrome processes are the same
2014-08-26 04:55:56 +00:00