OSDN Git Service

android-x86/frameworks-base.git
9 years agoam 58b0fc56: am d8293d83: am 5b7546a6: Merge "docs: studio 1.2 revision updates"...
Rich Slogar [Thu, 30 Apr 2015 03:48:26 +0000 (03:48 +0000)]
am 58b0fc56: am d8293d83: am 5b7546a6: Merge "docs: studio 1.2 revision updates" into lmp-docs

* commit '58b0fc56ef447cb78665e9324245a0af08977b14':
  docs: studio 1.2 revision updates

9 years agoSurface KeyPermanentlyInvalidatedException for per-op auth keys.
Alex Klyubin [Thu, 30 Apr 2015 03:28:41 +0000 (20:28 -0700)]
Surface KeyPermanentlyInvalidatedException for per-op auth keys.

Bug: 20642549
Change-Id: Ibda270921f13a1fd695264583b0e4bd255f63aed

9 years agoam d8293d83: am 5b7546a6: Merge "docs: studio 1.2 revision updates" into lmp-docs
Rich Slogar [Thu, 30 Apr 2015 03:28:26 +0000 (03:28 +0000)]
am d8293d83: am 5b7546a6: Merge "docs: studio 1.2 revision updates" into lmp-docs

* commit 'd8293d837e50a8aaf8b365ee08f96e9d5ce26625':
  docs: studio 1.2 revision updates

9 years agoam c15736b9: am c2e2c7d5: Merge "docs: Minor formatting cleanup." into lmp-mr1-ub...
Andrew Solovay [Thu, 30 Apr 2015 03:14:13 +0000 (03:14 +0000)]
am c15736b9: am c2e2c7d5: Merge "docs: Minor formatting cleanup." into lmp-mr1-ub-docs

* commit 'c15736b95d61033f03b1446371315bfa46252aaf':
  docs: Minor formatting cleanup.

9 years agoam c2e2c7d5: Merge "docs: Minor formatting cleanup." into lmp-mr1-ub-docs
Andrew Solovay [Thu, 30 Apr 2015 02:58:08 +0000 (02:58 +0000)]
am c2e2c7d5: Merge "docs: Minor formatting cleanup." into lmp-mr1-ub-docs

* commit 'c2e2c7d5f5b8bf699d7177a4dc7694719323fd87':
  docs: Minor formatting cleanup.

9 years agoam 5b7546a6: Merge "docs: studio 1.2 revision updates" into lmp-docs
Rich Slogar [Thu, 30 Apr 2015 02:57:38 +0000 (02:57 +0000)]
am 5b7546a6: Merge "docs: studio 1.2 revision updates" into lmp-docs

* commit '5b7546a67b5fef2adab70d95da4879381b9b0e92':
  docs: studio 1.2 revision updates

9 years agoMerge "Enable per-use user authenticated keys to be used." into mnc-dev
Alex Klyubin [Thu, 30 Apr 2015 02:46:29 +0000 (02:46 +0000)]
Merge "Enable per-use user authenticated keys to be used." into mnc-dev

9 years agoMerge "docs: studio 1.2 revision updates" into lmp-docs
Rich Slogar [Thu, 30 Apr 2015 02:39:25 +0000 (02:39 +0000)]
Merge "docs: studio 1.2 revision updates" into lmp-docs

9 years agoMerge "docs: Minor formatting cleanup." into lmp-mr1-ub-docs
Andrew Solovay [Thu, 30 Apr 2015 02:27:00 +0000 (02:27 +0000)]
Merge "docs: Minor formatting cleanup." into lmp-mr1-ub-docs

9 years agoEnable per-use user authenticated keys to be used.
Alex Klyubin [Thu, 30 Apr 2015 00:32:00 +0000 (17:32 -0700)]
Enable per-use user authenticated keys to be used.

This makes symmetric Cipher and Mac implementations backed by
AndroidKeyStore succeed in their initialization when the key is
configured to require user authentication for every use. Users
of such keys should obtain an instance of Cipher or Mac, initialize
it with the key, and then authorize the operation by passing this
Cipher or Mac instance to FingerprintManager.authenticate.

Bug: 18088752
Change-Id: Ia15a1e5f8274c3623f665dae1f400ff539639ab1

9 years agoMerge changes I99f9f9ff,I559b5c56 into mnc-dev
Miao Wang [Thu, 30 Apr 2015 02:20:43 +0000 (02:20 +0000)]
Merge changes I99f9f9ff,I559b5c56 into mnc-dev

* changes:
  [RenderScript] L2 BLAS, fix element type in ZHER
  [RenderScript] fixes for L3 BLAS APIs

9 years agodocs: studio 1.2 revision updates
Rich Slogar [Thu, 19 Mar 2015 00:33:23 +0000 (17:33 -0700)]
docs: studio 1.2 revision updates

Change-Id: I3bf392596d418b3bba63bbcc09663f2d3f4d6e2a

9 years agoAdd javax.crypto.Mac as a supported CryptoObject to Fingerprint
Jim Miller [Wed, 29 Apr 2015 03:05:53 +0000 (20:05 -0700)]
Add javax.crypto.Mac as a supported CryptoObject to Fingerprint

Fixes bug 20660180

Change-Id: I421c246ef776847835ede4be1d72721c35cf951c
(cherry picked from commit 0ecd5c20d93c24251975f3ff7cb0494039e5ea20)

9 years ago[RenderScript] L2 BLAS, fix element type in ZHER
Miao Wang [Thu, 30 Apr 2015 01:14:55 +0000 (18:14 -0700)]
[RenderScript] L2 BLAS, fix element type in ZHER

Change-Id: I99f9f9ff8942522d6581ff60b9a2d75e33e66ff6

9 years agoMerge "Add permission to ap op mappings for all runtime permissions." into mnc-dev
Svet Ganov [Thu, 30 Apr 2015 00:41:38 +0000 (00:41 +0000)]
Merge "Add permission to ap op mappings for all runtime permissions." into mnc-dev

9 years agoMerge "Returning to wizard, split move events." into mnc-dev
Jeff Sharkey [Thu, 30 Apr 2015 00:38:30 +0000 (00:38 +0000)]
Merge "Returning to wizard, split move events." into mnc-dev

9 years agoMerge "Check for null codec from AMediaCodec_createDecoderByType" into mnc-dev
Andy Hung [Thu, 30 Apr 2015 00:37:57 +0000 (00:37 +0000)]
Merge "Check for null codec from AMediaCodec_createDecoderByType" into mnc-dev

9 years agoAdd permission to ap op mappings for all runtime permissions.
Svet Ganov [Thu, 30 Apr 2015 00:35:19 +0000 (17:35 -0700)]
Add permission to ap op mappings for all runtime permissions.

Change-Id: I1b41fac9405352f135b3d0137cc924ce51388e1e

9 years agoReturning to wizard, split move events.
Jeff Sharkey [Wed, 29 Apr 2015 18:24:52 +0000 (11:24 -0700)]
Returning to wizard, split move events.

Finish wiring up notifications to jump back into in-progress wizard
flow, using moveId as identifier.

Split move events back into separate creation and progress events,
and pass details as bundle to pass extra stuff like UUID.  Null
package still means moving primary storage.

Add explicit "volume forgotten" event for PackageManager to clean
up internal state with.

Plumb through internal path reported by vold, and bring back FUSE
bypass rewriting optimization.

Bug: 19993667
Change-Id: I0f43edbba36c58c5cd33550022c54c4eb9f01a48

9 years agoMerge "MidiFramer: Support realtime messages contained within SysEx messages." into...
Mike Lockwood [Thu, 30 Apr 2015 00:14:25 +0000 (00:14 +0000)]
Merge "MidiFramer: Support realtime messages contained within SysEx messages." into mnc-dev

9 years agoMerge "Update use of procstate for services." into mnc-dev
Dianne Hackborn [Thu, 30 Apr 2015 00:08:44 +0000 (00:08 +0000)]
Merge "Update use of procstate for services." into mnc-dev

9 years agoMerge "[RenderScript] Enable L2 BLAS APIs" into mnc-dev
Miao Wang [Thu, 30 Apr 2015 00:07:29 +0000 (00:07 +0000)]
Merge "[RenderScript] Enable L2 BLAS APIs" into mnc-dev

9 years agoMerge "[RenderScript] improve & minor fixes of L2 BLAS validation." into mnc-dev
Miao Wang [Thu, 30 Apr 2015 00:06:35 +0000 (00:06 +0000)]
Merge "[RenderScript] improve & minor fixes of L2 BLAS validation." into mnc-dev

9 years agoUpdate use of procstate for services.
Dianne Hackborn [Fri, 24 Apr 2015 16:54:54 +0000 (09:54 -0700)]
Update use of procstate for services.

Now that we have a separate foreground service proc state
(above a sleeping top app), update various system services
to put their bindings into this state when appropriate.

There are two new bind flags for this -- one that just always
makes it a foreground service, another that only does it when
the device is awake (useful for things like the wallpaper).

And with all of that, tweak network policy manager to only
include apps that are at least foreground service state when
in power save and device idle modes.  This will allow us to
further reduce the set of apps that have network access
(in particular not giving access to the current top app when
the screen is off), hopefully leading to even better battery
life.

Change-Id: I91d85a5c5ed64e856149e9a5d94a634a7925ec7f

9 years agoMerge "[RenderScript] Fix HEMM and SYRK in IntrinscBLAS to correctly handle complex...
Miao Wang [Thu, 30 Apr 2015 00:04:11 +0000 (00:04 +0000)]
Merge "[RenderScript] Fix HEMM and SYRK in IntrinscBLAS to correctly handle complex 'Alpha' and 'Beta'" into mnc-dev

9 years ago[RenderScript] fixes for L3 BLAS APIs
Miao Wang [Fri, 24 Apr 2015 18:19:53 +0000 (11:19 -0700)]
[RenderScript] fixes for L3 BLAS APIs

  - Typo for validateUplo
  - Typo in ZHEMM, element should be FLOAT64_2.
  - For GEMM and SYMM, SYRK, 'CONJ_TRANSPOSE' should also be handled in the
    validation process.
  - For SYMM, check matrix A is symmetric.
  - For HERK, the dimension validation was switched for Transpose case.
    Also, only Conj Trans is allowed in this case.
  - FOR SYR2K, fix the dimension check for Matrix C.
  - For TRMM & TRSM, fix the validation part for dimension check.

Change-Id: I559b5c5695aa82604de2955ae2327b694236d3ed

9 years agoMerge "Stash modulation alpha until ColorStateList has resolved base color" into...
Alan Viverette [Wed, 29 Apr 2015 23:53:18 +0000 (23:53 +0000)]
Merge "Stash modulation alpha until ColorStateList has resolved base color" into mnc-dev

9 years agoMerge changes from topic 'PasspointUI' into mnc-dev
Vinit Deshpande [Wed, 29 Apr 2015 23:51:55 +0000 (23:51 +0000)]
Merge changes from topic 'PasspointUI' into mnc-dev

* changes:
  Implement 'Available via Passpoint' feature [DO NOT MERGE]
  Fix settings UI for passpoint networks [DO NOT MERGE]

9 years agoMerge "Pass PlaybackSettings as class object for AudioTrack JNI" into mnc-dev
Andy Hung [Wed, 29 Apr 2015 23:50:44 +0000 (23:50 +0000)]
Merge "Pass PlaybackSettings as class object for AudioTrack JNI" into mnc-dev

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 agoImplement 'Available via Passpoint' feature [DO NOT MERGE]
Vinit Deshpande [Thu, 16 Apr 2015 01:32:09 +0000 (18:32 -0700)]
Implement 'Available via Passpoint' feature [DO NOT MERGE]

This also fixes the issues related to explicit connection
to passpoint AP, and fixes occassional mention of
'connected via Wi-Fi Assistent'

Change-Id: I152cebafa6259194f1d09a6972a3508156335cb6
(cherry picked from commit ff783cd6cfc82870a6126fe1ef019d21131423fc)

9 years agoFix settings UI for passpoint networks [DO NOT MERGE]
Vinit Deshpande [Thu, 16 Apr 2015 01:10:55 +0000 (18:10 -0700)]
Fix settings UI for passpoint networks [DO NOT MERGE]

This change includes showing the friendly name in saved
networks list and 'Connected via provider' addition for
passpoint connections.

Change-Id: If330baa96dedb099d5989b3df5b9778bbbcb15e3
(cherry picked from commit 597f49cdda63fef1b583e2053341485e8d4e2371)

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 agoStash modulation alpha until ColorStateList has resolved base color
Alan Viverette [Wed, 29 Apr 2015 22:36:11 +0000 (15:36 -0700)]
Stash modulation alpha until ColorStateList has resolved base color

Fixes an issue where specifying an explicit modulation alpha and a
theme-dependent base color discarded the modulation alpha during
applyTheme().

Sets the YOU MESSED UP YOUR THEME color to magenta, which matches the
behavior for RippleDrawable and should expose any remaining issues in
a painfully obvious way.

Bug: 20690409
Change-Id: I7a44f4bc4a5a85be6d3f27087b2d6c9ea12e1d29

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 agodocs: Minor formatting cleanup.
Andrew Solovay [Wed, 29 Apr 2015 21:37:22 +0000 (14:37 -0700)]
docs: Minor formatting cleanup.

Code sample had an overlong line, which caused a horizontal scroll-
bar in the generated doc.

Change-Id: I55b0318049be9e4ff473bdc739bb8265ca2da248

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 agoCheck for null codec from AMediaCodec_createDecoderByType
Andy Hung [Wed, 29 Apr 2015 01:43:03 +0000 (18:43 -0700)]
Check for null codec from AMediaCodec_createDecoderByType

NULL codec can now occur if codec cannot be created.

Bug: 20566134
Change-Id: I08d54e733a01d0614313673dc49a6f5e702633ac

9 years agoPass PlaybackSettings as class object for AudioTrack JNI
Andy Hung [Tue, 28 Apr 2015 01:14:02 +0000 (18:14 -0700)]
Pass PlaybackSettings as class object for AudioTrack JNI

Change-Id: Ic7fb5f84ed1fc4cc2286e5c207fee5298a64a5a4

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