OSDN Git Service
Alan Viverette [Thu, 30 Jul 2015 14:50:07 +0000 (14:50 +0000)]
Merge "Move padding from navigation and overflow icons to Toolbar" into mnc-dev
Alan Viverette [Thu, 30 Jul 2015 14:17:39 +0000 (10:17 -0400)]
Move padding from navigation and overflow icons to Toolbar
Also removes unused default_padding_material dimension.
Bug:
18482784
Change-Id: If294f61391bc76034feb8222d74f40d6b29857c5
Jim Miller [Fri, 17 Jul 2015 21:11:56 +0000 (14:11 -0700)]
Don't call cancel() when fingerprint auth fails
KeyguardUpdateMonitor should not call cancel() when fingerprint
auth fails. The life cycle will continue until an actual error
occurs or the maximum number of retries is reached.
Fixes bug
22562277
Change-Id: I36291d025de9c049cc7f7924f692c8c21349bb7b
Daniel Sandler [Thu, 30 Jul 2015 02:57:06 +0000 (02:57 +0000)]
Merge changes from topic 'fix-media-notifications' into mnc-dev
* changes:
Fully support Icons in Notification actions.
Fix media notification action icons.
Paul Jensen [Thu, 30 Jul 2015 02:10:50 +0000 (02:10 +0000)]
Merge "Fix missing onLost NetworkCallbacks when network loses capability" into mnc-dev
Dianne Hackborn [Thu, 30 Jul 2015 01:32:09 +0000 (01:32 +0000)]
Merge "More maybe fix issue #
22765972: Binder transactions running out..." into mnc-dev
Dianne Hackborn [Thu, 30 Jul 2015 00:58:33 +0000 (17:58 -0700)]
More maybe fix issue #
22765972: Binder transactions running out...
...of address space causing package manager to fail
Make sure to flush binder commands when done with an async task.
Change-Id: I9f171add7051587ab854226b97a12c7e1844ad5d
Jason Monk [Thu, 30 Jul 2015 00:32:17 +0000 (00:32 +0000)]
Merge "Fix touch target for settings icon" into mnc-dev
Jorim Jaggi [Wed, 29 Jul 2015 21:52:22 +0000 (14:52 -0700)]
Fix state weirdness in the panel
When QS was open while the we started with expansion, we
immediately notified about expansion finsihed again, which led to all
kinds of weird states. The change that introduced these bugs was to
fix another bug in which onExpandingFinished was not call. Make sure
to call in exactly that case and no other case to not risk
regressions.
Bug:
22806817
Bug:
22807359
Bug:
22807372
Change-Id: Id7daf37ef4a772f724971bf79c61084ff4279f31
Jorim Jaggi [Wed, 29 Jul 2015 22:17:23 +0000 (15:17 -0700)]
Fix doze mode
Make sure to reset the keyguard drawn state in the correct place,
so we don't return early in finishKeyguardDrawn() because
mKeyguardDrawComplete is still true.
Bug:
22808662
Change-Id: I7e18e91c412c6cac7fe253837949602f76b7f270
Wale Ogunwale [Wed, 29 Jul 2015 23:41:08 +0000 (23:41 +0000)]
Merge "Fixed out of bounds exception while handling app crash" into mnc-dev
Jorim Jaggi [Wed, 29 Jul 2015 22:46:29 +0000 (15:46 -0700)]
Workaround View.post issues to fix runtime crash
Using View.post was really dangerous because when the view wasn't
attached, it got posted on the run queue of the *calling* thread.
However, that run queue was never executed until power down, and
then it was executed from the PowerManagerService thread, because
that was the calling thread when we posted it. Work around this by
using a solid Handler.
Bug:
22820787
Change-Id: Id60e49e859558993256fae0403236f2e4b6f1075
Wale Ogunwale [Wed, 29 Jul 2015 23:01:50 +0000 (16:01 -0700)]
Fixed out of bounds exception while handling app crash
The current stack we are proccessing can be deleted as part of
the clean-up process, so the size of the stack list is reduced
by one.
Bug:
22822743
Change-Id: I6a6af5d8d811e231f345f01dd2aa4a61510c8d2b
Billy Lau [Wed, 29 Jul 2015 22:42:27 +0000 (22:42 +0000)]
Merge "Bug:
21589105 Rescope WRITE_SETTINGS permission (framework services perm check changes)" into mnc-dev
Ji Yang [Wed, 29 Jul 2015 22:35:30 +0000 (22:35 +0000)]
Merge "Add API to let carrier app send SMS without auto perisisting." into mnc-dev
Billy Lau [Fri, 17 Jul 2015 23:26:58 +0000 (00:26 +0100)]
Bug:
21589105 Rescope WRITE_SETTINGS permission (framework services perm check
changes)
AppOpsManager:
Changed the default operating mode for WRITE_SETTINGS to MODE_DEFAULT from
MODE_ALLOWED.
packages/SettingsProvider:
We no longer do static permission checks for WRITE_SETTINGS in early checks and
defer that to app op when MODE_DEFAULT is returned. For some operations,
checking against WRITE_SECURE_SETTINGS is sufficient.
ActivityManagerService & PowerManagerService:
Incorporated app op checks and handled the MODE_DEFAULT case.
provider/Settings:
Added helper function to do checks on whether app ops protected operations
can be performed by a caller. This includes checks for WRITE_SETTINGS and
SYSTEM_ALERT_WINDOW.
Also added a public API (with javadocs) for apps to query if they can modify
system settings.
Changed the javadocs description for ACTION_MANAGE_WRITE_SETTINGS and
ACTION_MANAGE_OVERLAY_PERMISSION.
Added public API (with javadocs) for apps to query whether they can draw overlays or not,
and also javadocs description on how to use that check.
Change-Id: I7b651fe8af836c2074defdbd6acfec3f32acdbe9
Dan Sandler [Thu, 11 Jun 2015 13:17:07 +0000 (09:17 -0400)]
Accessibility: Read the time correctly in quick settings.
The problem is that, for 12-hour locales, we cut the "a"
part of the time format out to show it in a separate
TextView so it can be animated independently of the actual
time. Unfortunately, while TTS is smart enough to pronounce
"1:15 AM" as /wʌn fɪftin eɪ ɛm/, "AM" on its own looks like
the English word "am" and is pronounced /æm/.
To fix this, a TextClock must be able to accept separate
formats for its content description than its presentation.
With this capability we can place the complete 12-hour time
format (including am/pm) in one of the views and suppress
the other one, so that the utterance creates an identical
experience to visual inspection: "1:15 AM" for all users.
Bug:
21718000
Change-Id: Ic9920d71ae4d4ad41ba86d7bd96f9a19b07e2108
Robert Greenwalt [Wed, 29 Jul 2015 22:00:40 +0000 (22:00 +0000)]
Merge "Revert "DO NOT MERGE Enhance local log."" into mnc-dev
Svetoslav Ganov [Wed, 29 Jul 2015 21:54:13 +0000 (21:54 +0000)]
Merge "Default grants: handle update system packages" into mnc-dev
Adrian Roos [Wed, 29 Jul 2015 21:23:25 +0000 (21:23 +0000)]
Merge "Fix pattern lock for accessibility" into mnc-dev
Adrian Roos [Mon, 27 Jul 2015 20:49:53 +0000 (13:49 -0700)]
Fix pattern lock for accessibility
- remove the content description in Keyguard
- only show virtual views when pattern is in progress
- add a content description when the pattern is not in progress
Bug:
22646748
Change-Id: Id32a37c4c74c82b547cee8861b2856fa0a08c41c
Robert Greenwalt [Wed, 29 Jul 2015 19:12:01 +0000 (19:12 +0000)]
Revert "DO NOT MERGE Enhance local log."
This reverts commit
dd6f8441292d30cc51c1e32bb27fab8dfb791f90.
bug:
22632129
Change-Id: Ibd4b9c35b66cb7d877085bc010fde45a682ba34f
Svetoslav [Wed, 29 Jul 2015 21:00:18 +0000 (14:00 -0700)]
Default grants: handle update system packages
If there is an app on the system image that gets default
grants but it is updated with a version that does not use
all permissions the version on the system image does, we
would wrongly try to grant a permission to the updated app
that it does not request and crash as a result. Now we
default grant permission that are requested by the system
version of the app regardless if it is updated but only if
the system app is not updated or the update also uses these
permissions.
bug:
22800767
Change-Id: Ic22b62ba4976367420a56bdadc8e3824b0b9104f
Alan Viverette [Wed, 29 Jul 2015 20:46:08 +0000 (20:46 +0000)]
Merge "DO NOT MERGE: Don't backup night mode setting" into mnc-dev
Adrian Roos [Wed, 29 Jul 2015 20:39:27 +0000 (20:39 +0000)]
Merge "Fix and deprecate lock pattern related settings" into mnc-dev
Ji Yang [Thu, 23 Jul 2015 17:16:07 +0000 (10:16 -0700)]
Add API to let carrier app send SMS without auto perisisting.
Bug:
22773702
Change-Id: I976a8268ce95fe9fc5bb046ce744a1cddefc8eeb
Alan Viverette [Wed, 29 Jul 2015 20:22:03 +0000 (16:22 -0400)]
DO NOT MERGE: Don't backup night mode setting
Bug:
22824325
Change-Id: I7a244f416e1aa258735eea09858e3c202e8c8945
Jason Monk [Wed, 29 Jul 2015 20:07:39 +0000 (16:07 -0400)]
Fix touch target for settings icon
Bug:
22808656
Change-Id: I92b77b30bfeadc80d060dab67a51d5fcd96268af
Alan Viverette [Wed, 29 Jul 2015 20:02:41 +0000 (20:02 +0000)]
Merge "Ensure maxHeight is at least 0 during measureChildHorizontal()" into mnc-dev
Alan Viverette [Wed, 29 Jul 2015 20:01:52 +0000 (20:01 +0000)]
Merge "Always distribute excess space in LinearLayout measurement" into mnc-dev
Jeff Sharkey [Wed, 29 Jul 2015 19:59:36 +0000 (19:59 +0000)]
Merge "Always return content Uri for downloads." into mnc-dev
Alan Viverette [Wed, 29 Jul 2015 19:55:20 +0000 (15:55 -0400)]
Ensure maxHeight is at least 0 during measureChildHorizontal()
Bug:
22613599
Change-Id: I11f70ed1f7221874bef0f00f006e0ae294c4bdfa
Alan Viverette [Wed, 29 Jul 2015 19:53:53 +0000 (15:53 -0400)]
Always distribute excess space in LinearLayout measurement
Previously, excess space was added to existing measured dimensions.
This consistently resulted in incorrect allocation of excess space,
since the delta already included the height of any measured children
rather than just the excess space itself.
This CL ensures that excess space is always distributed according to the
layout weights.
Bug:
22810327
Change-Id: I482a553c469169769cc40ab3d88b4a44023f3eb5
Raph Levien [Wed, 29 Jul 2015 19:44:21 +0000 (19:44 +0000)]
Merge "Release text when finishing StaticLayout.Builder" into mnc-dev
Raph Levien [Wed, 29 Jul 2015 19:34:13 +0000 (12:34 -0700)]
Release text when finishing StaticLayout.Builder
DynamicLayout reuses a StaticLayout.Builder object to avoid having to
allocate. There is a "finish" method that releases any expensive
internal state of the builder object, but it didn't release a
reference to the text object (which in turn may contain references to
lots of other things, especially if it's a Spannable).
This patch releases the text, as well as a few other arrays, at time
of finish.
Bug:
22822416
Change-Id: Icc8b6cd41a9a2d11689df7bd1b9f524c6524f706
Wale Ogunwale [Wed, 29 Jul 2015 19:11:44 +0000 (19:11 +0000)]
Merge "Added stack id to TaskRecord dump." into mnc-dev
Roshan Pius [Wed, 29 Jul 2015 18:54:04 +0000 (18:54 +0000)]
Merge "Add a command to register SIM Phone account." into mnc-dev
Wale Ogunwale [Wed, 29 Jul 2015 18:38:01 +0000 (11:38 -0700)]
Added stack id to TaskRecord dump.
Bug:
22812470
Change-Id: Ic8f3550e61ad1cf175423abe900c5f60686338a2
Maurice Lam [Wed, 29 Jul 2015 18:25:16 +0000 (18:25 +0000)]
Merge "Disable launching assist during setup" into mnc-dev
Dan Sandler [Wed, 29 Jul 2015 02:49:30 +0000 (22:49 -0400)]
Fully support Icons in Notification actions.
RemoteViews now allows Icons as TextView compound
drawables in RemoteViews, but not yet as public API.
Bug:
22600607
Change-Id: I986a0ce3bede09746f0b121884184679f39a79f5
Christine Hallstrom [Wed, 29 Jul 2015 17:59:23 +0000 (17:59 +0000)]
Merge "Change NTP polling interval from 10 days to 24 hours." into mnc-dev
Geoff Mendal [Wed, 29 Jul 2015 17:57:52 +0000 (10:57 -0700)]
Import translations. DO NOT MERGE
Change-Id: Ic4e540e08175014515a7556425c751de60955005
Auto-generated-cl: translation import
Svetoslav Ganov [Wed, 29 Jul 2015 17:54:23 +0000 (17:54 +0000)]
Merge "Remove dependencies on the package installer's package name" into mnc-dev
Dan Sandler [Wed, 22 Jul 2015 14:45:30 +0000 (10:45 -0400)]
Fix media notification action icons.
In addition to cleaning up some bare references to the icon
slot, we now apply updates to notification RemoteViews in
the context of the supplying app's package. This ensures we
can find the drawables inside any Icon objects that were
constructed without a proper package name, such as is the
case with Actions (because the builder and constructor are
Context-free and so don't know the package name).
This CL also makes clear what was previously only implied:
Non-resource action icons are not actually supported yet
since they can't be pushed to TextView compound drawables
using today's RemoteViews APIs. That will require an API
change.
Bug:
22600607
Change-Id: Ie6b88aed36e4db05be35f843ea3bc1898d4a5c96
Christine Hallstrom [Tue, 14 Jul 2015 21:01:51 +0000 (14:01 -0700)]
Change NTP polling interval from 10 days to 24 hours.
Bug:
22820525
Change-Id: Ifb5da0a19854d751d00889e4c9d075e909414d62
Sailesh Nepal [Wed, 29 Jul 2015 17:39:37 +0000 (17:39 +0000)]
Merge "Default permissions for sim call manager" into mnc-dev
Svetoslav Ganov [Wed, 29 Jul 2015 17:38:29 +0000 (17:38 +0000)]
Merge "Allow non system to set perm policy flags - needed by the installer" into mnc-dev
Svetoslav Ganov [Wed, 29 Jul 2015 17:37:50 +0000 (17:37 +0000)]
Merge "Do not reset runtime permissions on upgrade" into mnc-dev
Jeff Sharkey [Wed, 29 Jul 2015 17:15:34 +0000 (10:15 -0700)]
Always return content Uri for downloads.
Now that we're relying more heavily on Uri permission grants between
apps, we should always return content:// Uris.
Bug:
22820206
Change-Id: Ie9603da09944dc594ea5dde2db04455f57d6f103
Dianne Hackborn [Wed, 29 Jul 2015 17:05:58 +0000 (17:05 +0000)]
Merge "Work on issue #
22765972: Binder transactions running out of address..." into mnc-dev
Nicolas Prévot [Wed, 29 Jul 2015 16:59:46 +0000 (16:59 +0000)]
Merge "Send a public broadcast when the device owner is set." into mnc-dev
Svet Ganov [Wed, 29 Jul 2015 16:09:12 +0000 (09:09 -0700)]
Allow non system to set perm policy flags - needed by the installer
My previous change overtightened which permission flags can be changed
by a non-system caller. This took away the capability of the package
installer to set policy flags which it needs to implement the auto
grant/deny behavior.
bug:
22776149
Change-Id: Ic2a82bedc413fc91360c3bcec355fac456f0fccf
Svet Ganov [Wed, 29 Jul 2015 15:39:41 +0000 (08:39 -0700)]
Do not reset runtime permissions on upgrade
bug:
22772831
Change-Id: Ic7113f48bf4fe2fe2f50bf94c4b6dbb2130b6621
Svet Ganov [Wed, 29 Jul 2015 15:33:42 +0000 (08:33 -0700)]
Remove dependencies on the package installer's package name
bug:
22700053
Change-Id: I8540eb8577fbec84e1a67e31e1c31ba654c828a4
Chris Wren [Wed, 29 Jul 2015 14:57:15 +0000 (14:57 +0000)]
Merge "import more metrics enums" into mnc-dev
Paul Jensen [Wed, 29 Jul 2015 13:52:02 +0000 (13:52 +0000)]
Merge "Disable WiFi autojoin when user decides via "Stay connected?" dialog" into mnc-dev
Narayan Kamath [Wed, 29 Jul 2015 09:41:22 +0000 (09:41 +0000)]
Merge "Revert "Call getInstanceForPackage instead of creating a new SensorManager instance."" into mnc-dev
Narayan Kamath [Wed, 29 Jul 2015 09:35:46 +0000 (09:35 +0000)]
Revert "Call getInstanceForPackage instead of creating a new SensorManager instance."
This reverts commit
5967ddbf05f146bdb6744207e3daed1aa76fc637.
Change-Id: I6d58129585a30d7c2ef39c8cbe796fd696c93f56
Martijn Coenen [Wed, 29 Jul 2015 07:54:29 +0000 (07:54 +0000)]
Merge "Resource for setting default NFC payment component." into mnc-dev
Sailesh Nepal [Wed, 29 Jul 2015 02:22:14 +0000 (19:22 -0700)]
Default permissions for sim call manager
This CL adds the following permissions by default to the
SIM call manager:
- microphone
- phone
BUG:
22790160
Change-Id: Icaf1db6c6943b3ddbd16a946a81d1bfb734d761f
Shawn Willden [Wed, 29 Jul 2015 03:58:39 +0000 (03:58 +0000)]
Merge "Keymaster digest/padding NONE no longer means ANY." into mnc-dev
Jeff Sharkey [Wed, 29 Jul 2015 01:19:43 +0000 (01:19 +0000)]
Merge "Give secondary users read-only physical cards." into mnc-dev
Dianne Hackborn [Wed, 29 Jul 2015 01:07:13 +0000 (18:07 -0700)]
Work on issue #
22765972: Binder transactions running out of address...
...space causing package manager to fail
Lower the maximum IPC size we use in various places, to keep it
under the threshold of becoming dangerous. Now everything tries
to keep not much more than 64k.
Change-Id: I814013097966a7843179e5d581bfdb254c5ae318
Ronghua Wu [Wed, 29 Jul 2015 00:53:12 +0000 (00:53 +0000)]
Merge "media: fix estimateFrameRatesFor to use correct ratio" into mnc-dev
Dianne Hackborn [Wed, 29 Jul 2015 00:47:33 +0000 (00:47 +0000)]
Merge "Fix issue #
22802691: APR: NPE in ActivityRecord" into mnc-dev
Dianne Hackborn [Wed, 29 Jul 2015 00:46:20 +0000 (00:46 +0000)]
Merge "Fix issue #
22802617: APR: spurious wtf when restarting a persistent process" into mnc-dev
Dianne Hackborn [Wed, 29 Jul 2015 00:45:18 +0000 (00:45 +0000)]
Merge "Fix issue #
22802782: APR: NPE in package manager with bad intent data" into mnc-dev
Dianne Hackborn [Wed, 29 Jul 2015 00:40:06 +0000 (17:40 -0700)]
Fix issue #
22802691: APR: NPE in ActivityRecord
Change-Id: I8d6265589c97edc7a1d6c63f98c7252a439e62da
Adam Lesinski [Wed, 29 Jul 2015 00:34:38 +0000 (00:34 +0000)]
Merge "BatteryStats: Use proper power calculator when energy data is received" into mnc-dev
Jason Monk [Wed, 29 Jul 2015 00:31:16 +0000 (00:31 +0000)]
Merge "Add sizes to SysUI tests" into mnc-dev
Dianne Hackborn [Wed, 29 Jul 2015 00:30:59 +0000 (17:30 -0700)]
Fix issue #
22802782: APR: NPE in package manager with bad intent data
If they pass in a null data for the intent matching, don't throw up
on it, just consider it to not match.
Change-Id: I30b6af49989eb8b5c2e585ce5d96416f0daff3a8
Dianne Hackborn [Wed, 29 Jul 2015 00:22:46 +0000 (17:22 -0700)]
Fix issue #
22802617: APR: spurious wtf when restarting a persistent process
Just don't do a wtf here, it isn't really wrong (though it isn't really
right, but at this point in a release it is right enough!).
Change-Id: Ic38a2e27556224cf8868f1fa18b4810929d67fcc
Aravind Akella [Wed, 29 Jul 2015 00:21:18 +0000 (00:21 +0000)]
Merge "Call getInstanceForPackage instead of creating a new SensorManager instance." into mnc-dev
Adam Lesinski [Wed, 29 Jul 2015 00:11:29 +0000 (17:11 -0700)]
BatteryStats: Use proper power calculator when energy data is received
We check for the presence of energy data when determining whether to use
the WiFiPowerCalculator or WiFiPowerEstimator. Since we can receive this data
later, we need to switch to the WiFiPowerCalculator if we weren't using it before.
We can't ask the hardware if it supports energy data because that would involve a call into
WiFiManagerService, which can cause a deadlock if we are holding the BatteryStatsService lock
while using this class.
Bug:
22776010
Change-Id: Id685d487c56595eab1d382f49da9417a423bb517
Jorim Jaggi [Fri, 10 Jul 2015 21:24:44 +0000 (14:24 -0700)]
Animation for touch, wake and unlock
- Add callback to inform SysUI when the screen has been unblocked
and turned on.
- Cleanup inconsistent messaging about device interactive/screen on
and off.
- Add callbacks to inform SysUI about screen states
- Implement a quick fade for the scrim after touch, wake, and unlock.
First, start with a black scrim on top of everything, and then fade
it out.
- Make sure we play the normal unlock animation when device is pulsing
- Override navigation bar animations for touch, wake and unlock: Fade
in the same manner as the scrim.
Bug:
22571198
Bug:
21855614
Change-Id: I8ff08d72cced1e0f03c78d71ff710d8a4f6b848c
Chris Tate [Tue, 28 Jul 2015 22:56:41 +0000 (22:56 +0000)]
Merge "Don't redundantly call transport.finishRestore()" into mnc-dev
Roshan Pius [Tue, 28 Jul 2015 20:35:35 +0000 (13:35 -0700)]
Add a command to register SIM Phone account.
Phone accounts with SIM_SUBSCRIPTION capabiltiy needs system permission.
Hence adding a command to add sunc phone accounts for CTS testing of
remote connections.
BUG:
20303674
Change-Id: Ieb7349f906ec8209776ffbe39ed3633f01ba1e7c
Zach Johnson [Tue, 28 Jul 2015 22:36:30 +0000 (22:36 +0000)]
Merge "Add filter for personal apps that are not disabled until first use" into mnc-dev
Todd Kennedy [Tue, 28 Jul 2015 22:15:43 +0000 (22:15 +0000)]
Merge "Partially revert package freezing" into mnc-dev
Ronghua Wu [Tue, 28 Jul 2015 22:05:51 +0000 (15:05 -0700)]
media: fix estimateFrameRatesFor to use correct ratio
Bug:
22504214
Change-Id: I5a325ae495b76aadd3fcbb8932d865c2f6322b2a
Jeff Sharkey [Tue, 28 Jul 2015 17:49:47 +0000 (10:49 -0700)]
Give secondary users read-only physical cards.
Long ago, we mounted secondary physical cards as readable by all
users on the device, which enabled the use-case of loading media on
a card and viewing it from all users.
More recently, we started giving write access to these secondary
physical cards, but this created a one-directional channel for
communication across user boundaries; something that CDD disallows.
This change is designed to give us the best of both worlds: the
package-specific directories are writable for the user that mounted
the card, but access to those "Android" directories are blocked for
all other users. Other users remain able to read content elsewhere
on the card.
Bug:
22787184
Change-Id: Ied8c98995fec1b7b50ff7d930550feabb4398582
Christopher Tate [Tue, 28 Jul 2015 20:59:35 +0000 (13:59 -0700)]
Don't redundantly call transport.finishRestore()
The RestoreSession is no longer responsible for calling finishRestore();
that happens as part of tidying up after running the restore itself,
even in failure cases.
Bug
22640096
Change-Id: I0be52af2ae8c2c1ac685e9904ccb8120f7fcf522
Todd Kennedy [Tue, 28 Jul 2015 20:52:49 +0000 (13:52 -0700)]
Partially revert package freezing
On the Nexus Player, upgrading the launcher would cause multiple, simultaneous
processes to be running. In order to prevent this regression, revert the portion
of ag/682591 dealing with package upgrades.
Bug:
21123444
Change-Id: I7a4cf98c7e28fc9893b1c0358d3a98702d94c039
Nicolas Prevot [Mon, 27 Jul 2015 17:15:20 +0000 (18:15 +0100)]
Send a public broadcast when the device owner is set.
Make it a protected broadcast.
BUG:
22623518
Change-Id: Ia36e8f0b80a6301d7d8e0461476842c78762b5e8
Tyler Gunn [Tue, 28 Jul 2015 20:07:40 +0000 (20:07 +0000)]
Merge "Add "Call subject" capability to phone accounts." into mnc-dev
Dianne Hackborn [Tue, 28 Jul 2015 19:52:53 +0000 (19:52 +0000)]
Merge "Work on issue #
21516866: Implement voice interaction in ResolverActivity" into mnc-dev
Dianne Hackborn [Tue, 28 Jul 2015 01:11:14 +0000 (18:11 -0700)]
Work on issue #
21516866: Implement voice interaction in ResolverActivity
The main change here is to not allow the dialog to go in to its "focus
on the last app the user selected" when running in voice interaction mode,
instead just always giving a simple list.
This also fixes some problems with cleaning up active commands when
an activity finishes and not forcing the current session to go away
when the screen is turned off.
Also added some debug help, having activity print the state of the
voice interactor.
Change-Id: Ifebee9c74d78398a730a280bb4970f47789dadf5
Jorim Jaggi [Tue, 28 Jul 2015 19:49:44 +0000 (19:49 +0000)]
Merge "Don't use screenshot if structure is disabled (1/2)" into mnc-dev
Robert Greenwalt [Tue, 28 Jul 2015 19:39:48 +0000 (19:39 +0000)]
Merge "Un-remove legacy ConnectivityManager API." into mnc-dev
Alex Klyubin [Tue, 21 Jul 2015 20:38:48 +0000 (13:38 -0700)]
Keymaster digest/padding NONE no longer means ANY.
This adjusts the public API documentation to no longer say that
digest/padding NONE means any digest/padding. This also changes the
implementation of legacy key generation and import to explicitly
list which digests/paddings the generated/imported key is authorized
for. Previously, such keys were simply authorized for digest NONE and
padding NONE.
Bug:
22556114
Change-Id: Id02d9450a07de16ccb795b76b6de0006dd49dcca
Robert Greenwalt [Tue, 28 Jul 2015 18:41:31 +0000 (11:41 -0700)]
Un-remove legacy ConnectivityManager API.
These were @removed too soon. We need to keep them @deprecated until
the bulk of devices support the new API and then we can remove them.
bug:
22728205
Change-Id: If1b46ff1878f1778517624112b195c461645ddd1
Jason Monk [Tue, 28 Jul 2015 18:05:49 +0000 (18:05 +0000)]
Merge "Fix network name not showing in QS sometimes" into mnc-dev
Chris Wren [Tue, 28 Jul 2015 16:54:02 +0000 (12:54 -0400)]
import more metrics enums
sysui tuners
inactive apps
Bug:
21114836
Change-Id: I43c4b97c6998374b39d7346bae1e1eca3d761543
Paul Jensen [Wed, 1 Jul 2015 18:16:32 +0000 (14:16 -0400)]
Fix missing onLost NetworkCallbacks when network loses capability
If a network no longer satisfies a NetworkRequest, send the onLost
NetworkCallback. If it was a real request (not listen) then update
the NetworkFactories.
To test this change I created a little infrastructure to fake
different Internet connectivity probe results during tests. This
allowed me to rewrite some of ConnectivityServiceTest's logic for
validating networks. This brought to light a couple issues that
I had to address to keep tests passing:
1. testUnlingeringDoesNotValidate was relying on a bad side-effect
of my old method of ConnectivityServiceTest's logic for
validating networks, so I rewrote the test.
2. ConnectivityService was not sending out NetworkCallbacks for
WiFi when Cellular was validated. I'm including a fix for this
in this CL also.
Bug:
22220234
Change-Id: I29314f38189817f8b2561a213c4f9e8522696663
Jason Monk [Tue, 28 Jul 2015 13:18:08 +0000 (09:18 -0400)]
Add sizes to SysUI tests
Change-Id: I27e4a60e2658d3a5db32cdeb73bd0a031865ce86
Adrian Roos [Mon, 27 Jul 2015 22:10:13 +0000 (15:10 -0700)]
Fix and deprecate lock pattern related settings
Bug:
22557690
Change-Id: Ib4b3ef7cebe815ba9d9d2284f945a9ec746b216c
Adam Lesinski [Tue, 28 Jul 2015 01:06:14 +0000 (01:06 +0000)]
Merge "BatteryStats: Compensate for accuracy issues when reporting WiFi energy data issues with Slog.wtf" into mnc-dev
Lorenzo Colitti [Tue, 28 Jul 2015 01:03:44 +0000 (01:03 +0000)]
Merge changes I5c994de5,I6cb0dd84 into mnc-dev
* changes:
Add a test for public bugs 2111 and 2136.
Always check off-link connectivity in NetworkDiagnostics.
Jorim Jaggi [Tue, 28 Jul 2015 00:48:42 +0000 (17:48 -0700)]
Don't use screenshot if structure is disabled (1/2)
Bug:
22674955
Change-Id: I694bb8dbb578da9d729414c7f2947ba4c15651e3
Jorim Jaggi [Tue, 28 Jul 2015 00:36:14 +0000 (00:36 +0000)]
Merge "Allow assist gesture when notification shade is expanded" into mnc-dev