OSDN Git Service

android-x86/frameworks-base.git
9 years agoAdd default dialer checks to Telecom/Telephony
Yorke Lee [Wed, 29 Apr 2015 23:16:50 +0000 (16:16 -0700)]
Add default dialer checks to Telecom/Telephony

Check for the default dialer or the modify phone state permission
for various TelecomManager/TelephonyManager methods.

Make sure to check the user-selected default rather than the
hardcoded package name.

Exercise this code in TestDialerActivity.

Bug: 20304458
Change-Id: Ic04cd8f2ba98e1d54c39549ae89d3e11cd5cdafb

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 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 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 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 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

9 years agoMerge "Fix a bug when constructing a ChooserTargetAdapter without custom targets...
Adam Powell [Tue, 28 Apr 2015 22:59:57 +0000 (22:59 +0000)]
Merge "Fix a bug when constructing a ChooserTargetAdapter without custom targets" into mnc-dev

9 years agoAdd OP_AUTH_NEEDED KeyStore result code
Chad Brubaker [Fri, 24 Apr 2015 17:32:18 +0000 (10:32 -0700)]
Add OP_AUTH_NEEDED KeyStore result code

OP_AUTH_NEEDED will be returned from begin when an operation needs
a per operation authentication before calling update. Note that the
begin call succeeds when this error is returned, the token and handle
are valid.

(cherry picked from commit dabe520a3e6b0d0c40adfd748483fa336c43c366)

Change-Id: I0ba4e997360843b5eb6c1db9c5fcd1c4d5a2c717

9 years agoMerge "Rename windowLightStatusBar" into mnc-dev
Adrian Roos [Tue, 28 Apr 2015 22:44:57 +0000 (22:44 +0000)]
Merge "Rename windowLightStatusBar" into mnc-dev

9 years agoGive scheduled jobs a more substantial timeslice
Christopher Tate [Tue, 28 Apr 2015 22:43:44 +0000 (15:43 -0700)]
Give scheduled jobs a more substantial timeslice

One minute turns out to be quite limiting in practice, and we still
shut them down summarily when their run constraints become unsatisfied,
so widen the window to 10 minutes.

Bug 20143368

Change-Id: I2aba521f65b94e9fb8d519b0492625d35aaba267

9 years agoFix a bug when constructing a ChooserTargetAdapter without custom
Adam Powell [Tue, 28 Apr 2015 22:41:46 +0000 (15:41 -0700)]
Fix a bug when constructing a ChooserTargetAdapter without custom
targets

Bug 20667333

Change-Id: Ia35021d12c00f64f5424588f776d79e18e8d518e

9 years agoMerge "Fix PackageManagerSettingsTests and add KeySet info." into mnc-dev
dcashman [Tue, 28 Apr 2015 22:25:47 +0000 (22:25 +0000)]
Merge "Fix PackageManagerSettingsTests and add KeySet info." into mnc-dev

9 years agoMerge changes from topic 'roosa-lpu' into mnc-dev
Adrian Roos [Tue, 28 Apr 2015 22:09:35 +0000 (22:09 +0000)]
Merge changes from topic 'roosa-lpu' into mnc-dev

* changes:
  Remove LockPatternUtils.getCurrentUser()
  Require explicit userId in LockPatternUtils

9 years agoFix PackageManagerSettingsTests and add KeySet info.
dcashman [Mon, 27 Apr 2015 21:02:49 +0000 (14:02 -0700)]
Fix PackageManagerSettingsTests and add KeySet info.

Add unit tests for the keyset portion of packages.xml.  Also fix previously
broken test by adding UserManagerService reference.

Bug: 19530911
Bug: 19530120
Change-Id: I251fc3e9dc983f1d63f9e84905d3ed0e64843def

9 years agoMerge "Use default constructor to get anti-aliasing" into mnc-dev
Chris Craik [Tue, 28 Apr 2015 22:06:16 +0000 (22:06 +0000)]
Merge "Use default constructor to get anti-aliasing" into mnc-dev

9 years agoMerge "Remove unused flags and dirty rects" into mnc-dev
Chris Craik [Tue, 28 Apr 2015 21:39:48 +0000 (21:39 +0000)]
Merge "Remove unused flags and dirty rects" into mnc-dev

9 years agoPermissions control via profile/device owner admin
Amith Yamasani [Tue, 28 Apr 2015 21:00:26 +0000 (14:00 -0700)]
Permissions control via profile/device owner admin

Profile owners and Device owners can set policies for runtime
permissions. Blanket grant/deny policy can be set for a user.
They can also explicitly grant/revoke permissions for specific apps
which cannot be overridden by the user and will not be prompted.

[More implementation required in PackageManagerService and
 PackageInstaller]

Bug: 20666663
Change-Id: I2c25c18c2a195db9023a17716d5896970848bb45

9 years agoMerge "Make sure Transition constructor is accessible before invoking" into mnc-dev
Tony Mantler [Tue, 28 Apr 2015 21:26:31 +0000 (21:26 +0000)]
Merge "Make sure Transition constructor is accessible before invoking" into mnc-dev

9 years agoMake sure Transition constructor is accessible before invoking
Tony Mantler [Tue, 28 Apr 2015 21:17:06 +0000 (14:17 -0700)]
Make sure Transition constructor is accessible before invoking

b/20666031

Change-Id: Ief519ac00aed8ce84cbc852025f91cc03da90c55

9 years agoam 4e7500e1: am c1609dc0: docs: Update information on delivering message to clarify...
Luan Nguyen [Tue, 28 Apr 2015 21:09:22 +0000 (21:09 +0000)]
am 4e7500e1: am c1609dc0: docs: Update information on delivering message to clarify that MessageAPI is not reliable.

* commit '4e7500e10cf10eb697bb3e916bf705b9db470c8f':
  docs: Update information on delivering message to clarify that MessageAPI is not reliable.

9 years agoam a4edc82e: am 4547dac0: Fix one-off error in reporting.
Joshua Schwarz [Tue, 28 Apr 2015 21:09:13 +0000 (21:09 +0000)]
am a4edc82e: am 4547dac0: Fix one-off error in reporting.

* commit 'a4edc82e9b50189b187996e8c4f4e851bdf83893':
  Fix one-off error in reporting.

9 years agoFix DatePicker max date, disabled day color, and arrow visibility
Alan Viverette [Tue, 28 Apr 2015 21:07:36 +0000 (14:07 -0700)]
Fix DatePicker max date, disabled day color, and arrow visibility

Day validation moved from the PagerAdapter to the DayPickerView,
which is widget that actually handles the touch interaction and
disabled state for individual days.

Fixed disabled states for primary and secondary activated text
colors. Replaced old light/dark color state lists with themed
versions.

Removed conflicting view visibility changes for managing next and
previous arrows in DayPickerView.

Bug: 20630417
Bug: 20641013
Bug: 20641879
Change-Id: Icdaf02a3b57ec162169c31b8a27ebea908552321

9 years agoOnly listen for fingerprint if needed.
Jorim Jaggi [Tue, 28 Apr 2015 20:45:11 +0000 (13:45 -0700)]
Only listen for fingerprint if needed.

Clean up fingerprint listening lifecycle. Only listen for fingerprint
if both screen is turned on and Keyguard is actually showing
(not occluded).

Change-Id: I169ce9df308b96487ed9dc5c8ad8f1c301f2ef93

9 years agoRename windowLightStatusBar
Adrian Roos [Tue, 28 Apr 2015 20:44:43 +0000 (13:44 -0700)]
Rename windowLightStatusBar

Bug: 20642760
Change-Id: If961c758bb034ff9643d7b06a2baafe7307f4051

9 years agoam c1609dc0: docs: Update information on delivering message to clarify that MessageAP...
Luan Nguyen [Tue, 28 Apr 2015 20:39:14 +0000 (20:39 +0000)]
am c1609dc0: docs: Update information on delivering message to clarify that MessageAPI is not reliable.

* commit 'c1609dc0b25c3143ae8d74bc44fb36873b7d289c':
  docs: Update information on delivering message to clarify that MessageAPI is not reliable.

9 years agoMerge "Notify client of all window movements." into mnc-dev
Craig Mautner [Tue, 28 Apr 2015 20:33:46 +0000 (20:33 +0000)]
Merge "Notify client of all window movements." into mnc-dev

9 years agoAdd animation for fingerprint error state
Jorim Jaggi [Tue, 28 Apr 2015 20:27:12 +0000 (13:27 -0700)]
Add animation for fingerprint error state

- Put lock icon logic in a separate class.
- Add animation when switching between fingerprint scanning and
fingerprint error.

Change-Id: I87c3f101d645a990d5397b82a797c9ee40a63da2

9 years agoRemove View:hasStaticLayer()
John Reck [Tue, 28 Apr 2015 20:18:52 +0000 (13:18 -0700)]
Remove View:hasStaticLayer()

Bug: 19113169
Change-Id: I81286db45eecc92c0adf04a5983b752bf3290d45

9 years agoMerge "Camera2: Fix auto-gen documentation crossreferences." into mnc-dev
Eino-Ville Talvala [Tue, 28 Apr 2015 20:01:50 +0000 (20:01 +0000)]
Merge "Camera2: Fix auto-gen documentation crossreferences." into mnc-dev

9 years agoMerge "Layout layers without intrinsic dimensions using FILL gravity" into mnc-dev
Alan Viverette [Tue, 28 Apr 2015 19:51:43 +0000 (19:51 +0000)]
Merge "Layout layers without intrinsic dimensions using FILL gravity" into mnc-dev

9 years agoAdd SystemApis in GpsMeasurements APIs to reflect changes in GPS HAL.
destradaa [Wed, 15 Apr 2015 23:14:57 +0000 (16:14 -0700)]
Add SystemApis in GpsMeasurements APIs to reflect changes in GPS HAL.
b/19938206

Change-Id: I91fd65b29e091b600ee4982a16321308e4d55aef

9 years agoCamera2: Fix auto-gen documentation crossreferences.
Eino-Ville Talvala [Thu, 16 Apr 2015 23:39:45 +0000 (16:39 -0700)]
Camera2: Fix auto-gen documentation crossreferences.

Also update a few outdated notes.

Bug: 20085848
Change-Id: I1aace2152ee937c6c6a4701af999722fdc2e3da7

9 years agoMerge "MidiFramer: Add support for SysEx messages" into mnc-dev
Mike Lockwood [Tue, 28 Apr 2015 19:36:27 +0000 (19:36 +0000)]
Merge "MidiFramer: Add support for SysEx messages" into mnc-dev

9 years agoMidiFramer: Add support for SysEx messages
Mike Lockwood [Tue, 28 Apr 2015 18:03:38 +0000 (11:03 -0700)]
MidiFramer: Add support for SysEx messages

Change-Id: I15a605029a0e89fa75c57f180a5a951ada88461c

9 years agoMerge "Simplify DefaultDialerManager" into mnc-dev
Yorke Lee [Tue, 28 Apr 2015 18:57:45 +0000 (18:57 +0000)]
Merge "Simplify DefaultDialerManager" into mnc-dev

9 years agoUse default constructor to get anti-aliasing
Chris Craik [Tue, 28 Apr 2015 18:49:27 +0000 (11:49 -0700)]
Use default constructor to get anti-aliasing

Change-Id: I3e078a3bc91a2fd703984ba18b5e7e98069b32f1

9 years agoRemove LockPatternUtils.getCurrentUser()
Adrian Roos [Fri, 17 Apr 2015 02:31:29 +0000 (19:31 -0700)]
Remove LockPatternUtils.getCurrentUser()

Bug: 18931518
Change-Id: I177eefe466c12217cf64c85b872f71bc23c7bf05

9 years agoRequire explicit userId in LockPatternUtils
Adrian Roos [Fri, 17 Apr 2015 00:11:20 +0000 (17:11 -0700)]
Require explicit userId in LockPatternUtils

Bug: 18931518
Change-Id: Ib03f37df9135f0324a998c62d165d8eea46328c8

9 years agodocs: Update information on delivering message to clarify that
Luan Nguyen [Tue, 28 Apr 2015 18:36:42 +0000 (11:36 -0700)]
docs: Update information on delivering message to clarify that
MessageAPI is not reliable.

bug: 20088602
Change-Id: I2244598e5a155bc6e477d367287b8683ebdf019f

9 years agoSimplify DefaultDialerManager
Yorke Lee [Tue, 28 Apr 2015 16:39:20 +0000 (09:39 -0700)]
Simplify DefaultDialerManager

The previous code worked with ComponentNames because it was
based off existing code for the default SMS application.
We only really need the package name however, so simplify the
code by storing and retrieving the package name directly.

Bug: 20304458
Change-Id: Icabd3a9f0f8166c105360494b601160d13767fad

9 years agoam 4547dac0: Fix one-off error in reporting.
Joshua Schwarz [Tue, 28 Apr 2015 18:28:18 +0000 (18:28 +0000)]
am 4547dac0: Fix one-off error in reporting.

* commit '4547dac01f3136393cc708bb49ff546413a45d6c':
  Fix one-off error in reporting.