190266 Commits

Author SHA1 Message Date
Xiyuan Xia
19be9d31c8 Merge "Update bottom area alpha when stack height changes" into mnc-dev 2015-04-29 15:46:24 +00:00
Svet Ganov
fbf01f7796 Add API to get app op for a permission
Change-Id: Id75d8fca6654c694fb78d1b4a3564b01e90a4e78
2015-04-29 08:30:48 -07:00
John Reck
b77a755112 Merge "Remove View:hasStaticLayer()" into mnc-dev 2015-04-29 14:48:28 +00:00
Geoff Mendal
e1b43ee918 Merge "Import translations. DO NOT MERGE" into mnc-dev 2015-04-29 14:18:41 +00:00
Geoff Mendal
3f4e8c74df Import translations. DO NOT MERGE
Change-Id: Icf8a8e3bc6d5a88293a6954c35e766ac8c494a4d
Auto-generated-cl: translation import
2015-04-29 07:18:14 -07:00
Geoff Mendal
62cb506f27 Merge "Import translations. DO NOT MERGE" into mnc-dev 2015-04-29 14:08:26 +00:00
Geoff Mendal
b312f926f6 Import translations. DO NOT MERGE
Change-Id: Ied1d50de849ab195e9f3c9e70c0f8e8dbf9104fe
Auto-generated-cl: translation import
2015-04-29 07:03:31 -07:00
John Spurlock
8dbcda1b33 Merge "Volume: Simple dialog footer, DND in quick settings." into mnc-dev 2015-04-29 14:02:52 +00:00
John Spurlock
d9c75dba75 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
2015-04-29 09:58:38 -04:00
Nicolas Prevot
1c4a44e577 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
2015-04-29 11:10:19 +00:00
Benjamin Franz
c4aa3c781a Merge "Add status bar flag to disable quick settings" into mnc-dev 2015-04-29 08:36:00 +00:00
Dongwon Kang
25466e0a8f Merge "TIF: throw an exception if an operation takes too long." into mnc-dev 2015-04-29 05:34:26 +00:00
Dongwon Kang
21add3ecc9 TIF: throw an exception if an operation takes too long.
Bug: 19383373
Change-Id: I915f77af3ab12d10810fd85e55d7d5c5da3d6136
2015-04-29 14:33:24 +09:00
Jeff Sharkey
b42d694691 Method to wipe all adoptable disks.
Will be used by various classes doing factory reset.

Bug: 9433509
Change-Id: I0701abe00abc2fb9085ce1ffe6e28fb27c91ab51
2015-04-28 22:25:26 -07:00
Jeff Sharkey
b36586a7c9 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: 20275424, 20275424
Change-Id: I75602c17fdcd4d1f1f62324e1a08c4a33093eefa
2015-04-28 22:02:36 -07:00
David Friedman
30565ed225 am a39e4d37: am 77ad81b5: am ff1bfac6: am c637af9e: am 75f071df: Merge "Localized Android landing pages Bug: 19124242" into lmp-docs
* commit 'a39e4d3716a10e84acbfc0813745ee4303f1edb2':
2015-04-29 04:05:47 +00:00
David Friedman
16bf47e8d6 am 3d983dea: am 21a9fa47: am 75f071df: Merge "Localized Android landing pages Bug: 19124242" into lmp-docs
* commit '3d983deace20df9437bc9efebc67550f3904eee3':
  Localized Android landing pages Bug: 19124242
2015-04-29 03:51:39 +00:00
David Friedman
a39e4d3716 am 77ad81b5: am ff1bfac6: am c637af9e: am 75f071df: Merge "Localized Android landing pages Bug: 19124242" into lmp-docs
* commit '77ad81b5301bfbf1691bdad203dd70ce68ce40b3':
2015-04-29 03:48:52 +00:00
David Friedman
77ad81b530 am ff1bfac6: am c637af9e: am 75f071df: Merge "Localized Android landing pages Bug: 19124242" into lmp-docs
* commit 'ff1bfac68b977f577d537172d87daa5c816be3b7':
  Localized Android landing pages Bug: 19124242
2015-04-29 03:25:38 +00:00
David Friedman
3d983deace am 21a9fa47: am 75f071df: Merge "Localized Android landing pages Bug: 19124242" into lmp-docs
* commit '21a9fa471bcc57196a19e40ca29dbaa97233244c':
  Localized Android landing pages Bug: 19124242
2015-04-29 03:25:15 +00:00
David Friedman
ff1bfac68b am c637af9e: am 75f071df: Merge "Localized Android landing pages Bug: 19124242" into lmp-docs
* commit 'c637af9eee48334e6d8d65428734c8928e9bac55':
  Localized Android landing pages Bug: 19124242
2015-04-29 03:13:59 +00:00
David Friedman
21a9fa471b am 75f071df: Merge "Localized Android landing pages Bug: 19124242" into lmp-docs
* commit '75f071df44d3231f2f9d2616277b9065e1dedc12':
  Localized Android landing pages Bug: 19124242
2015-04-29 03:01:57 +00:00
David Friedman
c637af9eee am 75f071df: Merge "Localized Android landing pages Bug: 19124242" into lmp-docs
* commit '75f071df44d3231f2f9d2616277b9065e1dedc12':
  Localized Android landing pages Bug: 19124242
2015-04-29 03:01:10 +00:00
David Friedman
75f071df44 Merge "Localized Android landing pages Bug: 19124242" into lmp-docs 2015-04-29 02:49:24 +00:00
Alex Klyubin
0838084a3c Merge "Align AndroidKeyStore API with user auth API." into mnc-dev 2015-04-29 01:25:32 +00:00
Jeff Brown
b957a742b2 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.
2015-04-29 01:18:05 +00:00
Jeff Brown
a576b4d3be 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
2015-04-28 17:53:35 -07:00
Jeff Brown
e7e9ccea32 Add float support to binary event log.
Bug: 20664753
Change-Id: I90456400b878f943e39cbddec45649662176e2aa
2015-04-28 17:53:32 -07:00
Chris Craik
8df5ffa9ae Remove concept of layer alpha override
bug:19412691
Change-Id: I9e150fe4a1b2c0cf140519a33c02fd4771ef1c50
2015-04-28 17:47:20 -07:00
Fabrice Di Meglio
46fc110104 Merge "Use Default Browser App for IntentResolution when needed" into mnc-dev 2015-04-29 00:42:43 +00:00
Alex Klyubin
1eda77ae21 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
2015-04-28 17:39:30 -07:00
Fabrice Di Meglio
9f7e39fc9d 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
2015-04-28 17:37:18 -07:00
Alan Viverette
6437518061 Adjust display inversion matrix to account for luminance
Bug: 20346301
Change-Id: I10633705f2bfddbdeec063f9489a4f8679b9e8ee
2015-04-28 17:30:04 -07:00
Christopher Tate
d6db7eacc9 Merge "Don't ostensibly back off fstrim but then do it anyway" into mnc-dev 2015-04-29 00:22:30 +00:00
Amith Yamasani
7c97a3ddea Merge "Permissions control via profile/device owner admin" into mnc-dev 2015-04-29 00:17:00 +00:00
Christopher Tate
7618db1038 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
2015-04-28 17:15:40 -07:00
Chris Craik
7ebc0eb243 Unify View alpha implies clipping behavior
bug:20254728

Change-Id: If472adf7c75ca9ccfeb0d22e005c1215aacfb80f
2015-04-28 17:14:49 -07:00
Simranjit Singh Kohli
1f1b88b22b Merge "AccountsDb Logging]: Introducing logging in accountsDb." into mnc-dev 2015-04-29 00:12:29 +00:00
Mathieu Chartier
325a57218e Merge "Properly describe exception" into mnc-dev 2015-04-28 23:47:26 +00:00
Mathieu Chartier
876b7d8fa8 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
2015-04-28 16:46:59 -07:00
Alan Viverette
e861c8eb63 Merge "Fix DatePicker max date, disabled day color, and arrow visibility" into mnc-dev 2015-04-28 23:39:23 +00:00
Wale Ogunwale
b1c9539d3f Merge "@hide resizeableActivity attribute and remove from public api" into mnc-dev 2015-04-28 23:38:56 +00:00
Wale Ogunwale
a20943188c @hide resizeableActivity attribute and remove from public api
The world is not ready for it ;)

Bug: 20643000
Change-Id: Ia1fbf0450ded8afbd7d876ef2e5ec4eaccb8e6ac
2015-04-28 16:37:19 -07:00
Svet Ganov
fa5ecdc4ac Respect the record audio app op - framework
Change-Id: I5696d2ef22738ccffaf8bd7a0ee68cbc3dea3bf1
2015-04-28 16:31:58 -07:00
Xiyuan Xia
b3a6f1e96d 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
2015-04-28 23:30:33 +00:00
Jorim Jaggi
b3a020a6de Merge "Fix build." into mnc-dev 2015-04-28 23:29:41 +00:00
Jorim Jaggi
582b57f984 Fix build.
Change-Id: Ieebcab9eb6588afc560179103d78ad4011fe152c
2015-04-28 16:28:26 -07:00
Selim Cinek
61a7542364 Merge "Follow up CL for heads up notification refactoring" into mnc-dev 2015-04-28 23:27:58 +00:00
Selim Cinek
684a442b81 Follow up CL for heads up notification refactoring
Change-Id: Iaf286dfd30a86d3d7d6dd947d3c10ac9eb8c2b1e
2015-04-28 16:24:40 -07:00
Yorke Lee
f7143ce657 Merge "Make BIND_INCALL_SERVICE and BIND_CONNECTION_SERVICE public" into mnc-dev 2015-04-28 23:22:32 +00:00