Commit Graph

54596 Commits

Author SHA1 Message Date
George Mount
116a787b06 Merge "Fix for Activity Transitions restoring views bug." 2016-01-08 16:30:38 +00:00
George Mount
d7d0fb3e65 Fix for Activity Transitions restoring views bug.
Bug 26426496

When finish() came immediately after finishAfterTransition(),
the Views of the reentering Activity would not be restored
properly. This forces the entering Views to show if they
aren't already transitioning in.

Change-Id: If3ab37be8eb5dd3d7649db75385adb9fa214cb4c
2016-01-08 08:29:25 -08:00
Chris Wren
2d20a4dcc6 Merge "allow listeners to disable themselves" 2016-01-08 15:50:13 +00:00
Julia Reynolds
5942cc59ab Merge "Sort notifications by importance." 2016-01-08 15:46:22 +00:00
Julia Reynolds
0421e6d586 Sort notifications by importance.
- Importance trumps 'package priority'
- Only notifications with a high enough importance can be intrusive
- default and lower importance notifications don't appear on the lock
screen and appear below the speed bump in the shade

Also, stop downgrading MAX importance noisy notifications.

Bug: 26425560
Change-Id: Ibb952eb6f8d0d336a1060332f58c8ba622f29867
2016-01-08 10:41:32 -05:00
Jason Monk
66c89c15a0 Add API for System QS tiles to set status icons
Allow system apps that have a Quick Settings tile to show a
status bar icon.  If the quick settings tile is removed, the
status bar icon will no longer be shown.

Change-Id: I875b962bbdf4ff863012de688a3dd29a8d7e11ab
2016-01-08 08:54:13 -05:00
Gustav Sennton
472a566956 Merge "Add missing traces for WebView loading steps." 2016-01-08 13:47:14 +00:00
Gustav Sennton
fc424478a9 Add missing traces for WebView loading steps.
Ever since the refactoring of WebViewFactory - to support using one out
of a list of WebViewProviders - we cover less of the loading code with
traces, this CL fixes this.

Bug: 26409579

Change-Id: I9d74321806037ea34a5ace8fc75b07ca771ab7d9
2016-01-08 13:25:59 +00:00
Narayan Kamath
65c7835394 Merge "Trivial correction of Camera2 API description" am: a909dad0c3
am: 7e308606f6

* commit '7e308606f605dd1bd047e20e17ee53122a64b8ba':
  Trivial correction of Camera2 API description
2016-01-08 09:48:32 +00:00
Narayan Kamath
7e308606f6 Merge "Trivial correction of Camera2 API description"
am: a909dad0c3

* commit 'a909dad0c36542ffbc155f98b4eb054921b1bbd0':
  Trivial correction of Camera2 API description
2016-01-08 09:44:34 +00:00
Narayan Kamath
8090bb1a3f Merge "Fixed calendar fields comparison" am: 9aeb6edf55
am: cd51388e01

* commit 'cd51388e01fdecd516218c7a9597618b10781843':
  Fixed calendar fields comparison
2016-01-08 09:44:32 +00:00
Narayan Kamath
cd51388e01 Merge "Fixed calendar fields comparison"
am: 9aeb6edf55

* commit '9aeb6edf5518a839156de7aab808a75a8fd6843b':
  Fixed calendar fields comparison
2016-01-08 09:39:21 +00:00
Narayan Kamath
a909dad0c3 Merge "Trivial correction of Camera2 API description" 2016-01-08 09:36:14 +00:00
Philipp Hasper
81fd6b48a0 Fixed calendar fields comparison
Month was compared with the day and vice versa.
Found by dukejeffrie.

Change-Id: Ic4efca440c408325819ff1df85db7b407cf3207e
2016-01-08 09:29:39 +00:00
Hidenari Koshimae
0fa4914484 Trivial correction of Camera2 API description
Change-Id: Ibb3393b94812dfe7b496182bb5ef43f1a5df7434
2016-01-08 16:18:59 +09:00
Jeff Sharkey
cc70834060 Merge "Null cursors don't need to be wrapped." 2016-01-08 01:53:14 +00:00
Jeff Sharkey
703fe24e25 Null cursors don't need to be wrapped.
Change-Id: I59b604a60a066c2d808a796658757af952ef913c
2016-01-07 18:52:26 -07:00
Filip Gruszczynski
411c06fbf9 Only allow activities to move to full screen stack.
We allowed activities to move to any stack, but that's too much
freedom. Instead we only allow them to move from freeform stack to a
fullscreen stack.

Change-Id: I04de9bbf18cf4431d7bd34d6c727de82802661ef
2016-01-07 16:58:13 -08:00
Chris Wren
ab41eecf22 allow listeners to disable themselves
This decouples the user permisson grant from the
bound state of the listener. This allows listeners
that are only relevant sometimes to avoid being
bound as a foreground service all the time.

Bug: 19232554
Change-Id: I9ab078630af5a10c6878d3f19ba80661299713d5
2016-01-07 17:29:29 -05:00
Deepanshu Gupta
d41f0f841b Merge "Prevent infinite loop in case of integer overflow." 2016-01-07 21:50:36 +00:00
Paul Miller
167a623c45 Merge "Document WebView Metrics opt out API" 2016-01-07 21:36:06 +00:00
Deepanshu Gupta
7a8fb26c20 Prevent infinite loop in case of integer overflow.
Bug: 26331754
Change-Id: I29068159204ecd2e03e44fbb2375d2e116774e07
2016-01-07 13:29:04 -08:00
Sriram Viswanathan
44d86599fb Merge "Changes to support navigation bar system UI in car mode." 2016-01-07 21:03:38 +00:00
Siyamed Sinir
9c95443ca7 Merge "Fix SpannableStringBuilder.replace() exception." 2016-01-07 20:58:08 +00:00
Siyamed Sinir
3463c04b51 Fix SpannableStringBuilder.replace() exception.
When SpannableStringBuilder.replace is called with a source text that
contains a span with SPAN_PARAGRAPH flag, the code tries to retain the
spans. However when the paragraph boundary constraint is not satisfied,
setSpan method throws an exception. Updated the rule as: if the source
text has a span with SPAN_PARAGRAPH flag check if it can be copied into
the target. If not, discard the span. Also updated the JavaDoc for
Spanned and Editable.

Bug: 22521443
Change-Id: Ie8541e00bfdf5b8b0115ad7b26cb9f83a6a3ee55
2016-01-07 12:56:09 -08:00
Shreyas Basarge
6c333507c3 Merge "Fixes Javadoc of JobScheduler" 2016-01-07 20:51:54 +00:00
Sriram Viswanathan
9ebbe6afe7 Changes to support navigation bar system UI in car mode.
The change has all the platform changes required to support
modifications in the navbar dimensions and custom icons in car mode.
The UX is not frozen yet, but have placeholder resources provided
by android auto UX engineers.
The change assumes that the car mode configuration is known to the
WindowManagerService and uses its current ui mode to request the
latest from the policy (PhoneWindowManager.java). The change is
modeled on the way rotation is handled, where the Policy knows the
different view attributes for uiMode and just returns back the
window sizes based on the current uiMode requested. The policy does
know the current uiMode, but the order of when that changes is not
deterministic [from logs it does happen before any request to update
UI occurs, but guess that could change].

Bug: 25996809
Change-Id: Ia46cbe5096382d26c9eb8ec74cf59a059b767edb
2016-01-07 12:47:23 -08:00
Prashant Malani
9d7272a669 Merge "Re-hide AXIS_SCROLL constant." 2016-01-07 20:42:34 +00:00
Prashant Malani
8171658b9f Re-hide AXIS_SCROLL constant.
Bug: 22836852
Bug: 18707397
Change-Id: I9cf7111cf5e3b73efca2ec8c98bf07941d1cec4e
2016-01-07 20:41:16 +00:00
Hui Shu
15c5a50b9d Merge "Deprecate setGeolocationDatabasePath because it is no-op since KitKat" 2016-01-07 20:07:02 +00:00
Hui Shu
89eb9b4540 Deprecate setGeolocationDatabasePath because it is no-op since KitKat
Also updated the documentation of setGeolocationEnabled.

BUG: crbug.com/507505
Change-Id: I5f4bb38189338f58dcd4c1ba0310493aeac5cbd2
2016-01-07 11:47:30 -08:00
Jason Monk
5a5d6aeec0 Merge "Add internal power mode changed broadcast" 2016-01-07 19:41:32 +00:00
Paul Miller
a469218d07 Document WebView Metrics opt out API
BUG:22665268
Change-Id: Ib2f7b2a340e27d7d3faf5bfbf6c2216d3c1549e4
2016-01-07 11:32:15 -08:00
Alex Klyubin
e7565ad959 Merge "[1/3] Remove unnecessary throws statement in ServiceManager" am: d1240219aa
am: 4a06b7ea7e

* commit '4a06b7ea7e493bf7b575da5219429e2cbeb5b3e8':
  [1/3] Remove unnecessary throws statement in ServiceManager
2016-01-07 19:21:59 +00:00
Alex Klyubin
4a06b7ea7e Merge "[1/3] Remove unnecessary throws statement in ServiceManager"
am: d1240219aa

* commit 'd1240219aadedc867b50158c67d1737a27fa7c6f':
  [1/3] Remove unnecessary throws statement in ServiceManager
2016-01-07 19:18:01 +00:00
Alex Klyubin
d1240219aa Merge "[1/3] Remove unnecessary throws statement in ServiceManager" 2016-01-07 19:08:26 +00:00
Jeff Sharkey
ba75a9b6ba Instrumentation targets must have code.
If they don't have code, give the developer a somewhat helpful error
message instead of later falling into a weird classpath failure.

Change-Id: Iebda10173ff99943cbbd71127ae24aa455b709f4
2016-01-07 12:03:16 -07:00
Yohei Yukawa
f14fa1ec93 Merge "Stop lying about hardware keyboard presence." 2016-01-07 18:54:07 +00:00
Sudheer Shanka
918343b5f9 Merge "Add an intent for ShowAdminSupportDetailsDialog in settings." 2016-01-07 18:43:40 +00:00
Jeff Sharkey
6190d9cf17 Merge "Add flags to requests for package UID/GIDs." 2016-01-07 18:31:53 +00:00
Andrei Stingaceanu
cc5061f73e Lock screen customization message: documentation note
Specify in the javadocs the behavior when the message is formed
from whitespaces only. It is not obvious.

Bug: 26313904
Change-Id: I51d5722f090a0780a65f20395bee4fc40f9eb446
2016-01-07 18:13:22 +00:00
Jeff Sharkey
8588bc1ef1 Add flags to requests for package UID/GIDs.
This gives callers the ability to request details for missing
packages.  Also add annotations for userId and appId variables and
start tagging their usage.

Change-Id: I63d5d7f870ac4b7ebae501e0ba4f40e08b14f3f6
2016-01-07 10:33:26 -07:00
Philip P. Moltmann
8141bdfa56 Store which print services are disabled instead of which are enabled
This make services that appreared while the print manager was not active
by default enabled.

In the case we upgrade from pre-N we convert the enabled-list into a
disabled-list.

Bug: 26249649
Change-Id: Iae783a8dd19f1a9d75d675710ea4348fdfbd34f3
2016-01-07 09:30:43 -08:00
Filip Gruszczynski
60db7c317d Merge "Use activity dimensions instead of display to calculate dialog size." 2016-01-07 17:08:56 +00:00
Jeff Sharkey
069fc0facd Merge "Internal components still need filename access." 2016-01-07 17:01:36 +00:00
Jeff Sharkey
aec99bf78f Internal components still need filename access.
Give them a way to force-enable filename access, bypassing the
recently added deprecated check.

Bug: 26438975
Change-Id: Ifd1e3debf7c7b3113907a5f2815c29ddb7db581f
2016-01-07 09:58:43 -07:00
Jeff Sharkey
44f2cc91dd Merge "GmsCore is casting to a concrete subclass, sigh." 2016-01-07 16:49:02 +00:00
Jeff Sharkey
8b0db0401e GmsCore is casting to a concrete subclass, sigh.
Since this technically wasn't an API change, there isn't a good
reason to protect with target API.  So change the behavior based on
the caller for now.

Bug: 26438049
Change-Id: I65aa1fc9af1f935544f8e191444440af4f98f26f
2016-01-07 09:47:23 -07:00
Alan Viverette
2ba4dfc7de Merge "Avoid drawable invalidation during draw()" 2016-01-07 15:54:36 +00:00
Alan Viverette
d01fafb7ff Merge "Avoid NPE when ActionMenuPresenter is intialized with null MenuBuilder" 2016-01-07 15:48:40 +00:00