OSDN Git Service

android-x86/frameworks-base.git
9 years agoReplace TreeSet with HashSet.
Przemyslaw Szczepaniak [Thu, 11 Sep 2014 15:10:32 +0000 (16:10 +0100)]
Replace TreeSet with HashSet.

Both Locale and Voice do not implement Comparable.

Bug: 17467923
Change-Id: I683577e5b18ae1892e1ccea5ea241e1d016c9517

9 years agoMerge "Only unbind agents of the user that is being refreshed" into lmp-dev
Adrian Roos [Wed, 10 Sep 2014 11:24:07 +0000 (11:24 +0000)]
Merge "Only unbind agents of the user that is being refreshed" into lmp-dev

9 years agoMerge "Add system trust agents on first boot or when adding user" into lmp-dev
Adrian Roos [Wed, 10 Sep 2014 11:23:37 +0000 (11:23 +0000)]
Merge "Add system trust agents on first boot or when adding user" into lmp-dev

9 years agoMerge "Remember userId when stripping / rebuilding notification." into lmp-dev
Kenny Guy [Wed, 10 Sep 2014 11:14:57 +0000 (11:14 +0000)]
Merge "Remember userId when stripping / rebuilding notification." into lmp-dev

9 years agoMerge "NoLiService: Delete @removed meetsInterruptionFilter" into lmp-dev
Christoph Studer [Wed, 10 Sep 2014 11:14:32 +0000 (11:14 +0000)]
Merge "NoLiService: Delete @removed meetsInterruptionFilter" into lmp-dev

9 years agoMerge "Notification: Use ViewStub for ProgressBar" into lmp-dev
Christoph Studer [Wed, 10 Sep 2014 11:14:07 +0000 (11:14 +0000)]
Merge "Notification: Use ViewStub for ProgressBar" into lmp-dev

9 years agoMerge "Add feature flags for verified boot and securely remove users." into lmp-dev
Adam Connors [Wed, 10 Sep 2014 10:07:13 +0000 (10:07 +0000)]
Merge "Add feature flags for verified boot and securely remove users." into lmp-dev

9 years agoMerge "Use public APIs to instantiate InputMethodSubtype" into lmp-dev
Yohei Yukawa [Wed, 10 Sep 2014 08:29:29 +0000 (08:29 +0000)]
Merge "Use public APIs to instantiate InputMethodSubtype" into lmp-dev

9 years agoMerge "Remove unused DEFAULT_MANAGED_PROFILE_NAME extra from DevicePolicyManager...
Jessica Hummel [Wed, 10 Sep 2014 08:08:47 +0000 (08:08 +0000)]
Merge "Remove unused DEFAULT_MANAGED_PROFILE_NAME extra from DevicePolicyManager." into lmp-dev

9 years agoRemove unused DEFAULT_MANAGED_PROFILE_NAME extra from DevicePolicyManager.
Jessica Hummel [Wed, 20 Aug 2014 14:20:11 +0000 (15:20 +0100)]
Remove unused DEFAULT_MANAGED_PROFILE_NAME extra from DevicePolicyManager.

Change-Id: I6fe96df66a4a78cf2e2455d58bba13051d108fdf
bug:17152955

9 years agoUse public APIs to instantiate InputMethodSubtype
Yohei Yukawa [Wed, 10 Sep 2014 05:10:30 +0000 (14:10 +0900)]
Use public APIs to instantiate InputMethodSubtype

This is a groundwork for subsequent CLs that are
supposed to improve default input method selection
logics.

Historically we have had a @hide constructor of
InputMethodSubtype. However, this contructor is
a bit obsolete because we can not specify some
parameters that were added in recent platform
releases. We should use InputMethodSubtypeBuilder
instead.

BUG: 17347871
Change-Id: I72ad79682a58344e14380eb20e26edf98aee37cd

9 years agoMerge "Secure access to WifiScanner" into lmp-dev
Vinit Deshpande [Wed, 10 Sep 2014 06:34:23 +0000 (06:34 +0000)]
Merge "Secure access to WifiScanner" into lmp-dev

9 years agoMerge "CamcorderProfile: Add QUALITY_HIGH_SPEED_2160P" into lmp-dev
Zhijun He [Wed, 10 Sep 2014 05:12:25 +0000 (05:12 +0000)]
Merge "CamcorderProfile: Add QUALITY_HIGH_SPEED_2160P" into lmp-dev

9 years agoMerge "Allow protected wifi in connectivity tests" into lmp-dev
Eric Rowe [Wed, 10 Sep 2014 02:43:21 +0000 (02:43 +0000)]
Merge "Allow protected wifi in connectivity tests" into lmp-dev

9 years agoMerge "MediaCodec/Drm: move from getErrorCode to getDiagnosticInfo" into lmp-dev
Lajos Molnar [Wed, 10 Sep 2014 02:38:49 +0000 (02:38 +0000)]
Merge "MediaCodec/Drm: move from getErrorCode to getDiagnosticInfo" into lmp-dev

9 years agoAllow protected wifi in connectivity tests
Eric Rowe [Wed, 10 Sep 2014 02:25:55 +0000 (19:25 -0700)]
Allow protected wifi in connectivity tests

Change-Id: I31285572f90bfb46cc28fb04e79cb9b407477a7d

9 years agoMediaPlayer/SubtitleController:fix add/select timed text on start
Robert Shih [Fri, 5 Sep 2014 20:33:31 +0000 (13:33 -0700)]
MediaPlayer/SubtitleController:fix add/select timed text on start

 - scan internal tracks when necessary
 - fix overflow in addTimedTextSource
 - do not hide timed text track in doSelectDefaultTrack; i.e. apply
   hiding logic to subtitle tracks only
 - do not notify stop in scheduleUpdate; it will be fired in onStopped
   if necessary

Bug: 17323221
Change-Id: I485f7d9197d10562fbd58d0afe5e9aa4cf610f1a

9 years agoMerge "Improve dialog padding when title or body text are missing" into lmp-dev
Alan Viverette [Wed, 10 Sep 2014 01:27:56 +0000 (01:27 +0000)]
Merge "Improve dialog padding when title or body text are missing" into lmp-dev

9 years agoImprove dialog padding when title or body text are missing
Alan Viverette [Wed, 10 Sep 2014 01:24:52 +0000 (18:24 -0700)]
Improve dialog padding when title or body text are missing

BUG: 17446820
Change-Id: I20ace8660da90e6722e55978a3ce49eeafcd1220

9 years agoMerge "SoundTriggerHelper: handle media server death" into lmp-dev
Eric Laurent [Wed, 10 Sep 2014 00:52:59 +0000 (00:52 +0000)]
Merge "SoundTriggerHelper: handle media server death" into lmp-dev

9 years agoAdd ForSubscriber suffix to APIs w/ subId argument.
Junda Liu [Sat, 6 Sep 2014 00:31:08 +0000 (17:31 -0700)]
Add ForSubscriber suffix to APIs w/ subId argument.

Bug: b/17255752
Change-Id: I142d8961aa4c1fa074833f70c404c955caea0870

9 years agoMerge "Fix build." into lmp-dev
Dianne Hackborn [Wed, 10 Sep 2014 00:40:54 +0000 (00:40 +0000)]
Merge "Fix build." into lmp-dev

9 years agoFix build.
Dianne Hackborn [Wed, 10 Sep 2014 00:38:34 +0000 (17:38 -0700)]
Fix build.

Change-Id: I92eabc35168acfe58641917179be0d90a14f2f11

9 years agoMediaCodec/Drm: move from getErrorCode to getDiagnosticInfo
Lajos Molnar [Tue, 9 Sep 2014 23:17:02 +0000 (16:17 -0700)]
MediaCodec/Drm: move from getErrorCode to getDiagnosticInfo

Bug: 17059255
Change-Id: I9f5f0be61e94795d90ad29e94b3a1a6e6aedfb1d

9 years agoSoundTriggerHelper: handle media server death
Eric Laurent [Tue, 9 Sep 2014 22:52:25 +0000 (15:52 -0700)]
SoundTriggerHelper: handle media server death

Retry to attach sound trigger module when startRecognition() is called.

Bug: 17373746.
Change-Id: I5b2f806b6cab47741d345be1cde73a84f5a62590

9 years agoMerge "Support to load default voicemail number from the configuration." into lmp-dev
Amit Mahajan [Wed, 10 Sep 2014 00:23:48 +0000 (00:23 +0000)]
Merge "Support to load default voicemail number from the configuration." into lmp-dev

9 years agoMerge "Fix AppCompatibility test for different process name of one package." into...
wsmlby [Wed, 10 Sep 2014 00:21:26 +0000 (00:21 +0000)]
Merge "Fix AppCompatibility test for different process name of one package." into lmp-dev

9 years agoMerge "CEC: Stub MHL Controller" into lmp-dev
Jinsuk Kim [Wed, 10 Sep 2014 00:16:14 +0000 (00:16 +0000)]
Merge "CEC: Stub MHL Controller" into lmp-dev

9 years agoSupport to load default voicemail number from the configuration.
Xia Ying [Thu, 4 Sep 2014 22:12:25 +0000 (17:12 -0500)]
Support to load default voicemail number from the configuration.

If there is no preload VM number in the sim card, carriers such as
Verizon require to load a default vm number from the configurantion.
Define config_default_vm_number for this purpose. And there are two
optional formats for this configuration, example as below:
(1)<item>voicemail number</item>
(2)<item>voicemail number;gid</item>

Bug: 17209959
Change-Id: Ia4e78ad7265e73bb4e4a823dbaeb606935d39f46

9 years agoam 0cb4c738: am 9f60bc3f: am 52a18161: docs: update api dashboard for september
Robert Ly [Wed, 10 Sep 2014 00:02:31 +0000 (00:02 +0000)]
am 0cb4c738: am 9f60bc3f: am 52a18161: docs: update api dashboard for september

* commit '0cb4c738fba92671dc3a1a75917259f09532a9e4':
  docs: update api dashboard for september

9 years agoMerge "Add support for max-res decode" into lmp-dev
Jeff Tinker [Tue, 9 Sep 2014 23:56:10 +0000 (23:56 +0000)]
Merge "Add support for max-res decode" into lmp-dev

9 years agoam 9f60bc3f: am 52a18161: docs: update api dashboard for september
Robert Ly [Tue, 9 Sep 2014 23:51:10 +0000 (23:51 +0000)]
am 9f60bc3f: am 52a18161: docs: update api dashboard for september

* commit '9f60bc3f129037f2f1b05a09902c8e97d66322f3':
  docs: update api dashboard for september

9 years agoMerge changes I79ba54d7,I224fb4b6 into lmp-dev
Adam Lesinski [Tue, 9 Sep 2014 23:50:02 +0000 (23:50 +0000)]
Merge changes I79ba54d7,I224fb4b6 into lmp-dev

* changes:
  Make UsageStats API default on only for the system
  ActivityManager shouldn't return null for getCurrentUser

9 years agoam 52a18161: docs: update api dashboard for september
Robert Ly [Tue, 9 Sep 2014 23:40:51 +0000 (23:40 +0000)]
am 52a18161: docs: update api dashboard for september

* commit '52a1816180c7a85b13c543a5cdb6a7506cb8f01d':
  docs: update api dashboard for september

9 years agoMerge "Move carrier-specific GPS parameters out of framework/base directory. Bug...
Tsuwei Chen [Tue, 9 Sep 2014 23:29:13 +0000 (23:29 +0000)]
Merge "Move carrier-specific GPS parameters out of framework/base directory. Bug: 17288144" into lmp-dev

9 years agodocs: update api dashboard for september
Robert Ly [Tue, 9 Sep 2014 22:40:50 +0000 (15:40 -0700)]
docs: update api dashboard for september

Change-Id: Icae4efd0729b61c0f6c1850da641bc065bc12122

9 years agoCamcorderProfile: Add QUALITY_HIGH_SPEED_2160P
Zhijun He [Tue, 9 Sep 2014 22:52:35 +0000 (15:52 -0700)]
CamcorderProfile: Add QUALITY_HIGH_SPEED_2160P

Bug: 17059255
Change-Id: Ic6b272e4ceec8fc852c9eb787370f4d366dad0ac

9 years agoMerge "AAPT: Don't crash on illegal symbol name" into lmp-dev
Adam Lesinski [Tue, 9 Sep 2014 23:15:07 +0000 (23:15 +0000)]
Merge "AAPT: Don't crash on illegal symbol name" into lmp-dev

9 years agoFix AppCompatibility test for different process name of one package.
wsmlby [Tue, 9 Sep 2014 23:06:50 +0000 (16:06 -0700)]
Fix AppCompatibility test for different process name of one package.

Change-Id: Ic30e5ee81fe6ea82e88d2c5541dc9fa9eba71043

9 years agoAAPT: Don't crash on illegal symbol name
Adam Lesinski [Tue, 9 Sep 2014 23:05:10 +0000 (16:05 -0700)]
AAPT: Don't crash on illegal symbol name

We never checked the return value when adding a nested
symbol, which would be NULL if the symbol name was invalid.

External bug: https://code.google.com/p/android/issues/detail?id=75876

Change-Id: I5211f4d4b87897d52f2b6e5907113d31930bb92d

9 years agoMerge "Bring up the IME when TextView receives ACTION_CLICK" into lmp-dev
Alan Viverette [Tue, 9 Sep 2014 22:58:27 +0000 (22:58 +0000)]
Merge "Bring up the IME when TextView receives ACTION_CLICK" into lmp-dev

9 years agoMerge "ActionMenuViews always reserve overflow when creating their own menus" into...
Adam Powell [Tue, 9 Sep 2014 22:56:19 +0000 (22:56 +0000)]
Merge "ActionMenuViews always reserve overflow when creating their own menus" into lmp-dev

9 years agoMerge "Fix BackupManager.isBackupEnabled()" into lmp-dev
Christopher Tate [Tue, 9 Sep 2014 22:51:25 +0000 (22:51 +0000)]
Merge "Fix BackupManager.isBackupEnabled()" into lmp-dev

9 years agoAnnouncing the task list as you scroll. (Bug 15699050)
Winson Chung [Tue, 9 Sep 2014 14:12:59 +0000 (16:12 +0200)]
Announcing the task list as you scroll. (Bug 15699050)

Change-Id: I7453f41a2c87241e538cdc7281cdc20a8710ebbb

9 years agoFixing issue with Recents showing blank. (Bug 16987565)
Winson Chung [Tue, 9 Sep 2014 17:12:14 +0000 (19:12 +0200)]
Fixing issue with Recents showing blank. (Bug 16987565)

9 years agoFixing issue with touch events not being forwarded to task switch fling detector...
Winson Chung [Tue, 9 Sep 2014 16:02:06 +0000 (18:02 +0200)]
Fixing issue with touch events not being forwarded to task switch fling detector. (Bug 16656169)

Change-Id: Id8f96455f6e11a13a8ac12d341464bca4419d7c5

9 years agoAdding task switching animation xmls for further tweaking. (Bug 16656169)
Winson Chung [Tue, 9 Sep 2014 15:54:51 +0000 (17:54 +0200)]
Adding task switching animation xmls for further tweaking. (Bug 16656169)

Change-Id: I472116cb3d86a3f90a935b2a3ac058ffc2ac1b5d

9 years agoFixing weird highlight on dismiss button ripple. (Bug 17420495)
Winson Chung [Mon, 8 Sep 2014 20:03:37 +0000 (22:03 +0200)]
Fixing weird highlight on dismiss button ripple. (Bug 17420495)

Change-Id: I769c0647417efeda9b39913c01c62be0d6ff7887

9 years agoMerge "Missing manifest error should be NO_CERTIFICATES." into lmp-dev
Jeff Sharkey [Tue, 9 Sep 2014 22:44:51 +0000 (22:44 +0000)]
Merge "Missing manifest error should be NO_CERTIFICATES." into lmp-dev

9 years agoFix BackupManager.isBackupEnabled()
Christopher Tate [Tue, 9 Sep 2014 22:10:56 +0000 (15:10 -0700)]
Fix BackupManager.isBackupEnabled()

It wasn't properly lazy-initializing the service binder, so it always
thought the backend service didn't exist, and so always returned false.

Also directly validated that every usage of sService in the module is
now correctly lazy-initialized.

Bug 16661321

Change-Id: If5fbb18aef81bfa8fd70eb40a1f6af54cc96d804

9 years agoMove carrier-specific GPS parameters out of framework/base directory.
Tsuwei Chen [Tue, 9 Sep 2014 22:09:57 +0000 (15:09 -0700)]
Move carrier-specific GPS parameters out of framework/base directory.
Bug: 17288144

All carrier values has been moved to device only directory, in this change:
https://googleplex-android-review.git.corp.google.com/#/c/543322

Change-Id: Idb958a75edc612dc83c8382fa6546c3588889e39

9 years agoMerge "camera2: make 3A regions null when not available" into lmp-dev
Yin-Chia Yeh [Tue, 9 Sep 2014 22:24:42 +0000 (22:24 +0000)]
Merge "camera2: make 3A regions null when not available" into lmp-dev

9 years agoMerge "Camera2: Add frameNumber to CaptureCallback#onCaptureStarted" into lmp-dev
Eino-Ville Talvala [Tue, 9 Sep 2014 22:20:57 +0000 (22:20 +0000)]
Merge "Camera2: Add frameNumber to CaptureCallback#onCaptureStarted" into lmp-dev

9 years agoMerge "make autojoin associated scan period a config opttion" into lmp-dev
vandwalle [Tue, 9 Sep 2014 22:12:05 +0000 (22:12 +0000)]
Merge "make autojoin associated scan period a config opttion" into lmp-dev

9 years agoMerge "Trim unnecessary pages when printing." into lmp-dev
Svetoslav [Tue, 9 Sep 2014 22:11:19 +0000 (22:11 +0000)]
Merge "Trim unnecessary pages when printing." into lmp-dev

9 years agoAdd system trust agents on first boot or when adding user
Adrian Roos [Fri, 5 Sep 2014 16:22:28 +0000 (18:22 +0200)]
Add system trust agents on first boot or when adding user

While we're in there also call listeners when they're added
so they know the state immediately.

Bug: 17258031
Change-Id: I5f1186314795f3fafd78e1b3e2d5102cdaec65d6

9 years agoMissing manifest error should be NO_CERTIFICATES.
Jeff Sharkey [Tue, 9 Sep 2014 21:57:26 +0000 (14:57 -0700)]
Missing manifest error should be NO_CERTIFICATES.

When META-INF/MANIFEST.MF is missing, treat as NO_CERTIFICATES
instead of CERTIFICATE_ENCODING.  Also remove redundant layer of
debugging details when wrapping exceptions.

Bug: 15667982
Change-Id: I6e8216d5bf6e42da1feb70c89f991001380305be

9 years agoMerge "initialize codec list before MediaCodec.getCodecInfo()" into lmp-dev
Lajos Molnar [Tue, 9 Sep 2014 21:55:42 +0000 (21:55 +0000)]
Merge "initialize codec list before MediaCodec.getCodecInfo()" into lmp-dev

9 years agoMerge "add some assert messages to download manager test" into lmp-dev
Guang Zhu [Tue, 9 Sep 2014 21:51:15 +0000 (21:51 +0000)]
Merge "add some assert messages to download manager test" into lmp-dev

9 years agoMerge "QS: Fix tile padding on dual tile first lines." into lmp-dev
John Spurlock [Tue, 9 Sep 2014 21:47:52 +0000 (21:47 +0000)]
Merge "QS: Fix tile padding on dual tile first lines." into lmp-dev

9 years agoOnly unbind agents of the user that is being refreshed
Adrian Roos [Mon, 8 Sep 2014 12:03:47 +0000 (14:03 +0200)]
Only unbind agents of the user that is being refreshed

Follow-up to I470261f659a573400b2eb1421eeb953c87e58b66.

Bug: 17416492
Change-Id: If0da5f163049540476d84d147c0e733fab1ae6d5

9 years agoadd some assert messages to download manager test
Guang Zhu [Tue, 9 Sep 2014 21:44:17 +0000 (14:44 -0700)]
add some assert messages to download manager test

Change-Id: If2e1bdd115eddeeb7bdebf0fab29a3756fee4ceb

9 years agoMerge "Update alert dialog styling to match Material spec" into lmp-dev
Alan Viverette [Tue, 9 Sep 2014 21:43:32 +0000 (21:43 +0000)]
Merge "Update alert dialog styling to match Material spec" into lmp-dev

9 years agoinitialize codec list before MediaCodec.getCodecInfo()
Lajos Molnar [Tue, 9 Sep 2014 21:33:57 +0000 (14:33 -0700)]
initialize codec list before MediaCodec.getCodecInfo()

Bug: 17374217
Change-Id: I8e8fc3a34ec01afdf5fc577979010183971c878b

9 years agoQS: Fix tile padding on dual tile first lines.
John Spurlock [Tue, 9 Sep 2014 21:33:01 +0000 (17:33 -0400)]
QS: Fix tile padding on dual tile first lines.

Now that the caret is not being set, update the padding to
handle this case.

Bug:17421027
Change-Id: Iaacf60df6e39801a27dad054f2d42c99b85c46cd

9 years agoFix for b/16400888 - API Review: GridLayout attributes
Philip Milne [Tue, 9 Sep 2014 17:37:31 +0000 (10:37 -0700)]
Fix for b/16400888 - API Review: GridLayout attributes

Column weights specify the relative proportions of space distribution
within a *row*. With that in mind, I flipped the vertical and horizontal
axes in the docs - but that was a mistake. This CL flips the docs back.
The code works the right way around so doesn't need to be modified.

Change-Id: I1a36882eee8d1b9bd7b8ef10e03cbf66de0ac261
(cherry picked from commit 4ae5f5ee917b2014abe3b6e0b99451693cd2b896)

9 years agoMerge "On db upgrade, reset ringer mode to normal." into lmp-dev
John Spurlock [Tue, 9 Sep 2014 21:20:27 +0000 (21:20 +0000)]
Merge "On db upgrade, reset ringer mode to normal." into lmp-dev

9 years agoOn db upgrade, reset ringer mode to normal.
John Spurlock [Tue, 9 Sep 2014 21:05:54 +0000 (17:05 -0400)]
On db upgrade, reset ringer mode to normal.

When users upgrade to L, don't restore into a state that would force
zen mode to follow suit.  A user's first encounter with zen mode
should be via the UI.

Bug:16826161
Change-Id: I4eb63dce37d88f3a91b5034b3393eed2b768562c

9 years agoActionMenuViews always reserve overflow when creating their own menus
Adam Powell [Tue, 9 Sep 2014 20:51:16 +0000 (13:51 -0700)]
ActionMenuViews always reserve overflow when creating their own menus

ActionMenuViews work in two modes: hosting another Menu instance or
creating their own. The former is used when an action bar is
displaying a window's options menu. The latter is used when an
ActionMenuView (or Toolbar) is placed within an arbitrary layout and
the getMenu method is called.

When showing a window's options menu, ActionMenuPresenter calls into
the ActionBarPolicy to determine if we should reserve an overflow
button or if overflow will be presented by the window instead. Always
reserve overflow if the ActionMenuView is presenting its own menu.

Bug 17381966

Change-Id: I17c495986994d421bf6276ae39ba233243432e97

9 years agoMerge "Prevent NotificationManagerService from using bad stream type" into lmp-dev
Jean-Michel Trivi [Tue, 9 Sep 2014 20:49:49 +0000 (20:49 +0000)]
Merge "Prevent NotificationManagerService from using bad stream type" into lmp-dev

9 years agoMerge "Zen: Map transition to ringer-mode silent to "priority"." into lmp-dev
John Spurlock [Tue, 9 Sep 2014 20:40:02 +0000 (20:40 +0000)]
Merge "Zen: Map transition to ringer-mode silent to "priority"." into lmp-dev

9 years agoBring up the IME when TextView receives ACTION_CLICK
Alan Viverette [Sun, 7 Sep 2014 22:49:49 +0000 (15:49 -0700)]
Bring up the IME when TextView receives ACTION_CLICK

Simulates the relevant portions of a DOWN/UP event pair to request focus
and bring up the IME.

BUG: 8213791
Change-Id: Idb32d81552ecbbdefc64686c914eba6d8e28b0b8

9 years agoZen: Map transition to ringer-mode silent to "priority".
John Spurlock [Tue, 9 Sep 2014 20:32:42 +0000 (16:32 -0400)]
Zen: Map transition to ringer-mode silent to "priority".

Instead of "none".

Bug:16875664
Change-Id: I2a425663f08f35854e7e857330afc20eef01ef2e

9 years agoMake UsageStats API default on only for the system
Adam Lesinski [Tue, 9 Sep 2014 01:31:21 +0000 (18:31 -0700)]
Make UsageStats API default on only for the system

This changes the PACKAGE_USAGE_STATS permission to be
a signature only permission, meaning that only apps
signed with the system signature have access to the
UsageStats API enabled by default.

Bug:17428130
Change-Id: I79ba54d7102c770ea2490f014a1f6736f0f46b3a

9 years agoMerge "User restriction to disallow outgoing NFC beam" into lmp-dev
Amith Yamasani [Tue, 9 Sep 2014 20:29:38 +0000 (20:29 +0000)]
Merge "User restriction to disallow outgoing NFC beam" into lmp-dev

9 years agoMerge "Use sscanf() for parsing tag values." into lmp-dev
Jeff Sharkey [Tue, 9 Sep 2014 20:29:34 +0000 (20:29 +0000)]
Merge "Use sscanf() for parsing tag values." into lmp-dev

9 years agoMerge "Doze: Wake up on touch, fade between states." into lmp-dev
John Spurlock [Tue, 9 Sep 2014 20:24:03 +0000 (20:24 +0000)]
Merge "Doze: Wake up on touch, fade between states." into lmp-dev

9 years agoDoze: Wake up on touch, fade between states.
John Spurlock [Tue, 9 Sep 2014 15:54:11 +0000 (11:54 -0400)]
Doze: Wake up on touch, fade between states.

- When dozing, the first motion event triggers a wake up.
- Fade the backgrounds to ease the transition out of doze.

Bug:17167296
Change-Id: I5615ca0839dfa3ed2cf3001baf407c707f0676d5

9 years agoMerge "hwui: Caches: use mBoundTextures only for GL_TEXTURE_2D" into lmp-dev
Chris Craik [Tue, 9 Sep 2014 20:03:08 +0000 (20:03 +0000)]
Merge "hwui: Caches: use mBoundTextures only for GL_TEXTURE_2D" into lmp-dev

9 years agohwui: Caches: use mBoundTextures only for GL_TEXTURE_2D
Fred Fettinger [Fri, 29 Aug 2014 19:02:31 +0000 (14:02 -0500)]
hwui: Caches: use mBoundTextures only for GL_TEXTURE_2D

bug:17441218

GLConsumer uses glBindTexture() directly instead of going through
Caches::bindTexture(). This can cause libhwui to draw with the wrong
texture bound in the following case which involves 2 TextureViews:

Frame 1:
GLConsumer::updateTexImage() calls glBindTexture(GL_TEXTURE_EXTERNAL_OES, 1)
HWUI renders TextureView A:
    calls Caches::bindTexture(GL_TEXTURE_EXTERNAL_OES, 1) and draws

Frame 2:
GLConsumer::updateTexImage() calls glBindTexture(GL_TEXTURE_EXTERNAL_OES, 1)
GLConsumer::updateTexImage() calls glBindTexture(GL_TEXTURE_EXTERNAL_OES, 2)
HWUI renders TextureView A:
    calls Caches::bindTexture(GL_TEXTURE_EXTERNAL_OES, 1) and draws
HWUI renders TextureView B:
    calls Caches::bindTexture(GL_TEXTURE_EXTERNAL_OES, 2) and draws

In this case, HWUI will incorrectly draw TextureView A using texture 2 on
frame 2, because mBoundTextures[0]=1, even though the texture currently
bound to GL_TEXTURE_EXTERNAL_OES is 2.

Since GLConsumer is always used with a target of GL_TEXTURE_EXTERNAL_OES,
work around this problem by having mBoundTextures[] store only the
textures bound to the target GL_TEXTURE_2D. This is the common case
where the extra performance is needed. Since it's legal to have
different textures bound to GL_TEXTURE_2D and GL_TEXTURE_EXTERNAL_OES
on one texture unit, Caches::bindTexture() does not need to clear
mBoundTextures[mTextureUnit] when target != GL_TEXTURE_2D.

Change-Id: I8bc54ab8adcfacad7f3ed17a31236dc7a86c967a
Signed-off-by: Fred Fettinger <fred.fettinger@motorola.com>
9 years agoMerge "Use surfaceflinger for recents thumbnail rotations." into lmp-dev
Riley Andrews [Tue, 9 Sep 2014 19:59:14 +0000 (19:59 +0000)]
Merge "Use surfaceflinger for recents thumbnail rotations." into lmp-dev

9 years agoMerge "Use correct row/column order in list and grid CollectionItems" into lmp-dev
Alan Viverette [Tue, 9 Sep 2014 19:57:08 +0000 (19:57 +0000)]
Merge "Use correct row/column order in list and grid CollectionItems" into lmp-dev

9 years agoCamera2: Add frameNumber to CaptureCallback#onCaptureStarted
Eino-Ville Talvala [Mon, 8 Sep 2014 21:30:50 +0000 (14:30 -0700)]
Camera2: Add frameNumber to CaptureCallback#onCaptureStarted

Otherwise, cannot reliably match up capture progressed and failure callbacks
with the start callback.

Bug: 17421092
Change-Id: I91d92be70a15536b215bac330370ce37e426ec26

9 years agoUse sscanf() for parsing tag values.
Jeff Sharkey [Tue, 9 Sep 2014 19:29:41 +0000 (12:29 -0700)]
Use sscanf() for parsing tag values.

Neither strtoll() nor strtoull() can parse the %llx formatted tag
values coming from the kernel.  We know the lowest 32 bits will never
be set, so fast-path the 3-character case as 0x0.

Bug: 17365163
Change-Id: I238bbd2830c9335e7ab7a53362d6e12b46e0bcb3

9 years agoUser restriction to disallow outgoing NFC beam
Amith Yamasani [Tue, 9 Sep 2014 16:57:27 +0000 (09:57 -0700)]
User restriction to disallow outgoing NFC beam

This can be controlled by MDMs via DPM.

Also fixes:
 - javadoc for restrictions
 - persisting of cross profile copy/paste restriction

Bug: 17387303
Change-Id: Ie148f56189181d2a4c6345c0823d417ab13a94a3

9 years agoMerge "Remove reference to StatusBarNotification after the value is accessed." into...
Griff Hazen [Tue, 9 Sep 2014 18:35:53 +0000 (18:35 +0000)]
Merge "Remove reference to StatusBarNotification after the value is accessed." into lmp-dev

9 years agoMerge "Fix tessellation bounds computation" into lmp-dev
Chris Craik [Tue, 9 Sep 2014 18:34:06 +0000 (18:34 +0000)]
Merge "Fix tessellation bounds computation" into lmp-dev

9 years agoMerge "Fixing issue with screen pinning not working. (Bug 17436123)" into lmp-dev
Winson Chung [Tue, 9 Sep 2014 18:33:17 +0000 (18:33 +0000)]
Merge "Fixing issue with screen pinning not working. (Bug 17436123)" into lmp-dev

9 years agoMerge "Separating the notion of transposed search vs nav bar. (Bug 17402331)" into...
Winson Chung [Tue, 9 Sep 2014 18:33:06 +0000 (18:33 +0000)]
Merge "Separating the notion of transposed search vs nav bar. (Bug 17402331)" into lmp-dev

9 years agoActivityManager shouldn't return null for getCurrentUser
Adam Lesinski [Tue, 9 Sep 2014 00:50:03 +0000 (17:50 -0700)]
ActivityManager shouldn't return null for getCurrentUser

There was a race where ActivityManager would return null
for getCurrentUser() when switching between guest accounts.
This is because the Guest account was marked for deletion
while it was still active.

Bug:17290209

Change-Id: I224fb4b6836380e5acb7dbeb8f3343d74505f88a

9 years agoCopy visibility docs from support version to base Notification.
Griff Hazen [Wed, 20 Aug 2014 18:56:44 +0000 (11:56 -0700)]
Copy visibility docs from support version to base Notification.

(Noticed the difference in a javadoc diff between Notification and
NotificationCompat)

Bug: 17424399

Change-Id: I639a46c429ffebf8ca47118b2ea80f40ccdc1286

9 years agoMerge "Add user-specific playSoundEffect and use in NavBar" into lmp-dev
Jason Monk [Tue, 9 Sep 2014 18:03:13 +0000 (18:03 +0000)]
Merge "Add user-specific playSoundEffect and use in NavBar" into lmp-dev

9 years agoMerge "Set MTU size to 1410 for Telus." into lmp-dev
Vineeta Srivastava [Tue, 9 Sep 2014 18:02:56 +0000 (18:02 +0000)]
Merge "Set MTU size to 1410 for Telus." into lmp-dev

9 years agoMerge "Removing the NO_CROSS_PROFILE flag for intent forwarding" into lmp-dev
Alexandra Gherghina [Tue, 9 Sep 2014 17:45:34 +0000 (17:45 +0000)]
Merge "Removing the NO_CROSS_PROFILE flag for intent forwarding" into lmp-dev

9 years agoChange suffix UsingSubId to ForSubscriber.
Wink Saville [Mon, 8 Sep 2014 21:50:58 +0000 (14:50 -0700)]
Change suffix UsingSubId to ForSubscriber.

Bug: 17255752
Change-Id: Ifd522888b5aaae111f642d1e35bd1bb939e539d4

9 years agoMerge "Add support for a circular bitmap overlay for round android wear emulator...
Griff Hazen [Tue, 9 Sep 2014 17:25:46 +0000 (17:25 +0000)]
Merge "Add support for a circular bitmap overlay for round android wear emulator." into lmp-dev

9 years agoMerge "Add Japanese content ratings" into lmp-dev
Jae Seo [Tue, 9 Sep 2014 17:21:58 +0000 (17:21 +0000)]
Merge "Add Japanese content ratings" into lmp-dev

9 years agoAdd Japanese content ratings
Jae Seo [Tue, 9 Sep 2014 17:02:37 +0000 (10:02 -0700)]
Add Japanese content ratings

Bug: 17434802
Change-Id: I4be1ff9e5621f0a973c38f1abb377b1c92131a02

9 years agoMerge "Remove deprecated (and now unused) API method." into lmp-dev
Craig Mautner [Tue, 9 Sep 2014 17:05:03 +0000 (17:05 +0000)]
Merge "Remove deprecated (and now unused) API method." into lmp-dev

9 years agoSet MTU size to 1410 for Telus.
New Author Steven Liu [Tue, 26 Aug 2014 18:27:54 +0000 (11:27 -0700)]
Set MTU size to 1410 for Telus.

Bug: 17391167
Change-Id: I38c0d2a311624db66113b5eda2a5eceb6fec2a69