OSDN Git Service

android-x86/frameworks-base.git
9 years agoMerge "Add KeyPermanentlyInvalidatedException." into mnc-dev
Alex Klyubin [Wed, 29 Apr 2015 23:48:13 +0000 (23:48 +0000)]
Merge "Add KeyPermanentlyInvalidatedException." into mnc-dev

9 years agoMerge "[Update API]: Rename accountAuthenticated to notifyAccountAuthenticated and...
Simranjit Singh Kohli [Wed, 29 Apr 2015 23:13:33 +0000 (23:13 +0000)]
Merge "[Update API]: Rename accountAuthenticated to notifyAccountAuthenticated and other changes." into mnc-dev

9 years agoMerge "Update use of A-GPS modes in GpsLocationProvider b/20664846" into mnc-dev
destradaa [Wed, 29 Apr 2015 23:09:52 +0000 (23:09 +0000)]
Merge "Update use of A-GPS modes in GpsLocationProvider b/20664846" into mnc-dev

9 years agoMerge "Volume: dismiss volume UI to avoid HUNs." into mnc-dev
John Spurlock [Wed, 29 Apr 2015 22:57:17 +0000 (22:57 +0000)]
Merge "Volume: dismiss volume UI to avoid HUNs." into mnc-dev

9 years agoMerge "Rename FONT_NOTOSANS_FULL to FONT_NOTOSANS_JP_FULL." into mnc-dev
Roozbeh Pournader [Wed, 29 Apr 2015 22:47:59 +0000 (22:47 +0000)]
Merge "Rename FONT_NOTOSANS_FULL to FONT_NOTOSANS_JP_FULL." into mnc-dev

9 years agoRename FONT_NOTOSANS_FULL to FONT_NOTOSANS_JP_FULL.
Roozbeh Pournader [Wed, 29 Apr 2015 22:38:07 +0000 (15:38 -0700)]
Rename FONT_NOTOSANS_FULL to FONT_NOTOSANS_JP_FULL.

This clarifies the meaning of the variable, that this switch only
affects the Noto Sans Japanese font.

Change-Id: I28043ed41ec51af0273a071692426d51352ef849

9 years agoMerge "Remove network access for idle apps" into mnc-dev
Amith Yamasani [Wed, 29 Apr 2015 22:31:17 +0000 (22:31 +0000)]
Merge "Remove network access for idle apps" into mnc-dev

9 years agoMerge "Remove concept of layer alpha override" into mnc-dev
Chris Craik [Wed, 29 Apr 2015 22:16:10 +0000 (22:16 +0000)]
Merge "Remove concept of layer alpha override" into mnc-dev

9 years agoMerge "Properly unparcel the PFDs passed to android.content.ContentProviderProxy...
Ben Kwa [Wed, 29 Apr 2015 22:12:06 +0000 (22:12 +0000)]
Merge "Properly unparcel the PFDs passed to android.content.ContentProviderProxy.openFile." into mnc-dev

9 years agoMerge "Clarify javadoc of isKeyguardSecure and isDeviceSecure" into mnc-dev
Adrian Roos [Wed, 29 Apr 2015 21:57:51 +0000 (21:57 +0000)]
Merge "Clarify javadoc of isKeyguardSecure and isDeviceSecure" into mnc-dev

9 years agoUpdate use of A-GPS modes in GpsLocationProvider
destradaa [Wed, 29 Apr 2015 21:42:35 +0000 (14:42 -0700)]
Update use of A-GPS modes in GpsLocationProvider
b/20664846

This change reflects the documentation changes made in gps.h for the
upcoming Android release.

Change-Id: Id3e04492febdabd42e91a12e221d1192947b8061

9 years agoMerge "Don't propagate level or RTL in LayerDrawable.setDrawable()" into mnc-dev
Alan Viverette [Wed, 29 Apr 2015 21:29:29 +0000 (21:29 +0000)]
Merge "Don't propagate level or RTL in LayerDrawable.setDrawable()" into mnc-dev

9 years agoDon't propagate level or RTL in LayerDrawable.setDrawable()
Alan Viverette [Wed, 29 Apr 2015 21:28:25 +0000 (14:28 -0700)]
Don't propagate level or RTL in LayerDrawable.setDrawable()

The developer used to be responsible for this and automatically
propagating the values breaks some use cases (ex. in Camera).

Bug: 20696311
Change-Id: Ia8ddc132c6d629bcc27d66f654baf30d9f078568

9 years agoMerge "Some code clean-up." into mnc-dev
Wale Ogunwale [Wed, 29 Apr 2015 21:24:45 +0000 (21:24 +0000)]
Merge "Some code clean-up." into mnc-dev

9 years agoRemove network access for idle apps
Amith Yamasani [Sat, 25 Apr 2015 02:06:07 +0000 (19:06 -0700)]
Remove network access for idle apps

Track apps going in and out of idle in the NetworkPolicyManagerService.
Apply DROP rules in firewall controller if app is to be blacklisted
for network access.

Firewall can now be in whitelist (old) or blacklist mode. When in
blacklist, it allows all by default and we can selectively DENY
some uids.

Track app idle in UsageStats and update periodically.
Track charging/discharging states.

TODO: Check for appidle temporary parole state

Bug: 20066058
Change-Id: Ia65d7544204b3bcb78a517310ef4adcc05aac6fb

9 years agoMerge "Add API to get app op for a permission" into mnc-dev
Svet Ganov [Wed, 29 Apr 2015 21:15:24 +0000 (21:15 +0000)]
Merge "Add API to get app op for a permission" into mnc-dev

9 years agoClarify javadoc of isKeyguardSecure and isDeviceSecure
Adrian Roos [Tue, 28 Apr 2015 22:48:00 +0000 (15:48 -0700)]
Clarify javadoc of isKeyguardSecure and isDeviceSecure

Bug: 20642788
Change-Id: I1114150cd645ee3de8e4617cdb79ff351e01b9df

9 years agoMerge "MidiDeviceInfo: Add version string property" into mnc-dev
Mike Lockwood [Wed, 29 Apr 2015 20:50:34 +0000 (20:50 +0000)]
Merge "MidiDeviceInfo: Add version string property" into mnc-dev

9 years agoMidiDeviceInfo: Add version string property
Mike Lockwood [Wed, 29 Apr 2015 20:44:34 +0000 (13:44 -0700)]
MidiDeviceInfo: Add version string property

For USB devices, this is populated with the USB device version string.

Change-Id: Ia9286d5f41783e4e960a9c724bf6b85b6599fe12

9 years agoMerge "Implement user-settable power save whitelist." into mnc-dev
Dianne Hackborn [Wed, 29 Apr 2015 20:33:50 +0000 (20:33 +0000)]
Merge "Implement user-settable power save whitelist." into mnc-dev

9 years agoProperly unparcel the PFDs passed to
Ben Kwa [Wed, 29 Apr 2015 20:28:25 +0000 (13:28 -0700)]
Properly unparcel the PFDs passed to
android.content.ContentProviderProxy.openFile.

BUG=20693984

Change-Id: Id089d218057d5439da1bd5bf0ce3991059c1ecad

9 years agoMerge "UsbDevice: Add support for retrieving version string for a USB device" into...
Mike Lockwood [Wed, 29 Apr 2015 20:27:49 +0000 (20:27 +0000)]
Merge "UsbDevice: Add support for retrieving version string for a USB device" into mnc-dev

9 years agoMerge "Moving all Telephony overlays to CarrierConfigManager." into mnc-dev
Junda Liu [Wed, 29 Apr 2015 20:25:24 +0000 (20:25 +0000)]
Merge "Moving all Telephony overlays to CarrierConfigManager." into mnc-dev

9 years agoMoving all Telephony overlays to CarrierConfigManager.
Jonathan Basseri [Mon, 27 Apr 2015 21:14:38 +0000 (14:14 -0700)]
Moving all Telephony overlays to CarrierConfigManager.

This adds every variable and its default value from
packages/services/Telephony/res/values/config.xml to the new
CarrierConfigManager API. Variable docstrings are also taken from
config.xml, with minimal edits.

These variables were not included because either they are not carrier
specific, or they are device specific:

OtaPlaySuccessFailureTone
OtaShowActivateFailTimes
OtaShowActivationScreen
OtaShowListeningScreen
carrier_settings
carrier_settings_menu
config_allow_hfa_outside_of_setup_wizard
config_enabled_lte
csp_enabled
dialer_default_class
dtmf_type_enabled
hac_enabled
send_mic_mute_to_AudioManager
ui_default_package

This also adds BOOL_HIDE_CARRIER_NETWORK_SETTINGS which is a replacement
for android.provider.Settings.Global.HIDE_CARRIER_NETWORK_SETTINGS.

Bug: 20270007
Change-Id: I985a55cf88d3bd1863e28af7790b59eef01d6504

9 years agoMerge "Require minimum 4 bit stencil for layers." into mnc-dev
Chris Craik [Wed, 29 Apr 2015 20:17:42 +0000 (20:17 +0000)]
Merge "Require minimum 4 bit stencil for layers." into mnc-dev

9 years agoMerge "Skip frames with no damage" into mnc-dev
John Reck [Wed, 29 Apr 2015 20:10:25 +0000 (20:10 +0000)]
Merge "Skip frames with no damage" into mnc-dev

9 years agoUsbDevice: Add support for retrieving version string for a USB device
Mike Lockwood [Wed, 29 Apr 2015 20:05:55 +0000 (13:05 -0700)]
UsbDevice: Add support for retrieving version string for a USB device

Change-Id: Ia8630f5ffd05f90347b971110a81f4927060cc4b

9 years agoRequire minimum 4 bit stencil for layers.
Chris Craik [Wed, 29 Apr 2015 00:55:50 +0000 (17:55 -0700)]
Require minimum 4 bit stencil for layers.

bug:19270131
Change-Id: I81367179d268e7c1642259c456c1f3d0018f6c0d

9 years agoMerge "DO NOT MERGE: Minor fixes to FloatingToolbar." into mnc-dev
Abodunrinwa Toki [Wed, 29 Apr 2015 19:57:46 +0000 (19:57 +0000)]
Merge "DO NOT MERGE: Minor fixes to FloatingToolbar." into mnc-dev

9 years agoSome code clean-up.
Wale Ogunwale [Wed, 29 Apr 2015 19:55:46 +0000 (12:55 -0700)]
Some code clean-up.

Change-Id: I626c4c40c32dbf43408e0649364dfe8be2bb2321

9 years agoAdd KeyPermanentlyInvalidatedException.
Alex Klyubin [Wed, 29 Apr 2015 01:58:47 +0000 (18:58 -0700)]
Add KeyPermanentlyInvalidatedException.

This enables users of AndroidKeyStore crypto to differentiate between
the key being unusable until the user is authenticated
(UserNotAuthenticatedException) and the key being permanently unusable
(KeyPermanentlyInvalidatedException). The latter is the case when the
secure lock screen has been disabled or reset, and, for keys that
require user authentication for every use, when a new fingerprint is
enrolled or all fingerprints are unenrolled.

NOTE: The KeyPermanentlyInvalidatedException subsumes/replaces the
NewFingerprintEnrolledException which has thus been removed. There
is no way to find out whether a key was permenently invalidated
specifically because a new fingerprint was added.

Bug: 20642549
Bug: 20526234
Change-Id: I0206cd99eef5c605c9c4d6afc5eea02eb3b1fe6b

9 years agoImplement user-settable power save whitelist.
Dianne Hackborn [Mon, 27 Apr 2015 16:47:32 +0000 (09:47 -0700)]
Implement user-settable power save whitelist.

The whitelist is now maintained by DeviceIdleController,
which is moving out into its own independent system service.
Network stats now queries it for the whitelist, instead of
collecting that itself.

Also did a few improvements in alarm manager -- made the
code for moving alarms out of the pending list more robust,
and fixed the debug output to always print the contents of
the pending list even if we aren't in a pending state.  (That
would have helped me identify the problem much earlier.)

Change-Id: I0f7119d4c553c3af4d77b2f71246fa6e2c13c561

9 years agoMerge "Respect the record audio app op - framework" into mnc-dev
Svet Ganov [Wed, 29 Apr 2015 19:34:05 +0000 (19:34 +0000)]
Merge "Respect the record audio app op - framework" into mnc-dev

9 years agoMerge "Unify View alpha implies clipping behavior" into mnc-dev
Chris Craik [Wed, 29 Apr 2015 19:23:40 +0000 (19:23 +0000)]
Merge "Unify View alpha implies clipping behavior" into mnc-dev

9 years agoVolume: dismiss volume UI to avoid HUNs.
John Spurlock [Wed, 29 Apr 2015 16:24:19 +0000 (12:24 -0400)]
Volume: dismiss volume UI to avoid HUNs.

Also include headsUp in the name of the pinned callback
method.

Internal version of AOSP proposal:
  https://android-review.googlesource.com/147502

Change-Id: I8fe14bd7d65b2d3564cb1e2869d7ffbbac89e80d

9 years agoMerge "Add SystemApis in GpsMeasurements APIs to reflect changes in GPS HAL. b/199382...
destradaa [Wed, 29 Apr 2015 18:01:03 +0000 (18:01 +0000)]
Merge "Add SystemApis in GpsMeasurements APIs to reflect changes in GPS HAL. b/19938206" into mnc-dev

9 years agoDO NOT MERGE: Minor fixes to FloatingToolbar.
Abodunrinwa Toki [Fri, 24 Apr 2015 23:28:56 +0000 (00:28 +0100)]
DO NOT MERGE: Minor fixes to FloatingToolbar.

* Changes to isShowing() method.
* Changes to initial content visibility on show().

Change-Id: I1b20cd5a3fc86ae7427b55c44efd3cc1118148ae

9 years agoMerge "DO NOT MERGE: Update floatingtoolbar position when cursor moves." into mnc-dev
Abodunrinwa Toki [Wed, 29 Apr 2015 17:26:27 +0000 (17:26 +0000)]
Merge "DO NOT MERGE: Update floatingtoolbar position when cursor moves." into mnc-dev

9 years agoMerge "Add android.speech.RecognizerIntent EXTRA_PREFER_OFFLINE to indicate whether...
Cedric Ho [Wed, 29 Apr 2015 17:19:38 +0000 (17:19 +0000)]
Merge "Add android.speech.RecognizerIntent EXTRA_PREFER_OFFLINE to indicate whether to only use an offline speech recognition engine." into mnc-dev

9 years agoMerge "Add OP_AUTH_NEEDED KeyStore result code" into mnc-dev
Chad Brubaker [Wed, 29 Apr 2015 17:17:29 +0000 (17:17 +0000)]
Merge "Add OP_AUTH_NEEDED KeyStore result code" into mnc-dev

9 years agoRestore checkbox checked color to colorControlActivated
Alan Viverette [Wed, 29 Apr 2015 16:51:35 +0000 (09:51 -0700)]
Restore checkbox checked color to colorControlActivated

Bug: 20683633
Change-Id: I8997ad5829eda7afa03b7c56d4f44e4abfe34bee

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Wed, 29 Apr 2015 16:46:28 +0000 (16:46 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoMerge "Adjust display inversion matrix to account for luminance" into mnc-dev
Alan Viverette [Wed, 29 Apr 2015 16:38:42 +0000 (16:38 +0000)]
Merge "Adjust display inversion matrix to account for luminance" into mnc-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 29 Apr 2015 16:27:09 +0000 (09:27 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ie2516ab34be72c0de86e3d546b349118be9c093c
Auto-generated-cl: translation import

9 years agoMerge "DO NOT MERGE - Minor clean up: redundant functionality in Editor and TextView...
Andrei Stingaceanu [Wed, 29 Apr 2015 16:21:14 +0000 (16:21 +0000)]
Merge "DO NOT MERGE - Minor clean up: redundant functionality in Editor and TextView." into mnc-dev

9 years agoMerge "Update bottom area alpha when stack height changes" into mnc-dev
Xiyuan Xia [Wed, 29 Apr 2015 15:46:23 +0000 (15:46 +0000)]
Merge "Update bottom area alpha when stack height changes" into mnc-dev

9 years agoAdd API to get app op for a permission
Svet Ganov [Wed, 29 Apr 2015 01:39:06 +0000 (18:39 -0700)]
Add API to get app op for a permission

Change-Id: Id75d8fca6654c694fb78d1b4a3564b01e90a4e78

9 years agoMerge "Remove View:hasStaticLayer()" into mnc-dev
John Reck [Wed, 29 Apr 2015 14:48:27 +0000 (14:48 +0000)]
Merge "Remove View:hasStaticLayer()" into mnc-dev

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Wed, 29 Apr 2015 14:18:40 +0000 (14:18 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 29 Apr 2015 14:18:14 +0000 (07:18 -0700)]
Import translations. DO NOT MERGE

Change-Id: Icf8a8e3bc6d5a88293a6954c35e766ac8c494a4d
Auto-generated-cl: translation import

9 years agoMerge "Import translations. DO NOT MERGE" into mnc-dev
Geoff Mendal [Wed, 29 Apr 2015 14:08:23 +0000 (14:08 +0000)]
Merge "Import translations. DO NOT MERGE" into mnc-dev

9 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 29 Apr 2015 14:03:31 +0000 (07:03 -0700)]
Import translations. DO NOT MERGE

Change-Id: Ied1d50de849ab195e9f3c9e70c0f8e8dbf9104fe
Auto-generated-cl: translation import

9 years agoMerge "Volume: Simple dialog footer, DND in quick settings." into mnc-dev
John Spurlock [Wed, 29 Apr 2015 14:02:49 +0000 (14:02 +0000)]
Merge "Volume: Simple dialog footer, DND in quick settings." into mnc-dev

9 years agoVolume: Simple dialog footer, DND in quick settings.
John Spurlock [Tue, 28 Apr 2015 15:19:13 +0000 (11:19 -0400)]
Volume: Simple dialog footer, DND in quick settings.

 - Show DND tile by default, this is now the only
   place to manage DND modes / end conditions.
 - Remove super footer from volume dialog, replace with
   a simplified version that displays the current mode
   and allows ending DND.
 - Remove obsolete text-only footer from codebase.
 - Migrate remaining volume items into main resource files.
 - Rename "No interruptions" to "Total silence".
 - Add new user information banner for "Total silence"
 - Crude media filtering for Total Silence.
   (deeper muting changes will be done as a followup)
 - Disable volume dialog sliders completely if muted due
   to zen.
 - Cleanup ZenModePanel: assume embedded mode, remove
   expandable subhead
 - Remember "favorite" DND mode inside the DND config panel.
 - AudioService: consult ringer-mode-delegate before voluming
   down into silent.
 - Add new hour options to time-based exit conditions.
 - Volume dialog visual updates to move closer to final visuals.
 - Unify ringer=silent with DND.

Bug: 19260237
Change-Id: I05d7e001eca3b5125418ec3bc4087d0cb8866717

9 years agoDo not return cross-profile intent results to a non-enabled user.
Nicolas Prevot [Thu, 23 Apr 2015 16:11:47 +0000 (17:11 +0100)]
Do not return cross-profile intent results to a non-enabled user.

In PackageManagerService.queryIntentActivities, do not return
ResolveInfos targeting a user which is not enabled.

BUG:19578138
Change-Id: Id4e730ca8671c26f8cf077bc9c66b3dbd37be482

9 years agoMerge "Add status bar flag to disable quick settings" into mnc-dev
Benjamin Franz [Wed, 29 Apr 2015 08:35:57 +0000 (08:35 +0000)]
Merge "Add status bar flag to disable quick settings" into mnc-dev

9 years agoMerge "TIF: throw an exception if an operation takes too long." into mnc-dev
Dongwon Kang [Wed, 29 Apr 2015 05:34:24 +0000 (05:34 +0000)]
Merge "TIF: throw an exception if an operation takes too long." into mnc-dev

9 years agoTIF: throw an exception if an operation takes too long.
Dongwon Kang [Mon, 27 Apr 2015 08:43:52 +0000 (17:43 +0900)]
TIF: throw an exception if an operation takes too long.

Bug: 19383373
Change-Id: I915f77af3ab12d10810fd85e55d7d5c5da3d6136

9 years agoMethod to wipe all adoptable disks.
Jeff Sharkey [Wed, 29 Apr 2015 05:25:26 +0000 (22:25 -0700)]
Method to wipe all adoptable disks.

Will be used by various classes doing factory reset.

Bug: 9433509
Change-Id: I0701abe00abc2fb9085ce1ffe6e28fb27c91ab51

9 years agoSplit some VolumeInfo state into VolumeRecord.
Jeff Sharkey [Mon, 27 Apr 2015 15:42:28 +0000 (08:42 -0700)]
Split some VolumeInfo state into VolumeRecord.

VolumeRecord is a historical record of a volume that we've seen in
the past.  It's now surfaced outside the framework for SystemUI to
drive the notifications that bug users to reinsert missing private
volumes.

Show progress notifications for both storage and package movement
operations.  Notify when an empty disk is inserted (no usable volumes)
which launches into the normal format flow.

Add API to forget volumes.

Bug: 2027542420275424
Change-Id: I75602c17fdcd4d1f1f62324e1a08c4a33093eefa

9 years agoam a39e4d37: am 77ad81b5: am ff1bfac6: am c637af9e: am 75f071df: Merge "Localized...
David Friedman [Wed, 29 Apr 2015 04:05:47 +0000 (04:05 +0000)]
am a39e4d37: am 77ad81b5: am ff1bfac6: am c637af9e: am 75f071df: Merge "Localized Android landing pages Bug: 19124242" into lmp-docs

* commit 'a39e4d3716a10e84acbfc0813745ee4303f1edb2':

9 years agoam 3d983dea: am 21a9fa47: am 75f071df: Merge "Localized Android landing pages Bug...
David Friedman [Wed, 29 Apr 2015 03:51:39 +0000 (03:51 +0000)]
am 3d983dea: am 21a9fa47: am 75f071df: Merge "Localized Android landing pages Bug: 19124242" into lmp-docs

* commit '3d983deace20df9437bc9efebc67550f3904eee3':
  Localized Android landing pages Bug: 19124242

9 years agoam 77ad81b5: am ff1bfac6: am c637af9e: am 75f071df: Merge "Localized Android landing...
David Friedman [Wed, 29 Apr 2015 03:48:52 +0000 (03:48 +0000)]
am 77ad81b5: am ff1bfac6: am c637af9e: am 75f071df: Merge "Localized Android landing pages Bug: 19124242" into lmp-docs

* commit '77ad81b5301bfbf1691bdad203dd70ce68ce40b3':

9 years agoam ff1bfac6: am c637af9e: am 75f071df: Merge "Localized Android landing pages Bug...
David Friedman [Wed, 29 Apr 2015 03:25:38 +0000 (03:25 +0000)]
am ff1bfac6: am c637af9e: am 75f071df: Merge "Localized Android landing pages Bug: 19124242" into lmp-docs

* commit 'ff1bfac68b977f577d537172d87daa5c816be3b7':
  Localized Android landing pages Bug: 19124242

9 years agoam 21a9fa47: am 75f071df: Merge "Localized Android landing pages Bug: 19124242" into...
David Friedman [Wed, 29 Apr 2015 03:25:15 +0000 (03:25 +0000)]
am 21a9fa47: am 75f071df: Merge "Localized Android landing pages Bug: 19124242" into lmp-docs

* commit '21a9fa471bcc57196a19e40ca29dbaa97233244c':
  Localized Android landing pages Bug: 19124242

9 years agoam c637af9e: am 75f071df: Merge "Localized Android landing pages Bug: 19124242" into...
David Friedman [Wed, 29 Apr 2015 03:13:59 +0000 (03:13 +0000)]
am c637af9e: am 75f071df: Merge "Localized Android landing pages Bug: 19124242" into lmp-docs

* commit 'c637af9eee48334e6d8d65428734c8928e9bac55':
  Localized Android landing pages Bug: 19124242

9 years agoam 75f071df: Merge "Localized Android landing pages Bug: 19124242" into lmp-docs
David Friedman [Wed, 29 Apr 2015 03:01:57 +0000 (03:01 +0000)]
am 75f071df: Merge "Localized Android landing pages Bug: 19124242" into lmp-docs

* commit '75f071df44d3231f2f9d2616277b9065e1dedc12':
  Localized Android landing pages Bug: 19124242

9 years agoam 75f071df: Merge "Localized Android landing pages Bug: 19124242" into lmp-docs
David Friedman [Wed, 29 Apr 2015 03:01:10 +0000 (03:01 +0000)]
am 75f071df: Merge "Localized Android landing pages Bug: 19124242" into lmp-docs

* commit '75f071df44d3231f2f9d2616277b9065e1dedc12':
  Localized Android landing pages Bug: 19124242

9 years agoMerge "Localized Android landing pages Bug: 19124242" into lmp-docs
David Friedman [Wed, 29 Apr 2015 02:49:23 +0000 (02:49 +0000)]
Merge "Localized Android landing pages Bug: 19124242" into lmp-docs

9 years agoMerge "Align AndroidKeyStore API with user auth API." into mnc-dev
Alex Klyubin [Wed, 29 Apr 2015 01:25:31 +0000 (01:25 +0000)]
Merge "Align AndroidKeyStore API with user auth API." into mnc-dev

9 years agoMerge changes from topic 'brightness' into mnc-dev
Jeff Brown [Wed, 29 Apr 2015 01:17:56 +0000 (01:17 +0000)]
Merge changes from topic 'brightness' into mnc-dev

* changes:
  Add code to collect data about auto-brightness adjustments.
  Add float support to binary event log.

9 years agoAdd code to collect data about auto-brightness adjustments.
Jeff Brown [Fri, 24 Apr 2015 02:58:06 +0000 (19:58 -0700)]
Add code to collect data about auto-brightness adjustments.

Write samples of the old and new state to the binary event log whenever
the user modifies the auto-brightness adjustment.  We wait a few seconds
before logging to ensure that the user is satisfied with the adjustment.

Bug: 19786916
Change-Id: I41402decd1034d0839aa0f47495bc00907ab9c08

9 years agoAdd float support to binary event log.
Jeff Brown [Tue, 28 Apr 2015 20:26:48 +0000 (13:26 -0700)]
Add float support to binary event log.

Bug: 20664753
Change-Id: I90456400b878f943e39cbddec45649662176e2aa

9 years agoRemove concept of layer alpha override
Chris Craik [Wed, 29 Apr 2015 00:47:20 +0000 (17:47 -0700)]
Remove concept of layer alpha override

bug:19412691
Change-Id: I9e150fe4a1b2c0cf140519a33c02fd4771ef1c50

9 years agoMerge "Use Default Browser App for IntentResolution when needed" into mnc-dev
Fabrice Di Meglio [Wed, 29 Apr 2015 00:42:43 +0000 (00:42 +0000)]
Merge "Use Default Browser App for IntentResolution when needed" into mnc-dev

9 years agoAlign AndroidKeyStore API with user auth API.
Alex Klyubin [Tue, 28 Apr 2015 21:21:01 +0000 (14:21 -0700)]
Align AndroidKeyStore API with user auth API.

This simplifies the AndroidKeyStore API around user authentication: no
more explicit control over which user authenticators are bound to
which keys.

User-authenticated keys with timeout are unlocked by whatever unlocks
the secure lock screen (currently, password/PIN/pattern or
fingerprint). User-authenticated keys that need authentication for
every use are unlocked by fingerprint only.

Bug: 20526234
Bug: 20642549
Change-Id: I1e5e6c988f32657d820797ad5696797477a9ebe9

9 years agoUse Default Browser App for IntentResolution when needed
Fabrice Di Meglio [Sat, 11 Apr 2015 03:40:16 +0000 (20:40 -0700)]
Use Default Browser App for IntentResolution when needed

- add MATCH_ALL as a new flag for telling that all results need to
be returned (even if there is some sort of filtering done).
- take into account the default Browser App for Intent resolution
- also, dont do any domain verification priming for non system app

See bug #20144393

Change-Id: Iddd1f2029e3bbf3b99ebc5f416dc7f17e5bad10c

9 years agoAdjust display inversion matrix to account for luminance
Alan Viverette [Wed, 29 Apr 2015 00:30:04 +0000 (17:30 -0700)]
Adjust display inversion matrix to account for luminance

Bug: 20346301
Change-Id: I10633705f2bfddbdeec063f9489a4f8679b9e8ee

9 years agoMerge "Don't ostensibly back off fstrim but then do it anyway" into mnc-dev
Christopher Tate [Wed, 29 Apr 2015 00:22:29 +0000 (00:22 +0000)]
Merge "Don't ostensibly back off fstrim but then do it anyway" into mnc-dev

9 years agoMerge "Permissions control via profile/device owner admin" into mnc-dev
Amith Yamasani [Wed, 29 Apr 2015 00:16:59 +0000 (00:16 +0000)]
Merge "Permissions control via profile/device owner admin" into mnc-dev

9 years agoDon't ostensibly back off fstrim but then do it anyway
Christopher Tate [Tue, 28 Apr 2015 23:32:55 +0000 (16:32 -0700)]
Don't ostensibly back off fstrim but then do it anyway

When the mount service isn't up yet, we schedule a retry in the near
future, but then mistakenly go ahead and try (unsuccessfully) to do the
fstrim immediately anyway.  Don't do that.  Furthermore, when in this
situation make sure to preserve knowledge of any completion callback
that may be expecting to hear back about the [eventual] fstrim operation.

Change-Id: Ic7cba37b4f850540f6e448168be0c42418039b01

9 years agoUnify View alpha implies clipping behavior
Chris Craik [Wed, 29 Apr 2015 00:14:48 +0000 (17:14 -0700)]
Unify View alpha implies clipping behavior

bug:20254728

Change-Id: If472adf7c75ca9ccfeb0d22e005c1215aacfb80f

9 years agoMerge "AccountsDb Logging]: Introducing logging in accountsDb." into mnc-dev
Simranjit Singh Kohli [Wed, 29 Apr 2015 00:12:28 +0000 (00:12 +0000)]
Merge "AccountsDb Logging]: Introducing logging in accountsDb." into mnc-dev

9 years agoMerge "Properly describe exception" into mnc-dev
Mathieu Chartier [Tue, 28 Apr 2015 23:47:25 +0000 (23:47 +0000)]
Merge "Properly describe exception" into mnc-dev

9 years agoProperly describe exception
Mathieu Chartier [Tue, 28 Apr 2015 23:30:30 +0000 (16:30 -0700)]
Properly describe exception

Previously we used DetachCurrentThread which raised a SIGABRT from
within ART. The new approach is to use ExceptionDescribe and exit.

Bug: 20640601

(cherry picked from commit d12065f581defd9e8199593e85aa2036a0713684)

Change-Id: I00126b678ff296e0076247554af8328fe2767038

9 years agoMerge "Fix DatePicker max date, disabled day color, and arrow visibility" into mnc-dev
Alan Viverette [Tue, 28 Apr 2015 23:39:05 +0000 (23:39 +0000)]
Merge "Fix DatePicker max date, disabled day color, and arrow visibility" into mnc-dev

9 years agoMerge "@hide resizeableActivity attribute and remove from public api" into mnc-dev
Wale Ogunwale [Tue, 28 Apr 2015 23:38:55 +0000 (23:38 +0000)]
Merge "@hide resizeableActivity attribute and remove from public api" into mnc-dev

9 years ago@hide resizeableActivity attribute and remove from public api
Wale Ogunwale [Tue, 28 Apr 2015 22:57:06 +0000 (15:57 -0700)]
@hide resizeableActivity attribute and remove from public api

The world is not ready for it ;)

Bug: 20643000
Change-Id: Ia1fbf0450ded8afbd7d876ef2e5ec4eaccb8e6ac

9 years agoRespect the record audio app op - framework
Svet Ganov [Tue, 28 Apr 2015 19:03:28 +0000 (12:03 -0700)]
Respect the record audio app op - framework

Change-Id: I5696d2ef22738ccffaf8bd7a0ee68cbc3dea3bf1

9 years agoUpdate bottom area alpha when stack height changes
Xiyuan Xia [Tue, 28 Apr 2015 23:17:18 +0000 (16:17 -0700)]
Update bottom area alpha when stack height changes

Bottom area alpha depends on stack scroller's notification top Y
which depends on stack translation which changes when stack height
changes. Thus the bottom area alpha needs to be updated when stack
height changes.

Bug: 20457060
Change-Id: Ibcc95c830a83737732aa15147cd82d21f2ee9161

9 years agoMerge "Fix build." into mnc-dev
Jorim Jaggi [Tue, 28 Apr 2015 23:29:36 +0000 (23:29 +0000)]
Merge "Fix build." into mnc-dev

9 years agoFix build.
Jorim Jaggi [Tue, 28 Apr 2015 23:28:26 +0000 (16:28 -0700)]
Fix build.

Change-Id: Ieebcab9eb6588afc560179103d78ad4011fe152c

9 years agoMerge "Follow up CL for heads up notification refactoring" into mnc-dev
Selim Cinek [Tue, 28 Apr 2015 23:27:56 +0000 (23:27 +0000)]
Merge "Follow up CL for heads up notification refactoring" into mnc-dev

9 years agoFollow up CL for heads up notification refactoring
Selim Cinek [Wed, 15 Apr 2015 23:18:39 +0000 (16:18 -0700)]
Follow up CL for heads up notification refactoring

Change-Id: Iaf286dfd30a86d3d7d6dd947d3c10ac9eb8c2b1e

9 years agoMerge "Make BIND_INCALL_SERVICE and BIND_CONNECTION_SERVICE public" into mnc-dev
Yorke Lee [Tue, 28 Apr 2015 23:22:31 +0000 (23:22 +0000)]
Merge "Make BIND_INCALL_SERVICE and BIND_CONNECTION_SERVICE public" into mnc-dev

9 years agoAccountsDb Logging]: Introducing logging in accountsDb.
Simranjit Singh Kohli [Thu, 9 Apr 2015 20:58:44 +0000 (13:58 -0700)]
AccountsDb Logging]: Introducing logging in accountsDb.

This CL introduces logging for various functions like add/remove accounts,
clear/set tokens. It is made sure not to log any PII in the new table.

Bug: 18168971

Change-Id: Iacc3e7e80a640fcb113886443172809e8f7bee21

9 years agoMake BIND_INCALL_SERVICE and BIND_CONNECTION_SERVICE public
Yorke Lee [Tue, 28 Apr 2015 23:08:25 +0000 (16:08 -0700)]
Make BIND_INCALL_SERVICE and BIND_CONNECTION_SERVICE public

These system|signature only permissions must be required by
an InCallService and ConnectionService respectively.

Bug: 20304458
Change-Id: I26156afb610a7f549c0a1a7c01c2096928ef33a7

9 years agoMerge "Give scheduled jobs a more substantial timeslice" into mnc-dev
Christopher Tate [Tue, 28 Apr 2015 23:10:37 +0000 (23:10 +0000)]
Merge "Give scheduled jobs a more substantial timeslice" into mnc-dev

9 years agoMerge "Only listen for fingerprint if needed." into mnc-dev
Jorim Jaggi [Tue, 28 Apr 2015 23:01:41 +0000 (23:01 +0000)]
Merge "Only listen for fingerprint if needed." into mnc-dev

9 years agoMerge "Add animation for fingerprint error state" into mnc-dev
Jorim Jaggi [Tue, 28 Apr 2015 23:01:13 +0000 (23:01 +0000)]
Merge "Add animation for fingerprint error state" into mnc-dev