109822 Commits

Author SHA1 Message Date
Amith Yamasani
350962ca82 Remove restrictions PIN for all users
Bug: 10200097
Change-Id: I4d95cd49a21e8f4f6b2c141d1205f81622c395b5
2013-08-06 11:18:53 -07:00
Amith Yamasani
3d38fa301c Merge "PreferenceActivity Fragment security" 2013-08-01 17:18:03 +00:00
Romain Guy
5d3dff1d66 Merge "Add missing alpha channel to built-in colors" 2013-08-01 16:46:04 +00:00
Romain Guy
86d3e03d38 Add missing alpha channel to built-in colors
Change-Id: I911c17b623513b2715668d0f91604b28c32a969a
2013-08-01 09:43:26 -07:00
Daniel Sandler
87d01e9e83 am 9e6f26a8: am f3e2f8fe: am 9eb434c3: Allow the user to block notifications for foreground services.
* commit '9e6f26a8e1e69b1c49676d60a5ebe36c0a0f23f9':
  Allow the user to block notifications for foreground services.
2013-08-01 09:35:16 -07:00
Daniel Sandler
9e6f26a8e1 am f3e2f8fe: am 9eb434c3: Allow the user to block notifications for foreground services.
* commit 'f3e2f8feef1a22708cc7ce1a7bc5d914bb53933d':
  Allow the user to block notifications for foreground services.
2013-08-01 09:32:40 -07:00
Daniel Sandler
f3e2f8feef am 9eb434c3: Allow the user to block notifications for foreground services.
* commit '9eb434c3899ce4791ca58affcbe673e5a96ff6b9':
  Allow the user to block notifications for foreground services.
2013-08-01 09:29:45 -07:00
Jean-Michel Trivi
9171db2798 Unhide android.media.AudioManager.AUDIOFOCUS_GAIN_TRANSIENT_EXCLUSIVE
Unhide android.media.AudioManager.AUDIOFOCUS_GAIN_TRANSIENT_EXCLUSIVE
Update android.media.AudioManager.requestAudioFocus() javadoc for the
  new focus type.

Bug 8251963

Change-Id: I7cd69faaf5f0169ee462b91d0aaa75dc6b092107
2013-08-01 09:19:58 -07:00
Jean-Michel Trivi
5813f240ec Merge "Notification muting conditional to exclusive audio focus request" 2013-08-01 16:07:08 +00:00
Victoria Lease
f296e317fb Merge "Support RGBA fonts and bitmap fonts (and RGBA bitmap fonts)" 2013-08-01 14:40:54 +00:00
Satoshi Kataoka
2f3efcf107 Merge "Cleanup InputMethodSubtype and add "isAsciiCapable"." 2013-08-01 08:26:47 +00:00
Satoshi Kataoka
dc8abf6cee Cleanup InputMethodSubtype and add "isAsciiCapable".
Bug: 8364845
Change-Id: Ic3ace4b6e0432d56696bcbc0be336aec1dc744a5
2013-08-01 17:17:48 +09:00
Lorenzo Colitti
e1cd293151 Merge "Add accessors for all addresses and clarify compare* methods" 2013-08-01 06:44:29 +00:00
Daniel Sandler
9eb434c389 Allow the user to block notifications for foreground services.
Stepping carefully around the fix in change Idc788527, we
perform security (and AppOps, and therefore user block)
checks against the uid passed to enqueueNotificationInternal
rather than the Binder caller.

Bug: 9502541
Change-Id: I91745db92823381df75721c1b8f11013a7fa4ecc
2013-08-01 00:44:57 -04:00
Jeff Sharkey
f4b6daf0ae Merge "Sliding drawer for roots, move sorting, search." 2013-08-01 04:05:52 +00:00
Jeff Sharkey
bc2971d249 Sliding drawer for roots, move sorting, search.
Move backend root exploration into sliding drawer, and adjust action
bar when moving between modes.  Moves sorting into action bar spinner
instead of separate dialog.  Also add initial search support.

Change-Id: I70189911ba56ae6bd93d5c503a8600acd6d6c0c5
2013-07-31 21:03:09 -07:00
Satoshi Kataoka
fd5d153af8 Merge "Add a debug utility for InputMethodUtils" 2013-08-01 03:12:35 +00:00
Satoshi Kataoka
87c2914215 Add a debug utility for InputMethodUtils
Change-Id: I59f6001bf20640e36e19b09cf117b8579120ba7d
2013-08-01 11:57:27 +09:00
Svetoslav Ganov
53672be110 Merge "Iteration of the print sub-system." 2013-08-01 02:16:20 +00:00
Svetoslav Ganov
55b409a97c Iteration of the print sub-system.
1. Added APIs for adding partially initialized PrintInfo objects
   enabling light-weight lookps for print serivces that want to
   populate the list of available printers without querying each
   of them for its capabilities. This includes APIs for the system
   to request from a print service to update certain printers.

2. Fixed a bug in PrinterId#equals().

3. Added equals and hasCode implementaion to PrinterInfo. Also
   the defaul in PrinterInfo are now an array instead of a
   SparseArray - cheaper.

4. Now PrintJobConfigActivity works with partially specified
   printers. Specifically, if such a printer is selected the
   activity is requesting from the print service to update
   the printer. We are currently not handling the timeout case.
   It also handles udpated pritners.

Change-Id: I5e83e924ef597c9e22cbd06a971d4f4d3bd3a9c1
2013-07-31 18:59:53 -07:00
Adam Powell
e303900dbd Merge "Revert "Import xxhdpi framework drawables from UX export"" 2013-08-01 01:56:14 +00:00
Adam Powell
fb3d894fa8 Revert "Import xxhdpi framework drawables from UX export"
This reverts commit 843c7b6b90e97686bc7d7ebaa48343c3bd99d98c.

Change-Id: I819525e3dfa70d83ea16bfca46db7375c6800aaa
2013-08-01 01:55:19 +00:00
Elliott Hughes
2a805f9304 resolved conflicts for merge of 368d81fe to master
Change-Id: I4bc59cd9a54cbc1b62ac135cf86dc73ac85968d5
2013-07-31 18:25:47 -07:00
Dianne Hackborn
bf83e0dd12 Merge "Fix issue #10115327: MapCollections need to implement equals" 2013-08-01 01:14:57 +00:00
Elliott Hughes
368d81fe18 am c67b2ed5: Merge changes I80eaecff,Ia2b4f79b
* commit 'c67b2ed50226c4758d0fc1434d39f6add6a0a533':
  Switch Process.myTid over to the libcore JNI too.
  Replace native Process getpid/getuid with calls to libcore equivalents.
2013-07-31 17:57:22 -07:00
Dianne Hackborn
8b7bc13e21 Fix issue #10115327: MapCollections need to implement equals
Change-Id: I8e7b6dd092442f3870aa1a36bd2a7cd974177146
2013-07-31 17:52:07 -07:00
Adam Powell
c8f464c842 Merge "Import xxhdpi framework drawables from UX export" 2013-08-01 00:49:14 +00:00
Elliott Hughes
c67b2ed502 Merge changes I80eaecff,Ia2b4f79b
* changes:
  Switch Process.myTid over to the libcore JNI too.
  Replace native Process getpid/getuid with calls to libcore equivalents.
2013-08-01 00:49:09 +00:00
Elliott Hughes
6d4b1e24ae Switch Process.myTid over to the libcore JNI too.
Change-Id: I80eaecff014fabf809f4be3c9ee8b26aa64bf0cf
2013-07-31 17:38:11 -07:00
Adam Powell
843c7b6b90 Import xxhdpi framework drawables from UX export
Change-Id: I4a3ff925c59e8157f906c6de9ca2323adf2a07e4
2013-07-31 17:29:33 -07:00
Jeff Hao
406ec15647 Replace native Process getpid/getuid with calls to libcore equivalents.
The Process natives were getting called were getting called while
handling a jdwp packet before the vm had a chance to register them.

(cherry-pick of 5bce6a308fc8a3c1e449cf905b8b6e8ace4ef3e2.)

Change-Id: Ia2b4f79b11e427283a712b2d0c52948f394640bf
2013-07-31 17:19:23 -07:00
Svetoslav Ganov
9f1ef00265 Merge "Iteration on the print sub-system." 2013-08-01 00:13:44 +00:00
Dianne Hackborn
f94b34f539 Merge "Resource memory optimization." 2013-07-31 23:32:20 +00:00
Wink Saville
552436d17b Merge "Fix excessive log spew." 2013-07-31 23:27:34 +00:00
Dianne Hackborn
d45c68dd24 Resource memory optimization.
Don't ever need the cached UTF-16 string conversions on the
device.  Don't need to create those strings, and don't need
to create the lookup array for them at all.  This requires
fixing all of the remaining places in the platform where we
interacted with the resources with the blind assumption that
the strings are UTF-16.

Change-Id: Ia0e5a150499837471e494e85b23b05fa06e0cf1d
2013-07-31 15:57:49 -07:00
Victoria Lease
1e546815bb Support RGBA fonts and bitmap fonts (and RGBA bitmap fonts)
Quite a few things going on in this commit:

- Enable bitmap strikes by default in Paint objects.

The SkPaint parameter that enables bitmap strikes was not previously
included in DEFAULT_PAINT_FLAGS. This effectively disabled bitmap
fonts. Oops! It's for the best, though, as additional work was needed
in Skia to make bitmap fonts work anyway.

- Complain if TEXTURE_BORDER_SIZE is not 1.

Our glyph cache code does not currently handle any value other than 1
here, including zero. I've added a little C preprocessor check to
prevent future engineers (including especially future-me) from
thinking that they can change this value without updating the related
code.

- Add GL_RGBA support to hwui's FontRenderer and friends

This also happened to involve some refactoring for convenience and
cleanliness.

Bug: 9577689
Change-Id: I0abd1e5a0d6623106247fb6421787e2c2f2ea19c
2013-07-31 15:50:47 -07:00
Wink Saville
1aef7fc81a Fix excessive log spew.
Bug: 10115060
Change-Id: I61fd83071da1224f38757b8d90f58c8d6c41d36b
2013-07-31 15:49:04 -07:00
Jean-Michel Trivi
2380566deb Notification muting conditional to exclusive audio focus request
Summary of feature:
Do not mute notifications when speech recognition recording is
  active, but when an app has requested audio focus with
  AudioManager.AUDIOFOCUS_GAIN_TRANSIENT_EXCLUSIVE.

Implementation:
Move definition of AUDIOFOCUS_NONE to AudioManager where other
  audio focus codes are defined.
Add support for querying the current audio focus type.
When audio focus is requested as GAIN_TRANSIENT_EXCLUSIVE, make
  the corresponding loss by LOSS_TRANSIENT.
Before playing a notification, check whether GAIN_TRANSIENT_EXCLUSIVE
  has been requested.

Bug 8251963

Change-Id: I41edc77326b70639d2fdcb4642c53109995b72a8
2013-07-31 14:37:19 -07:00
Dianne Hackborn
af728bd201 am 5b45f236: (-s ours) am bd61ba5b: am a99cb5bc: (DO NOT MERGE) Fix pub issue #58043: Copy crash in Android 4.3...
* commit '5b45f2366e97d8c937950285d4dc936fed15d00a':
  (DO NOT MERGE) Fix pub issue #58043: Copy crash in Android 4.3...
2013-07-31 14:21:49 -07:00
Dianne Hackborn
5b45f2366e am bd61ba5b: am a99cb5bc: (DO NOT MERGE) Fix pub issue #58043: Copy crash in Android 4.3...
* commit 'bd61ba5b22f55a70615e128310d365c6175a0a4e':
  (DO NOT MERGE) Fix pub issue #58043: Copy crash in Android 4.3...
2013-07-31 14:18:06 -07:00
Dianne Hackborn
bd61ba5b22 am a99cb5bc: (DO NOT MERGE) Fix pub issue #58043: Copy crash in Android 4.3...
* commit 'a99cb5bc41d4493db84c5ee3d9123d4a99df5c53':
  (DO NOT MERGE) Fix pub issue #58043: Copy crash in Android 4.3...
2013-07-31 14:14:21 -07:00
Dianne Hackborn
a99cb5bc41 (DO NOT MERGE) Fix pub issue #58043: Copy crash in Android 4.3...
...when clipboard listener attached

We need to clear the calling identity before dispatching change
notifications.  Also make this more robust, so that in the face
of any failure we will clean up the broadcast state.

Integrated from master.

Change-Id: I05e1f76ffd486439535631fe4062dabe94bd2ccf
2013-07-31 13:48:39 -07:00
Zhijun He
bf11d5835e Merge "Camera2 API: Fix missing callback issue" 2013-07-31 20:45:04 +00:00
Christopher Tate
20f170d6af Don't try to do the work if there isn't any data.
Bug 10056484

Change-Id: I527f592b0bb91bfbfff1d52c3327fe9e2ac53471
2013-07-31 13:01:02 -07:00
Zhijun He
ecb323e3ce Camera2 API: Fix missing callback issue
Callback/Listener classes must extend the AIDL Stub class and implement the
methods. Also rename the frameId to requestId to avoid confusion.

Change-Id: I1b2f0e2f99230917f9e0e1875ba3ba1c7859c805
2013-07-31 12:02:07 -07:00
Scott Main
99ae1c9f08 am c580489c: am a2545522: am 48ebc69f: remove obsolete/orphaned "tab layout" doc, make redirect to training lesson
* commit 'c580489cb95696ab5f3482aeb9e83f5eb7d68d87':
  remove obsolete/orphaned "tab layout" doc, make redirect to training lesson
2013-07-31 11:08:08 -07:00
Scott Main
c580489cb9 am a2545522: am 48ebc69f: remove obsolete/orphaned "tab layout" doc, make redirect to training lesson
* commit 'a254552270879e08f852c69ebda9640fc1870e6f':
  remove obsolete/orphaned "tab layout" doc, make redirect to training lesson
2013-07-31 11:02:15 -07:00
Scott Main
a254552270 am 48ebc69f: remove obsolete/orphaned "tab layout" doc, make redirect to training lesson
* commit '48ebc69f4ea60438f8c9d9ebaa882babdbe26cb2':
  remove obsolete/orphaned "tab layout" doc, make redirect to training lesson
2013-07-31 10:56:56 -07:00
Scott Main
48ebc69f4e remove obsolete/orphaned "tab layout" doc, make redirect to training lesson
Change-Id: I743be26de666c3385cca1e180da0cab13c1c6335
2013-07-31 10:48:57 -07:00
Jean-Michel Trivi
3a6f25512c Merge "Focus gain sends focus loss through the focus stack" 2013-07-31 15:53:08 +00:00