150468 Commits

Author SHA1 Message Date
Baligh Uddin
2d1d387d3f Import translations. DO NOT MERGE
Change-Id: Iac6630d0b618bc97f0bb62047cee97a797c52df7
Auto-generated-cl: translation import
2014-08-26 11:57:30 -07: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
Jorim Jaggi
6183cc1a68 Merge "Update IME switcher icon" into lmp-dev 2014-08-26 18:51:08 +00:00
Andrew Solovay
3442b412e1 am 8d8cf0b2: am e7c7993e: Merge "docs: Fixed error in code sample." into klp-modular-docs
* commit '8d8cf0b22f9f8eaf06914697fbe22a77cb27e307':
  docs: Fixed error in code sample.
2014-08-26 18:47:25 +00:00
Diego Pontoriero
a2f95d814d am 1b3c0f25: Merge "Remove unused constant from TelephonyIntents." into lmp-dev
* commit '1b3c0f25bef103e9b5cefccb49e3b1a121fdedc6':
  Remove unused constant from TelephonyIntents.
2014-08-26 18:47:10 +00:00
Jorim Jaggi
31fc3e8047 Update IME switcher icon
Also make the transparency consistent with the other icons.

Bug: 15597889
Change-Id: Ia5c8ea0bed192b57c552c62358b365d979c4b062
2014-08-26 20:42:38 +02:00
Diego Pontoriero
c9256d3da1 Merge "Remove unused constant from TelephonyIntents." into lmp-dev 2014-08-26 18:36:41 +00:00
Andrew Solovay
8d8cf0b22f am e7c7993e: Merge "docs: Fixed error in code sample." into klp-modular-docs
* commit 'e7c7993e4d490b67b329ef2502e35c8aad763ca1':
  docs: Fixed error in code sample.
2014-08-26 18:36:23 +00:00
Adam Lesinski
4526cdec74 am 521edf85: Merge "Have R classes generate their own reference rewrite logic" into lmp-dev
* commit '521edf850799fd484ef2c363aed23ac8729240be':
  Have R classes generate their own reference rewrite logic
2014-08-26 18:29:46 +00:00
Winson Chung
6a327bedfc am 319b4b57: Merge "Multiple performance changes to speed recents invocation/app launching time. (Bug 16987565)" into lmp-dev
* commit '319b4b571c71a6943ff3a63154c873511ae01d87':
  Multiple performance changes to speed recents invocation/app launching time. (Bug 16987565)
2014-08-26 18:29:41 +00:00
Andrew Solovay
e7c7993e4d Merge "docs: Fixed error in code sample." into klp-modular-docs 2014-08-26 18:25:33 +00:00
Jorim Jaggi
2cb0ebf7f7 am ac87c0b3: Merge "Fix jumping animation when using two-finger expand" into lmp-dev
* commit 'ac87c0b3236517bacc244fc270dc0da92f3487b8':
  Fix jumping animation when using two-finger expand
2014-08-26 18:24:59 +00:00
ztenghui
a44a0aa9ae am fadaa2cb: Merge "Correctly detect the wrong Z value for the light" into lmp-dev
* commit 'fadaa2cb5e82046eb3c5a1b3458108f12e6cc376':
  Correctly detect the wrong Z value for the light
2014-08-26 18:24:48 +00:00
ztenghui
eaa532425c am 07856605: Merge "VD: Update the fillColor default as transparent" into lmp-dev
* commit '07856605a8001697ff50371b39ecd0cd4480fd57':
  VD: Update the fillColor default as transparent
2014-08-26 18:24:43 +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
Jorim Jaggi
b0768f6ad0 Merge "Fix jumping animation when using two-finger expand" into lmp-dev 2014-08-26 18:21:31 +00:00
Georgi Nikolov
cc6a91e0c7 am 172d3b87: Merge "Add maximum time-out to sync operation" into lmp-dev
* commit '172d3b876310b20bc5b627a344ea51148dc39c7b':
  Add maximum time-out to sync operation
2014-08-26 18:19:05 +00:00
Georgi Nikolov
015dcf6573 am 67a86862: Merge "Don\'t back-off ALREADY_IN_PROGRESS syncs" into lmp-dev
* commit '67a8686203779cdfb158a41fda28290dd6134154':
  Don't back-off ALREADY_IN_PROGRESS syncs
2014-08-26 18:18:58 +00:00
ztenghui
bed17d21b0 Merge "Correctly detect the wrong Z value for the light" into lmp-dev 2014-08-26 18:18:31 +00:00
ztenghui
ae82e604fa Merge "VD: Update the fillColor default as transparent" into lmp-dev 2014-08-26 18:18:16 +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
Georgi Nikolov
ffc596bd22 Merge "Add maximum time-out to sync operation" into lmp-dev 2014-08-26 18:16:54 +00:00
Georgi Nikolov
1877924da0 Merge "Don't back-off ALREADY_IN_PROGRESS syncs" into lmp-dev 2014-08-26 18:13:14 +00:00
Diego Pontoriero
04154bcd91 Remove unused constant from TelephonyIntents.
Bug: 16457806
Change-Id: Ia987c3167e5731a1eceb6b1ff4a8795ced826a5d
2014-08-26 10:58:57 -07:00
Ji-Hwan Lee
d0f0058883 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
2014-08-27 02:55:10 +09:00
Tim Murray
29d35997a3 am cb16b55b: am 2a866f07: Update RenderScript docs.
* commit 'cb16b55b5ed9e4388b36e457226c96962004dd6c':
  Update RenderScript docs.
2014-08-26 17:51:21 +00:00
Baligh Uddin
1494447e35 Import translations. DO NOT MERGE
Change-Id: I0787124e2a6bf24f406c9b89770bdbfb5b801325
Auto-generated-cl: translation import
2014-08-26 10:48:38 -07:00
ztenghui
3bd3fa1f1d Correctly detect the wrong Z value for the light
b/17221975

Change-Id: I2b46da95ad12ca5260d7fe9514a75558b6b6393b
2014-08-26 10:45:27 -07:00
Tim Murray
cb16b55b5e am 2a866f07: Update RenderScript docs.
* commit '2a866f075d9b23f835d27d4d46f8ccdc60c1fa6e':
  Update RenderScript docs.
2014-08-26 17:39:06 +00:00
Craig Mautner
ca0e070fea am 7018ec68: Merge "Remove redundant call to window manager addTask()" into lmp-dev
* commit '7018ec68207e0a009b9410a09027a2823a29dd3d':
  Remove redundant call to window manager addTask()
2014-08-26 17:38:54 +00: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
Craig Mautner
e7b1a0b68c Merge "Remove redundant call to window manager addTask()" into lmp-dev 2014-08-26 17:29:17 +00:00
Christoph Studer
76f0509306 am 1fe25a6f: Merge "SysUI: Force L+ status bar icons to white" into lmp-dev
* commit '1fe25a6f041edc7518a4c6f29ac830c64e4a6e61':
  SysUI: Force L+ status bar icons to white
2014-08-26 17:23:21 +00:00
Adam Lesinski
31341665d6 am 1c959e92: Merge "Introduce anydpi density resource qualifier" into lmp-dev
* commit '1c959e9240d82ab80c7f921dc1af67acc9958b91':
  Introduce anydpi density resource qualifier
2014-08-26 17:14:55 +00:00
Christoph Studer
38db384424 Merge "SysUI: Force L+ status bar icons to white" into lmp-dev 2014-08-26 17:13:39 +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
Jae Seo
b2835e2700 TIF: Make TV content rating names consistent
Bug: 17275999
Change-Id: I79e9ce180b23b37799f0e7daffa7778bff9cd3e4
2014-08-26 10:08:56 -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
Christoph Studer
13b895125c SysUI: Force L+ status bar icons to white
Bug: 16862480
Change-Id: I13126e4641563953d00b8e1b8324b470b9fc085c
2014-08-26 18:51:36 +02:00
Mohamad Ayyash
b7da699afa am aaf5d6c0: Merge "Set text color for the output log." into lmp-dev
* commit 'aaf5d6c09460466a33544fc9107cda69085c4ce5':
  Set text color for the output log.
2014-08-26 16:47:47 +00:00
Vinod Krishnan
5449b8dbed am dfde8600: Merge "Fwk: Adding an ECG hardware feature" into lmp-dev
* commit 'dfde8600c0f0ff9349f971ed52bfbe9c0c02bc08':
  Fwk: Adding an ECG hardware feature
2014-08-26 16:47:38 +00:00
Mohamad Ayyash
412e4e203f Merge "Set text color for the output log." into lmp-dev 2014-08-26 16:44:28 +00:00
Jorim Jaggi
1d49ec9f41 Fix jumping animation when using two-finger expand
Also fixes other minor issues with the panel expansion.

Bug: 17250134
Change-Id: I70ee5410bad10ff71f6d868005bf6274ef881e95
2014-08-26 18:39:47 +02:00
Nicolas Prevot
49cf67596f am 5638d3a6: Merge "Marking the Settings ContentProvider as singleUser" into lmp-dev
* commit '5638d3a661f3b4cbda01e23c7b8a0a3eb9f6e107':
  Marking the Settings ContentProvider as singleUser
2014-08-26 16:39:18 +00:00
Vinod Krishnan
51f6f52d9d Merge "Fwk: Adding an ECG hardware feature" into lmp-dev 2014-08-26 16:37:33 +00:00
Nicolas Prevot
1ce1ba68ac Merge "Marking the Settings ContentProvider as singleUser" into lmp-dev 2014-08-26 16:29:20 +00:00
Amith Yamasani
f3054ea8e0 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
2014-08-26 09:17:22 -07:00
Esteban Talavera
a502af4ea0 am 14dcf0ff: Merge "Revert API constants to previous value to match hardcoded value in google3 apps" into lmp-dev
* commit '14dcf0ff149a4253f867e9622e8a8bc8ffce52b4':
  Revert API constants to previous value to match hardcoded value in google3 apps
2014-08-26 16:08:09 +00:00