Commit Graph

30082 Commits

Author SHA1 Message Date
Nick Kralevich
e476c0fa48 am ee49a3a0: Merge "Add K api version."
* commit 'ee49a3a007b9eb63bcb27eac492060b50ff75ce7':
  Add K api version.
2013-01-09 16:14:22 -08:00
Nick Kralevich
ac10139f3c am 6b0fb368: Merge "Revert "App home directories are now 0700 for targetSdkVersion > 17""
* commit '6b0fb368707a2d47dd3fbeaf01c214de5227baa0':
  Revert "App home directories are now 0700 for targetSdkVersion > 17"
2013-01-09 16:12:54 -08:00
Nick Kralevich
ee49a3a007 Merge "Add K api version." 2013-01-09 16:11:06 -08:00
Nick Kralevich
6b0fb36870 Merge "Revert "App home directories are now 0700 for targetSdkVersion > 17"" 2013-01-09 16:10:14 -08:00
Nick Kralevich
a985c3bb14 Add K api version.
Change-Id: I2b74e06f8bda8b23c5cc4280af4b18a5ad66a6c2
2013-01-09 16:03:14 -08:00
Nick Kralevich
1506921e8e Revert "App home directories are now 0700 for targetSdkVersion > 17"
This reverts commit 92091fa963.

Bug: 7966399
Bug: 7208882
2013-01-09 15:54:56 -08:00
Dianne Hackborn
11cd154a4f am 82e60952: Merge "New "app ops" service."
* commit '82e60952f2cbd89b8d050dd17bb6bc9652570368':
  New "app ops" service.
2013-01-09 14:10:54 -08:00
Dianne Hackborn
a06de0f29b New "app ops" service.
Initial implementation, tracking use of the vibrator, GPS,
and location reports.

Also includes an update to battery stats to also keep track of
vibrator usage (since I had to be in the vibrator code anyway
to instrument it).

The service itself is only half-done.  Currently no API to
retrieve the data (which once there will allow us to show you
which apps are currently causing the GPS to run and who has
recently accessed your location), it doesn't persist its data
like it should, and no way to tell it to reject app requests
for various operations.

But hey, it's a start!

Change-Id: I05b8d76cc4a4f7f37bc758c1701f51f9e0550e15
2013-01-09 12:47:47 -08:00
Martijn Coenen
f4d130fd9f am 2e9f65f9: Merge "Make NfcAdapter states public and fix build."
* commit '2e9f65f978397d112dbfb134d374588515bb644a':
  Make NfcAdapter states public and fix build.
2013-01-09 12:31:03 -08:00
Martijn Coenen
2e9f65f978 Merge "Make NfcAdapter states public and fix build." 2013-01-09 12:28:44 -08:00
Martijn Coenen
e55fe4f3bb Make NfcAdapter states public and fix build.
Change-Id: Idb2dd5e524cda5e3c03d4f2689266fa03be4ea13
2013-01-09 12:27:22 -08:00
Dake Gu
72fa93c70f am 96c2a83c: am 05d48504: am af6dd103: Merge "fix ImageView.getImageMatrix()" into jb-mr1-aah-dev
* commit '96c2a83cd7bcb2d01338fa29849d5ac42d0cd088':
  fix ImageView.getImageMatrix()
2013-01-09 11:59:05 -08:00
Dake Gu
96c2a83cd7 am 05d48504: am af6dd103: Merge "fix ImageView.getImageMatrix()" into jb-mr1-aah-dev
* commit '05d485044bc4607759e2b4ca5188858bceb120f8':
  fix ImageView.getImageMatrix()
2013-01-09 11:53:36 -08:00
Martijn Coenen
9675f4d509 am 8a9120f0: Merge "Make NfcAdapter STATE_CHANGED intent action public."
* commit '8a9120f04ec0ef403e60e6225badab7a69bccf59':
  Make NfcAdapter STATE_CHANGED intent action public.
2013-01-09 11:49:44 -08:00
Martijn Coenen
8a9120f04e Merge "Make NfcAdapter STATE_CHANGED intent action public." 2013-01-09 11:45:15 -08:00
Martijn Coenen
4ba5eaf7f3 Make NfcAdapter STATE_CHANGED intent action public.
Bug: 5141885
Change-Id: Ia357409a51fb45f1739bb37940fa746f94fa9056
2013-01-09 11:41:16 -08:00
Romain Guy
2cb9bb1c21 am 64a0f914: Merge "Optimize drawHardwareAccelerated method in Editor class"
* commit '64a0f914a137ae05f8f9719b6f27c4c81eee3a0f':
  Optimize drawHardwareAccelerated method in Editor class
2013-01-09 09:39:44 -08:00
Romain Guy
64a0f914a1 Merge "Optimize drawHardwareAccelerated method in Editor class" 2013-01-09 09:35:38 -08:00
Przemyslaw Szczepaniak
ebf66811ab am 176baa7d: Revert "Deprecate unused and implementation-specific parts of TTS API"
* commit '176baa7de11be910c36b7b4dfa7826b55ec97963':
  Revert "Deprecate unused and implementation-specific parts of TTS API"
2013-01-09 03:41:00 -08:00
Przemyslaw Szczepaniak
176baa7de1 Revert "Deprecate unused and implementation-specific parts of TTS API"
This reverts commit 8a3d9f0319

Change-Id: I5a5c18f72ae2ea73c21dc27c7469c68d6b4b4c24
2013-01-09 03:36:23 -08:00
Przemyslaw Szczepaniak
5ac18eda22 am 8a3d9f03: Deprecate unused and implementation-specific parts of TTS API
* commit '8a3d9f03199b93e07a5f5edc14660eab6cd233e7':
  Deprecate unused and implementation-specific parts of TTS API
2013-01-09 03:18:38 -08:00
Przemyslaw Szczepaniak
8a3d9f0319 Deprecate unused and implementation-specific parts of TTS API
TTS Voice-data related API was originally written with
one engine in mind (pico sVox TTS). It exposes some implementation
details that should be private to the engine implementation.

- Deprecating fields of ACTION_CHECK_TTS_DATA results that were
used by sVox language packs to find out location of voice data.
Those fields are TTS engine implementation details and should be
private:
EXTRA_VOICE_DATA_ROOT_DIRECTORY
EXTRA_VOICE_DATA_FILES
EXTRA_VOICE_DATA_FILES_INFO

- Deprecating fields of ACTION_CHECK_TTS_DATA request that are
providing unnescesary functionality (it can be easily done on client
side):
EXTRA_CHECK_VOICE_DATA_FOR

- Deprecating some of the return codes of ACTION_CHECK_TTS_DATA - they
are specific to sVox pico voice data and in all cases can be replaced
by CHECK_VOICE_DATA_FAIL result code.
CHECK_VOICE_DATA_BAD_DATA
CHECK_VOICE_DATA_MISSING_DATA
CHECK_VOICE_DATA_MISSING_VOLUME

- Changing semantics of ACTION_TTS_DATA_INSTALLED intent. It's now
more generic and covers any change of available voice data set (so, not only
adding languages, but also removing them should trigger broadcast. Adding and
removing features to existing locale (like embedded synthesis) should be marked
by broadcast as well).

- Deprecating its EXTRA_TTS_DATA_INSTALLED result field - client should discover
the change by running ACTION_CHECK_TTS_DATA intent.

- Making GetSampleText intent public again - it's used by most TTS engines to
provide unique demonstation data.

- Deprecating TextToSpeech.OnUtteranceCompletedListener - it was replaced
by UtteranceProgressListener in API level 15, but no one put deprecation tag
on it.

Change-Id: I6609cde5c50236457f14955e2e7c0481b2b217ec
2013-01-09 03:08:29 -08:00
Jeff Brown
58b50a8d73 am ece0206d: Merge "Fix cursor window leak when query execution fails."
* commit 'ece0206d1273a488b3f622878c794db42dc2e301':
  Fix cursor window leak when query execution fails.
2013-01-08 17:42:37 -08:00
Sangkyu Lee
955beb2b96 Optimize drawHardwareAccelerated method in Editor class
When inserting a new line or breaking a line,
every display list was invalidated and rebuilt before.
However, we can reuse the display lists above intactly and also
reuse the display lists below with only updating drawing locations.

This patch reuses the display lists if possible.
The display lists above the inserted line are just reused
and the display lists below are reused with only updating
drawing locations not fullly rebuilt.

mIndexOfFirstChangedBlock is the index of the first block
which is moved by inserting or breaking a line.
So the display list whose index is >= mIndexOfFirstChangedBlock
only needs to update its drawing location.

Change-Id: Ica20deb0ebb5750de21356ed31fa9f86e657ff92
Signed-off-by: Sangkyu Lee <sk82.lee@lge.com>
2013-01-08 17:10:24 -08:00
Jeff Brown
ece0206d12 Merge "Fix cursor window leak when query execution fails." 2013-01-08 15:57:37 -08:00
Jeff Brown
c21b5a019c Fix cursor window leak when query execution fails.
Ensure that the Cursor object is closed if a query on a
content provider fails due to an error or is canceled during
execution.  There are several places in the code where
similar problems can occur.

To further reduce the likelihood of leaks, close the cursor
window immediately when a query fails.

Bug: 7278577
Change-Id: I8c686c259de80a162b9086628a817d57f09fdd13
2013-01-08 15:32:50 -08:00
Martijn Coenen
b214b40b28 am 4cef9969: Merge "Don\'t IPC for every onPause() in NfcActivityManager."
* commit '4cef9969f5455def9c902457558193679ead9764':
  Don't IPC for every onPause() in NfcActivityManager.
2013-01-08 12:42:58 -08:00
Martijn Coenen
4cef9969f5 Merge "Don't IPC for every onPause() in NfcActivityManager." 2013-01-08 12:40:37 -08:00
Dianne Hackborn
e2eab64515 am 7c208410: am 609d79a0: am c02bbfb3: am 9fae2ecc: Merge "Handle nested folder case"
* commit '7c208410d7d258242bd28435cbe92915f91363fa':
  Handle nested folder case
2013-01-08 10:30:48 -08:00
Dianne Hackborn
7c208410d7 am 609d79a0: am c02bbfb3: am 9fae2ecc: Merge "Handle nested folder case"
* commit '609d79a0ddf7efadf62d6836f6b03dbfbfa7b41d':
  Handle nested folder case
2013-01-08 10:27:27 -08:00
Derek Sollenberger
fc615a0f64 Remove calls to SkCanvas::setBitmapDevice()
Change-Id: Ib0aa2f65b77802b105c0e8a9d7cdde2e863d3673
2013-01-08 10:00:54 -05:00
Mikhail Naganov
82f2cc312e am 2ede4226: Merge "Update JavaDoc for WebSettings.{get|set}UseWideViewPort"
* commit '2ede4226952770714df307803e49f2ffdbd81601':
  Update JavaDoc for WebSettings.{get|set}UseWideViewPort
2013-01-08 01:55:34 -08:00
Mikhail Naganov
2ede422695 Merge "Update JavaDoc for WebSettings.{get|set}UseWideViewPort" 2013-01-08 01:51:02 -08:00
Craig Mautner
e620507766 am 4b71aa1f: Move app transition constants
* commit '4b71aa1f8a1a3b7189fd29241ea7c594ce01623c':
  Move app transition constants
2013-01-08 00:02:12 -08:00
Craig Mautner
4b71aa1f8a Move app transition constants
Move app transition constants from WindowManagerPolicy to
AppTransition.

Change-Id: I8ae6c4d0da1db826c44eb4ea0c6b85016b50b1a3
2013-01-07 23:38:57 -08:00
Dake Gu
05d485044b am af6dd103: Merge "fix ImageView.getImageMatrix()" into jb-mr1-aah-dev
* commit 'af6dd103bd2bb0783b9364c703c2623260496d5c':
  fix ImageView.getImageMatrix()
2013-01-07 18:13:30 -08:00
Martijn Coenen
1360c555a4 Don't IPC for every onPause() in NfcActivityManager.
The NfcService now contains additional code to make sure
that the registered NDEF callback corresponds to the package
running in the foreground. This allows us to stop calling
the NfcService on every onPause() to register the NDEF callback,
as NfcService itself will now detect that the app is no longer
in the foreground, and won't call the callback.

Bug: 5199662
Change-Id: Ibd0d21f8c7b76346238305a6684967263cb7d7e0
2013-01-07 16:41:15 -08:00
Dianne Hackborn
c02bbfb3ea am 9fae2ecc: Merge "Handle nested folder case"
* commit '9fae2ecc5fb777230bde74e4a099fb4e98bf34b4':
  Handle nested folder case
2013-01-07 15:56:20 -08:00
Dianne Hackborn
9fae2ecc5f Merge "Handle nested folder case" 2013-01-07 15:20:45 -08:00
Dianne Hackborn
f8ee9d15b0 am 01712948: am 449f006f: am 2a8de804: am 350d5168: Merge "Correcting typo in doc of MEDIA_XXX intents"
* commit '017129481b50b41a6ed102c76efe8b12d617a5ea':
  Correcting typo in doc of MEDIA_XXX intents
2013-01-07 12:27:31 -08:00
Dianne Hackborn
d0da0b8aae am dff561f4: am 9b59509c: am 138a3d3f: am d5d6f04f: Merge "Hopefully fix PendingIntent.getActivities() documentation wtf."
* commit 'dff561f42bdf15013d10666afdd1fd5fa16e9438':
  Hopefully fix PendingIntent.getActivities() documentation wtf.
2013-01-07 12:27:25 -08:00
Dianne Hackborn
017129481b am 449f006f: am 2a8de804: am 350d5168: Merge "Correcting typo in doc of MEDIA_XXX intents"
* commit '449f006f9391b8c42d6d95ba06970216e8ef9f84':
  Correcting typo in doc of MEDIA_XXX intents
2013-01-07 12:24:09 -08:00
Dianne Hackborn
dff561f42b am 9b59509c: am 138a3d3f: am d5d6f04f: Merge "Hopefully fix PendingIntent.getActivities() documentation wtf."
* commit '9b59509c6a94f1943ce64d3b5e9b4de2aa846d4d':
  Hopefully fix PendingIntent.getActivities() documentation wtf.
2013-01-07 12:23:59 -08:00
Dianne Hackborn
2a8de804a2 am 350d5168: Merge "Correcting typo in doc of MEDIA_XXX intents"
* commit '350d5168e495c642873ee511d4e8dc27ac5377ce':
  Correcting typo in doc of MEDIA_XXX intents
2013-01-07 12:16:40 -08:00
Dianne Hackborn
138a3d3f1a am d5d6f04f: Merge "Hopefully fix PendingIntent.getActivities() documentation wtf."
* commit 'd5d6f04f2ab0db0aea03e3ab1cdd378fcc952bad':
  Hopefully fix PendingIntent.getActivities() documentation wtf.
2013-01-07 12:16:23 -08:00
Romain Guy
e64fb50701 am 7d1c4fa3: Remove out-of-date comment and rename constant
* commit '7d1c4fa322dec1247f7d509a066e436f1d2706fa':
  Remove out-of-date comment and rename constant
2013-01-07 11:59:27 -08:00
Romain Guy
7d1c4fa322 Remove out-of-date comment and rename constant
Change-Id: I0c60d349505776cff0d7e5360e87ac5584dc5876
2013-01-07 11:55:27 -08:00
Romain Guy
023b3ebc46 am 4a623745: Merge "Fix issue when toggling profiling from visual to off to visual"
* commit '4a62374544152d9cc6dafd3e8dd9b0ba475a974c':
  Fix issue when toggling profiling from visual to off to visual
2013-01-07 11:35:37 -08:00
Romain Guy
4a62374544 Merge "Fix issue when toggling profiling from visual to off to visual" 2013-01-07 11:31:49 -08:00
Romain Guy
666d5daab2 Fix issue when toggling profiling from visual to off to visual
Change-Id: I4a623020a9bf0079029d184c13e58d92e692faf8
2013-01-07 11:29:14 -08:00