230838 Commits

Author SHA1 Message Date
Ben Kwa
c88509754a Merge "Add MetricsLogger calls to DocumentsUI." 2016-01-26 22:30:45 +00:00
Yin-Chia Yeh
8b25ec2923 Merge "Camera: codegen doc update: fix typos" 2016-01-26 22:30:28 +00:00
Sudheer Shanka
6e3e9fc359 Merge "Add util method to get the admin who set maximum time to lock." 2016-01-26 22:29:41 +00:00
Tyler Gunn
0d3493532b Merge "Add capability to determine if downgrade to audio is denied." 2016-01-26 22:26:43 +00:00
Rakesh Iyer
6d03819aa1 Merge "Fullscreen user switcher layout tweaks." 2016-01-26 22:25:29 +00:00
Chet Haase
f0a7b3b694 Fix problem with zero-duration AnimatedVectorDrawables
There was an issue with some vector drawables, particularly those with more
than one underlying, sequential animators, where the final frame would not be
drawn when battery saver mode was enabled (or animators were set to have durations
of 0). This resulted in an incorrect fingerprint graphic on the lockscreen, because
the animation effectively didn't run at all.

The fix is to always invalidate whenever the AnimatedVectorDrawble draws itself. This
causes us to constantly invalidate() the view while the animation is running.

Issue #26591987 Fingerprint icon displayed as dots when batter saver mode is on

Change-Id: I13cbd71fd229db09418c6dcacfec5a13bbb44b2e
2016-01-26 14:21:53 -08:00
Victor Chan
4d8c66bd36 Use vector drawables for icons on car navbar
Adjusting CarNavigationButton layout so that vector
drawables are properly scaled/rendered in the car navigation bar.

Change-Id: I71fdfd0d863049a63abf11c41f46c950ed7e309e
2016-01-26 14:18:31 -08:00
Ben Kwa
723799858a Add MetricsLogger calls to DocumentsUI.
- Create new categories in MetricsLogger for DocumentsUI events.
- Add logging code to DocumentsUI for launch events and viewing roots.

BUG=26737132

Change-Id: Ib703878a39dd03b57e68a4d5a1d6cf8fe2936c5a
2016-01-26 14:15:42 -08:00
Victor Chan
c0ca9e5a3f Add Intent extras for package names and categories
CarNavigationBarController will now pass in package names and
categories when starting the Intent for a selected facet.

Change-Id: I9f0a520f28eea105f845881819146d01fddbae92
2016-01-26 14:12:46 -08:00
Julia Reynolds
ec0c2d8fde Merge "Visual interruptions: stop more full screen intents." 2016-01-26 22:08:28 +00:00
Jason Monk
f641858497 Merge "Make suggestions handle string or int" 2016-01-26 22:04:16 +00:00
Jason Monk
ca7ec8a547 Make suggestions handle string or int
Evidently metadata bundles turn a single int into an integer rather than a
string without telling you.

Change-Id: I5c6557bad51981f27a7e213052e2be5bcc3a0a93
2016-01-26 17:01:00 -05:00
Julia Reynolds
0971cb076d Visual interruptions: stop more full screen intents.
The user options for 'no screen interruptions' needs to stop
peeks and full screen intents when the screen is on.

Bug: 25423508
Change-Id: I49b1c40552c3506fae259364a4d5e49168c8de36
2016-01-26 17:00:22 -05:00
Nick Vaccaro
16726c5c76 Merge "[DO NOT MERGE ANYWHERE] Fix bodysensor permission" into cw-e-dev am: 907108ca0f -s ours am: 3e413dfcdd -s ours am: f5958497d3 -s ours
am: cee0600bd9  -s ours

* commit 'cee0600bd9c9c9d7a7d777ca3621396c972783db':
  [DO NOT MERGE ANYWHERE] Fix bodysensor permission
2016-01-26 21:57:26 +00:00
Sailesh Nepal
58941094d4 Merge "Mark mised call notification as protected" 2016-01-26 21:48:58 +00:00
Shishir Agrawal
7ea3e8bf89 Unhiding MSIM APIs.
1. Unhide MSIM APIs in TelephonyManager that already have non-MSIM equivalent
   APIs public.
2. Make MSIM API naming consistent (overloaded, no suffix).
3. Unhide APIs in SubscriptionManager that are necessary for MSIM.

Bug: 26772894
Change-Id: Ibebab7379ea79c8e4812bbd190342827048e30e2
2016-01-26 13:47:27 -08:00
Yin-Chia Yeh
67e61b6d22 Camera: codegen doc update: fix typos
Change-Id: Ied9e74cb8af839a1ce6d9e247413e4a05e6d894e
2016-01-26 13:27:35 -08:00
Xiaohui Chen
3104d634a1 Merge changes from topic 'xc_remove_shelf'
* changes:
  sysui: remove shelf
  DO NOT MERGE sysui: remove shelf
2016-01-26 21:26:35 +00:00
Julia Reynolds
e66515f542 Merge "Show app level settings when an app doesn't use topics." 2016-01-26 21:21:04 +00:00
Ji Yang
a8efa46fcb Merge "New string constants shown when new SMS arrives while phone is locked." 2016-01-26 21:18:44 +00:00
Chong Zhang
46e114430b Merge "Restore code to draw backdrop and content nodes" 2016-01-26 20:52:11 +00:00
Chong Zhang
c3bd568112 Restore code to draw backdrop and content nodes
bug: 26626661
Change-Id: I9e4dd41708e8ed93d3cf64242ad81815a653d269
2016-01-26 12:49:28 -08:00
Julia Reynolds
92d456e9a6 Show app level settings when an app doesn't use topics.
Change-Id: I205062868ac3a44aa24a29bcb82a9374026287a7
2016-01-26 15:43:10 -05:00
Nick Vaccaro
cee0600bd9 Merge "[DO NOT MERGE ANYWHERE] Fix bodysensor permission" into cw-e-dev am: 907108ca0f -s ours am: 3e413dfcdd -s ours
am: f5958497d3  -s ours

* commit 'f5958497d36ac64ed1f2bbbd80cb0a3a24e94f13':
  [DO NOT MERGE ANYWHERE] Fix bodysensor permission
2016-01-26 20:34:20 +00:00
Eino-Ville Talvala
7c6d73f41f Camera2: Add LEVEL_3 to android.info.supportedHardwareLevel
LEVEL_3 is a new high-level label for camera devices that support more
than the existing FULL-level capabilities.

Bug: 25114814
Change-Id: Ibed66ed6b83e4f28598455255d86b13b78f1f13b
2016-01-26 12:27:22 -08:00
Nick Vaccaro
f5958497d3 Merge "[DO NOT MERGE ANYWHERE] Fix bodysensor permission" into cw-e-dev am: 907108ca0f -s ours
am: 3e413dfcdd  -s ours

* commit '3e413dfcddf27f1a44012e4c1d2b80bdcacd1e26':
  [DO NOT MERGE ANYWHERE] Fix bodysensor permission
2016-01-26 20:21:37 +00:00
Jorim Jaggi
cdb06caebb Grow recents when in multi-window on phones
- Make sure all methods in RecentsImpl are called from the main thread.
- On secondary users, call dockTopTask in correct process.
- When opening recents, split it differently when on phones.

Change-Id: I10224452b1a9c0ae691d64cceeae5bb93cc4f6d8
2016-01-26 12:21:29 -08:00
Nick Vaccaro
3e413dfcdd Merge "[DO NOT MERGE ANYWHERE] Fix bodysensor permission" into cw-e-dev
am: 907108ca0f  -s ours

* commit '907108ca0f4e69dd170a507c5830591712ec5967':
  [DO NOT MERGE ANYWHERE] Fix bodysensor permission
2016-01-26 20:16:15 +00:00
Marie Janssen
554bc80056 Merge "IBluetooth: remove dump(), support arguments" 2016-01-26 20:14:58 +00:00
Nick Vaccaro
907108ca0f Merge "[DO NOT MERGE ANYWHERE] Fix bodysensor permission" into cw-e-dev 2016-01-26 20:13:26 +00:00
Nathan Harold
86d4372c41 Merge "Remove Data RealTime Info Listener Support" 2016-01-26 20:13:26 +00:00
Peng Xu
79c004b2c1 [DO NOT MERGE ANYWHERE] Fix bodysensor permission
Bug: 26481493
Bug: 26447970
Change-Id: Ibeaf5a5e39f0dc552cf115d2834a1ec28ecef5ab
2016-01-26 20:10:27 +00:00
Chris Wren
e9aa39470d Merge "change the default notification rules" 2016-01-26 20:00:58 +00:00
Marie Janssen
9db28ebea5 IBluetooth: remove dump(), support arguments
Because IBluetooth is a Binder service, we don't need dump() to
support dumpsys, just call the IBinder.dump().

Change-Id: Idcd48f758427b824e0b7eaafd091ba3fb2ff8993
(cherry picked from commit adbb3ff062e039b2552c6b5ded92e56346ac3934)
2016-01-26 20:00:11 +00:00
Chris Wren
cdee8cd16a change the default notification rules
should make devices less noisy by default
more metrics so we can tell exactly what we're doing.

Change-Id: I2504df91083074de8fe08c896e017335bc0bc1c7
2016-01-26 14:58:06 -05:00
Vladislav Kaznacheev
c14df8e73d Fix SecurityException in Editor.onDrop
When a content URI is dropped onto EditText, it tries making sense
of the contents, and in the process it accesses the content provider.
If this content provider requires a permission grant, SecurityException
occurs.

This fix does two things:
1. Editor.onDrop now requests DropPermissions and releases is
when it is done. This required the introduction of a new hidden method
DropPermissions.takeTransient, because the existing method required
access to an Activity instance.

2. If the drag originator neglected to allow the permission grant,
DropPermission request would not help, so a try/catch block
is added to Editor.onDrop to avoid breaking the recipient app.

Bug: 26694948
Change-Id: I714429a507e62c83a150d91fbcdee791bced3ad3
2016-01-26 11:53:00 -08:00
Jason Monk
5d269c758b Merge "Updates to SuggestionParser" 2016-01-26 19:52:54 +00:00
Rakesh Iyer
df727cb559 Fullscreen user switcher layout tweaks.
The hard coded padding between the disclaimer text and
the UserGridView was causing troubles with smaller screen
sizes so use layout weights instead to achieve the same
results.

Bug: 26749378
Change-Id: I8a3b0784696ad14ec8f9f99a2af649f43d187307
2016-01-26 11:40:51 -08:00
Jason Monk
294efa57ca Updates to SuggestionParser
Added support for feature requirements and return after dismiss delays.

Change-Id: I80e80a55817cd4d9717876e34fc591b3dd3228f1
2016-01-26 14:40:16 -05:00
Chris Tate
a59b5f7996 Merge "Prevent (and repair) poisoned full-data backup queue" 2016-01-26 19:39:08 +00:00
Xiaohui Chen
0691703467 sysui: remove shelf
Bug: 26742568
Change-Id: I10bbf55b4b93fb5d360a56dcc59c943d8806a27e
2016-01-26 11:32:20 -08:00
Xiaohui Chen
e9dab0dade DO NOT MERGE sysui: remove shelf
Bug: 26742568
Change-Id: I36bd013c4adb62b76b6f2789aa490c1484a535d7
2016-01-26 11:31:51 -08:00
Ji Yang
7c905ef519 New string constants shown when new SMS arrives while phone is locked.
Bug: 26232405
Change-Id: I979daab3d416b16ac4e1e488134f25ff75bad873
2016-01-26 11:06:56 -08:00
John Reck
c9fd313f94 Merge "Fix tests" 2016-01-26 18:59:27 +00:00
Christopher Tate
339b53a8e6 Prevent (and repair) poisoned full-data backup queue
An app that transitioned from full-data to key/value backup regimes
was being left in the full-data backup queue until next reboot.  In
edge cases this would result in the app being inappropriately shut
down for backup; furthermore, it would potentially cause there to
exist a full-data payload for the app that was considered "newest"
and therefore be the one delivered at restore time on a new device
or app (re)installation.

Defense in depth: full-backup candidates are just-in-time reevaluated
for validity when they come up again in the queue; app update
notifications cause a reevaluation and removal from the queue if
full-data is no longer the right modality; and the common engine for
all cloud-facing full-data backups does an additional last-ditch
validation that each stated target is actually supposed to get
full-data backups rather than key/value, to backstop the checks on
queue-presence validity.

Bug 26744511

Change-Id: I55bea3e19a2cab0150dbe5a08dd9fc550f0068c4
2016-01-26 10:58:37 -08:00
John Reck
65182ccffc Fix tests
Disable FrameBuilder.clippedMerging as it relies on
merged bitmap ops which was disabled in b/26793764

Fix Buffer to correctly initialize mRefs count

Change-Id: I87d2fcc690a2ae14eaf751f650f522be5b622edf
2016-01-26 10:50:10 -08:00
Robert Carr
d4393b2897 Fix reentrant deadlock in GLSurfaceView.
It is possible for clients to call SurfaceView
methods e.g. setFormat from the GLSurfaceView#Renderer
drawFrame callback. In this case, SurfaceView#updatewindow
will understand that a redraw is required, and will request
it back to GLSurfaceView. Remember, we are still on the GLThread
though (from the drawFrame callback). So these methods
(requestRenderAndWait, windowSizeChanged), need to be reentrant.
Also fix a data race around mWantRenderNotification, which was
accessed out of lock.

Bug: 26770615
Change-Id: Ic66a36c886ae0b085dd456a4220f0d4f270fb016
2016-01-26 18:26:46 +00:00
Philip P. Moltmann
5ddbc2af0c Merge "Correctly deal with non-null ness of PrintJobId." 2016-01-26 18:25:23 +00:00
Philip P. Moltmann
8f8c79515e Merge "Correct nullability in PrintJob." 2016-01-26 18:24:37 +00:00
Philip P. Moltmann
b18cacfcad Merge "Carry over orientation when updating the printAttributes with the capabilities of the printer." 2016-01-26 18:24:15 +00:00