Commit Graph

245370 Commits

Author SHA1 Message Date
Scott Main
07bfe296d0 Merge "improved structure and organization between video and training docs on the Training landing page." into mnc-mr-docs am: 49b17d3
am: 30c61f9

* commit '30c61f9cb338beafb59e659fdf208362929c67c3':

Change-Id: I03fe469ebe187c22603b097e66b29b7ad3a41bf6
2016-04-26 04:00:40 +00:00
Lorenzo Colitti
e4860f0256 Merge "When dumping connectivity metrics events, print data as well." into nyc-dev 2016-04-26 03:22:26 +00:00
Jorim Jaggi
c5804afa73 Fix a few issues with occluded Keyguard
- When we get a collapse before the layout happened in SystemUI,
don't expand the panel after the layout.
- Don't reset waitingToShow when coming out of sleep. This will cause
win.isVisibleOrBehindKeyguardLw to return false and then occluded
state will change rapidly from true -> false -> true, leading to
flickering in SysUI.

Bug: 23898941
Change-Id: I2b941188de777086bb2b477f5bfc00cc0cd6abe0
2016-04-26 02:54:34 +00:00
TreeHugger Robot
72c216f250 Merge "Don't hide app windows due to not showing when locked when keyguard is hidden" into nyc-dev 2016-04-26 02:21:18 +00:00
Tomasz Mikolajewski
f61b0b8440 Revert "Precompute cursor indexes in DocumentsUI and improve perf by 2.7%."
This reverts commit 2e4e14789e.

Bug: 28371571
Change-Id: I7aad5eb483c17cccb3485eb22effb677e1ba2160
2016-04-26 11:13:50 +09:00
Jorim Jaggi
d6a3949588 Make sure to notify divider always
In some cases, recents didn't get resumed, so divider was never
notified and thus we didn't start the animation. Instead, move
the first drawn logic into onStart.

Bug: 28366529
Change-Id: Ia71d6b517451bba727ae31a184bb55cecf5af198
2016-04-26 00:52:46 +00:00
Wale Ogunwale
23fd1db68d Don't hide app windows due to not showing when locked when keyguard is hidden
This worked in pre-N because the only visible app was the app that can be
shown when the keyguard is hidden. That isn't the case in multi-window mode
where one of the apps can be shown when locked and the other doesn't have
the show when locked flag. Only hide the other app if the keyguard is shown.

Bug: 28368875
Change-Id: I5039098db74492fadf667fed24fc58448436681a
2016-04-25 17:21:34 -07:00
Makoto Onuki
711ffe620e Merge "When app is updated, save the new version code, and update shortcuts with resource based icons." into nyc-dev 2016-04-26 00:07:59 +00:00
Eino-Ville Talvala
1f677fdeae SchedulingPolicyService: Fix UID for cameraserver
Cameraserver has been split from mediaserver, so need to use
its UID for determining whether to grant scheduling priority
change requests.

Bug: 28246165
Change-Id: I87b96e9fe0c0c38ec994d3d2aa131668d3d66986
2016-04-25 17:05:03 -07:00
Cheryl Potter
14f034a150 docs: Update SDK Manager for 2.0 changes b/26385384 am: 5f153b5
am: 559648a

* commit '559648aa17bdd5c7e088ebb9230a03e56d766166':
  docs: Update SDK Manager for 2.0 changes b/26385384

Change-Id: Ie389d18e7c71dfe6ee6814fec4974d83f00ba7a9
2016-04-25 23:52:46 +00:00
Cheryl Potter
4363c43a67 Merge "docs: Update SDK Manager for 2.0 changes b/26385384" into mnc-mr-docs
am: 0f6ab24

* commit '0f6ab24210bac24d459cc85a04f0887208f420f9':
  docs: Update SDK Manager for 2.0 changes b/26385384

Change-Id: I3eecf754f8750f0c150c82d3c5fb2eb3adf709d7
2016-04-25 23:47:28 +00:00
Cheryl Potter
559648aa17 docs: Update SDK Manager for 2.0 changes b/26385384
am: 5f153b5

* commit '5f153b5cb001697b85dd9f6baa8239bcff4bb6e3':
  docs: Update SDK Manager for 2.0 changes b/26385384

Change-Id: I363a534c8789db06cea48a15186ebdfcc7ca9861
2016-04-25 23:47:26 +00:00
Cheryl Potter
5f153b5cb0 docs: Update SDK Manager for 2.0 changes
b/26385384

Change-Id: Ib343c46bbfb6d07aea418a43ec03e992a4883980
(cherry picked from commit b558743ca3)
2016-04-25 23:35:04 +00:00
Cheryl Potter
0f6ab24210 Merge "docs: Update SDK Manager for 2.0 changes b/26385384" into mnc-mr-docs 2016-04-25 23:34:43 +00:00
Oren Blasberg
7b457455c4 Don't show icons for top level menus unless forced.
Prior to this CL, the cascading implementation would evaluate the
contents of the menu to determine whether to show an icon for this case.
However, the policy we have upheld is that top level menus should
never show an icon for this case. (Unless setForceShowIcon(true) was
called.)

Bug: 28275346
Change-Id: I09423596d49742aa7a9ba7245702c099581c0b48
2016-04-25 16:17:18 -07:00
Dirk Dougherty
5a029439be Remove static _book.yaml in favor of generated version (samples_navtree_data.cs).
Change-Id: I3c42e4573cf2b6e89c68bb32bf65a763071dc862
2016-04-25 16:10:43 -07:00
Shreyas Basarge
a4ac5ab850 Wait for JobService to start before scheduling syncs
Add code to wait for SycJobService to pass back an
instance of itself after boot before allowing syncs
to be scheduled. 

Also removes unused constant MESSAGE_SYNC_EXPIRED.

Bug: 28380795
Change-Id: I616ba5c74578a81ff1e37ba4bd1fd937ce5c006d
2016-04-25 23:04:32 +00:00
Oren Blasberg
93c195894d Show cascading popup menus if screen is big enough.
...even if in split screen mode.

Bug: 28175404
Change-Id: I63ff60090e299e48f2273477dc3b820d4d95db8d
2016-04-25 15:58:46 -07:00
TreeHugger Robot
af8be42b9f Merge "CodecCapabilities: handle legacy VP9 codecs with no profiles" into nyc-dev 2016-04-25 22:43:30 +00:00
Lajos Molnar
4710431dc4 Merge "clarify MediaCodec.setVideoScalingMode behavior" into nyc-dev 2016-04-25 22:36:55 +00:00
Felipe Leme
70c8b9b660 Tethering and Data Saver: There Can Be Only One!
If tethering is on when Data Saver mode is turned on, tethering should
be disabled, and vice-versa.

BUG: 28313291
Change-Id: I7f3dadbd97ea1492ab76b41043dea7487c1db02d
2016-04-25 15:36:25 -07:00
TreeHugger Robot
b59beffa89 Merge "Fixed issue with wrong stack fullscreen state on configuration change" into nyc-dev 2016-04-25 22:27:58 +00:00
TreeHugger Robot
68d180bbd1 Merge "Check for null drawable during LayerDrawable.jumpToCurrentState()" into nyc-dev 2016-04-25 22:10:37 +00:00
Jeff Sharkey
436308f88b Merge "Destroy both CE and DE data when corrupted." into nyc-dev 2016-04-25 21:59:59 +00:00
Jeff Sharkey
3a10c1e86d Merge "Track down Contexts without data directories." into nyc-dev 2016-04-25 21:59:41 +00:00
TreeHugger Robot
57413a7477 Merge "Make fake libart for misbehaving apps be loaded." into nyc-dev 2016-04-25 21:53:31 +00:00
Amith Yamasani
1d66995f47 Merge "Fix deadlock between VrManager, ActivityManager and WindowManager" into nyc-dev 2016-04-25 21:37:17 +00:00
Chong Zhang
98afb342df Merge "Wait for next app to be visible if current activity is marked visible" into nyc-dev 2016-04-25 21:13:29 +00:00
Wale Ogunwale
5952f9aea4 Fixed issue with wrong stack fullscreen state on configuration change
- No need to run TaskStack#updateBoundsAfterConfigChange if the stack
is fullscreen as the bounds will already be updated to when the display
content changed due to rotation.
- Correctly set mTmpRect2 that we are using to calculate the rotated
bounds to the current mBounds.

Bug: 28319277
Bug: 27870534
Change-Id: Ic3d9407b735210351c28297de79bf035909afcfe
2016-04-25 14:04:04 -07:00
Jorim Jaggi
df89cd1b39 Merge "Fix bug with cancelled drag" into nyc-dev 2016-04-25 20:59:40 +00:00
Chris Wren
076bddde4b cancel group children before summaries
Bug:28190616
Change-Id: I1b716417119cfa3f4ffdd159ab5197cbfa714a8d
2016-04-25 16:44:53 -04:00
Felipe Leme
af096719c0 Don't opt-out of warning dialog by default on user builds.
BUG: 28341946
Change-Id: I9ce6bf52a02a14055d4ded41aac50c79abdb4ee9
2016-04-25 13:41:28 -07:00
Ruben Brunk
f56c9f432b Add manifest attribute for VR activities.
- Allow jank-free VR->VR activity transitions, even during
  long activity transitions.

Bug: 28115931
Change-Id: I1e3fd1a5245bac3433ea6282cb1c7a71f0e0266f
2016-04-25 13:32:03 -07:00
Lajos Molnar
a477a6e288 clarify MediaCodec.setVideoScalingMode behavior
Bug: 28131249
Change-Id: I4fd3a5333cbdc0ebec683c9a43ce071478a79d90
2016-04-25 13:28:53 -07:00
Lajos Molnar
8acc164738 CodecCapabilities: handle legacy VP9 codecs with no profiles
Bug: 26935336
Change-Id: I1049b9da8e6c984f86e307990000401b66119693
2016-04-25 13:28:06 -07:00
Chong Zhang
592bf0b7d5 Wait for next app to be visible if current activity is marked visible
WM's AppWindowToken.updateReportedVisibilityLocked() may not report
nowVisible if the app has animation set. So nowVisibible could be false
for a while after the app is already on screen. If we finish the app in
this state, we still need to wait for next app to be visible.

bug: 28019637
Change-Id: I4f9f8e138f5d011a9ab393913159ed2978d26e0d
2016-04-25 20:24:18 +00:00
Dongwon Kang
0751a83a99 Merge "TIF: Be consistent with argument name for startRecording" into nyc-dev 2016-04-25 20:16:22 +00:00
Dongwon Kang
0cb5244e52 TIF: Be consistent with argument name for startRecording
Change-Id: Icb0125049cc92c5664e0810cdb86f1cb0903405f
2016-04-25 13:15:18 -07:00
Jeff Sharkey
c79a568f18 Merge "API changes for DownloadManager and JobScheduler." into nyc-dev 2016-04-25 20:14:59 +00:00
Kweku Adams
3cabb2a6b3 Merge "Removing extraneous field from batterystats dumpsys." into nyc-dev 2016-04-25 20:09:41 +00:00
Jorim Jaggi
f300badbf1 Fix bug with cancelled drag
Bug: 28257206
Change-Id: Ic7342f4284185486e884836220b05423e308f7ae
2016-04-25 13:00:27 -07:00
Janis Danisevskis
b25a17b3ea Clarifies that filesystem permission 0700 is not enforced as an invariant
The 0700 permission on apps' home directories is not
enforced as a invariant. This change to the behavior
changes documentation reflects this.

Change-Id: I2257796b804574f3c6c7d273957625f4458fe81b
2016-04-25 20:35:08 +01:00
Jorim Jaggi
4a9653841b Merge "Fix stuck windows in multi-window" into nyc-dev 2016-04-25 19:33:40 +00:00
Jorim Jaggi
dbe44ac48d Fix stuck windows in multi-window
Window manager checked for the full display size so isHiddenFromUserLocked
always returned true but activity manager and other places in window manager
thought it would be visible which created a really weird state.

Bug: 28344326
Change-Id: I98daefbcc64bf7a5196588c25d2cbc5ee046a77d
2016-04-25 12:31:17 -07:00
Jorim Jaggi
17178d95f2 Merge "Fix layout for child windows" into nyc-dev 2016-04-25 19:29:41 +00:00
Jorim Jaggi
5f23a57707 Fix layout for child windows
Turns out that we also need to fit child windows to display in all
cases except NO_LIMITS is set.

Bug: 27991404
Change-Id: I34a12bbf9d0169bdb770e0e96f4b994146063e90
2016-04-25 12:24:57 -07:00
Jeff Sharkey
02179da30e Destroy both CE and DE data when corrupted.
When we find either a CE or DE data directory that has been corrupted,
destroy both CE and DE data together, since internal services like
AccountManager get confused if they find DE data without matching CE
data.

Bug: 28346537
Change-Id: Iaf3694c20e4664536af25a2afeb45fe8a90d8171
2016-04-25 13:23:32 -06:00
Daniel Sandler
955009f9d3 Merge changes from topic 'substitute-notification-app-name' into nyc-dev
* changes:
  Move EXTRA_SUBSTITUTE_APP_NAME to the published system api.
  Show "Android System" instead of "System UI" in screenshot notifications.
2016-04-25 19:22:40 +00:00
Daniel Sandler
4c40888673 Merge "Tap, don't touch." into nyc-dev 2016-04-25 19:21:46 +00:00
smain@google.com
8ac737db37 Update the N Preview docs now that Studio 2.1 is stable.
bug: 28342771

Change-Id: I73ee710928e4270ffe8212ca16b42d28b738949e
2016-04-25 19:21:21 +00:00