233674 Commits

Author SHA1 Message Date
Wale Ogunwale
70c0817b76 Merge "Only copy layout param title if it is different from the current one." into nyc-dev 2016-02-23 16:01:23 +00:00
David Brazdil
d6fd63d47f Revive the "Optimizing apps" dialog
Since we do spend some non-trivial time extracting APKs at OTA, we
should show a descriptive dialog. Currently the screen would read
"Optimizing storage" which is misleading.

bug:26813999

Change-Id: I4954e3b486840b5d806db8b45242fdc8ca9d0379
2016-02-23 16:01:00 +00:00
Wale Ogunwale
1f240c9fbf Only copy layout param title if it is different from the current one.
Fixes WindowManager_LayoutParamsTest failure introduced in ag/866860

Bug: 27297744
Change-Id: I27ebf5d35b074d6b9c1634bc7cd18bba2844352e
2016-02-23 07:54:03 -08:00
Wale Ogunwale
fa52124d1e Merge "Make accessing mWaitingForDrawn thread-safe" into nyc-dev 2016-02-23 15:53:00 +00:00
Jorim Jaggi
5e6968db63 Fix disappearing windows after moving divider to side
Because we only hide the surface when the clip rect got empty
but never showed it again if it got non-empty, app windows
disappeared after moving the docked stack divider to the
edge of the screen. Now we reshow the surfaces if the clip-rect
gets non-empty.

However, this introduces another bug while dismissing the docked
stack: Because we move all windows to the fullscreen stack, we resize
them but until the app transition starts, it can take a while and
during this time the app surface would be visible with the wrong
bounds. To fix this, we notify the windows that we are repositioning
ourselves in our stack. When applying the clip-rect, we detect that
situation and then we set the clip rect to empty if it was just empty
before and we just moved in the stack, to fix this very specific
issue.

I'm really not proud of this solution but at this point we can't
revisit how app transitions are executed in terms of timing and
ordering, so I thought this little hack is the best solution at
this point.

Bug: 26588506
Change-Id: I78305f7f7ef6c3da3c126a58d751117fcee23ca9
2016-02-23 10:50:55 -05:00
Jorim Jaggi
8fa4522b24 Recents transition fixes
- Make sure to destroy the saved surfaces while we resize a task. The
usual destroying mechanism doesn't work here because we don't add the
windows to WMS.mResizingWindows.
- Make sure not to save the surface when a resize happened after the
window has been marked as gone (exiting). In this case, we resize the
task, so we add the window to mResizingWindows, but then when we don't
layout the window because win.isGoneForLayout() == true, so it would
save a surface that has the wrong size.
- Ensure the configuration of the top task when dismissing the docked
stack. First, this speeds up when the user navigates to it in the
fullscreen stack. Second, it fixes some other weirdness with saving
surfaces.
- Only exclude windows from layout when hidden is requested, so when
transitioning from hidden -> shown, the app immediately gets the
updated size when the task was resized when the window was hidden.

Bug: 27276087
Change-Id: I6faf016724136d984b259d184af58d41684f3425
2016-02-23 10:50:34 -05:00
tiger_huang
826a2c12a6 Make accessing mWaitingForDrawn thread-safe
mWaitingForDrawn can be accessed by multiple threads, but it was not
protected by the mWindowMap lock perfectly.

Change-Id: I128ba1a00f40af83b051c0d1df4350d0635a9dff
2016-02-23 07:49:21 -08:00
Vadim Tryshev
e2f0f73591 Merge "Don't show UNLOCK button when there are no users." into nyc-dev 2016-02-23 15:40:08 +00:00
Jesse Hall
791a7df8b2 Merge "PackageManager: add Vulkan system features" into nyc-dev 2016-02-23 15:11:52 +00:00
Kenny Guy
0a6909cdfd Merge "Don't load profile widgets until parent is unlocked." into nyc-dev 2016-02-23 15:09:02 +00:00
Kenny Guy
63f4ef0b7d Don't load profile widgets until parent is unlocked.
Wait for parent user to be unlocked before attempting
to load widgets for a user.
Fixes issue with profile being unlocked and AppWidgetServiceImpl
thinking it has loaded parents widgets while locked and
therefore not seeing any widgets.

Bug: 27037962
Change-Id: Ice9c5e6e1dd062a622c5f984eeb3531de893f9be
2016-02-23 14:55:01 +00:00
Julia Reynolds
bdcc9b77c8 Merge "Scale volume panel with density changes." into nyc-dev 2016-02-23 14:51:35 +00:00
Alan Viverette
e44310cd95 Merge "Fix build" into nyc-dev 2016-02-23 14:44:25 +00:00
Alan Viverette
64eed5b1ee Fix build
Change-Id: I61a63e66831bbbcade17b3656f9ec18ced8ad628
2016-02-23 09:00:26 -05:00
Benjamin Franz
72283fdb61 Merge "Make user provisioning state SystemApi" into nyc-dev 2016-02-23 13:51:08 +00:00
Benjamin Franz
eed2a8e165 Make user provisioning state SystemApi
These APIs are used by the SUW. To go with the convention that all SUW
APIs should be SystemApi, adding it to these ones.

Bug: 25858670
Change-Id: Icffc9cdc13fa87da3543d92308f87dd0c9764c81
2016-02-23 13:02:57 +00:00
Diego Perez
7eeacc27e3 Fix FontFamily nAddFontWeightStyle in nyc
Change-Id: I156812384c758edbd6efa23fd18a0ce7b9b82993
2016-02-23 12:20:11 +00:00
Toby Sargeant
cf7518f78a Merge "add @SystemApi to WEBVIEW_MULTIPROCESS to enable it to be used in WebView glue" into nyc-dev 2016-02-23 10:35:09 +00:00
Tony Mak
38e638696a Merge "Update javadoc of DISALLOW_OUTGOING_CALLS" into nyc-dev 2016-02-23 10:24:50 +00:00
Liejun Tao
9ef7634fa9 DO NOT MERGE Bluetooth: Restrict gain for Absolute volume case
For the lowest music volume steps 1 and 2, restrict the gain to 50% and
75%. This will avoid the lowest volume steps being too loud for some
accessories. For music volume 0, set phone gain to 0 as some
accessories won't mute on their end.

Change-Id: I24e0fa7be8c8635b428a11c91ea153aad7cec55f
Signed-off-by: Liejun Tao <baibai@motorola.com>
2016-02-23 01:07:29 -08:00
Pavel Zhamaitsiak
02b3e6bfc5 Add Connectivity Metrics Logger service
This service can be used to pass events to metrics collection service

Change-Id: I213874300693cd121f2c8676f70893315de4c4c0
2016-02-23 17:32:53 +09:00
Lorenzo Colitti
2a452d48d5 Merge "Add a unit test for MessageUtils." into mm-wireless-dev
am: 6f027b4f06

* commit '6f027b4f0651837877e0f291bbf121436dfe3958':
  Add a unit test for MessageUtils.
2016-02-23 07:49:06 +00:00
Lorenzo Colitti
6f027b4f06 Merge "Add a unit test for MessageUtils." into mm-wireless-dev 2016-02-23 07:43:40 +00:00
Seigo Nonaka
ae90f5ff23 Merge "Stop unexpected truncation of suggestion items." into nyc-dev 2016-02-23 06:26:41 +00:00
Tomasz Mikolajewski
0d47cd2912 Merge "Cleanup error handling in jobs." into nyc-dev 2016-02-23 06:00:11 +00:00
Jae Seo
b1f7fab4e4 TIF: Hide android.permission.READ_TV_LISTINGS
Bug: 21959866
Change-Id: Ie0e36749b8fe86faebadfaab4ebe5847fac3c343
2016-02-22 21:35:32 -08:00
Wei Wang
a360443cdc Merge branch 'nyc-dev' of /usr/local/google/game/mirror/googleplex-android_googlesource_com/platform/frameworks/base into nyc-dev 2016-02-23 05:14:27 +00:00
Wei Wang
f89786f31c Merge "Disallow duplicate listeners for WifiScanner." into mm-wireless-dev
am: 3c0d65de0b

* commit '3c0d65de0bbd7889f340aca4a45e55972de5896f':
  Disallow duplicate listeners for WifiScanner.
2016-02-23 05:13:19 +00:00
Steve McKay
6738b2930c Merge "Don't enable move to for non deletable selections." into nyc-dev 2016-02-23 05:12:39 +00:00
Wei Wang
3c0d65de0b Merge "Disallow duplicate listeners for WifiScanner." into mm-wireless-dev 2016-02-23 05:09:38 +00:00
Steve McKay
27d20a3024 Don't enable move to for non deletable selections.
Bug: 27135562
Change-Id: Id09b4c9d4f9836a4e5b2f66b8cbad63be9bb62b3
2016-02-22 21:08:37 -08:00
Selim Cinek
84e6de7778 Fixed a bug where QS could fling up even when collapsing
We previously changed the touch logic to always fling even when
the panel is fully expanded, but that lad to an issue when it didn't
even start to expand.

Bug: 26255211
Change-Id: I8c991a0a19b49eb405b8efc2d69baf29c709b363
2016-02-22 20:57:43 -08:00
Shawn Willden
c38eae5229 Revert "Revert "Add option to allow key validity after fingerprint enrollment.""
This reverts commit 512c132f49fc6e8e4fc119f4cf167d33b2393509.

Change-Id: Iac381dfebcfe42f0468569eb2395ebeb97a95887
2016-02-22 20:38:00 -07:00
Dianne Hackborn
76c970de3c Merge "Fix issue #26695393: Remove NEW_PICTURE and NEW_VIDEO broadcast" into nyc-dev 2016-02-23 03:26:48 +00:00
Dianne Hackborn
eae30ff004 Merge "Add ability to separately disable light and deep idle." into nyc-dev 2016-02-23 03:26:36 +00:00
Arunesh Mishra
78c0704d25 Merge "Unload logic for generic and keyphrase sound models." into nyc-dev 2016-02-23 03:11:18 +00:00
Svetoslav Ganov
5cd52bee32 Merge "Expose removed permissions flag as system API" into nyc-dev 2016-02-23 02:21:01 +00:00
Roshan Pius
0ea54a81df IpConfigStore: New constructor to accept writer
am: 718df42b23

* commit '718df42b23e7913dad7f9520a2f2c6810c33c956':
  IpConfigStore: New constructor to accept writer
2016-02-23 02:19:40 +00:00
Svet Ganov
2a1376d9df Expose removed permissions flag as system API
There are some permissions that were removed from the platform
and guard nothing but legacy apps may be checking them before
calling APIs. Hence, these apps should get the permissions as
expected despite them being a no-op. To address this the platform
declares removed permissions as normal permissions that are hidden
such that legacy apps can always get them. These permissions are
not shown in the UI. Play needs a way to filter out these
permissions like the platform as they have permissions UI too.

bug:23361760

Change-Id: I10f442dfc09a299ddc5480d8bf2db0bd786aec62
2016-02-22 18:10:49 -08:00
Tomasz Mikolajewski
0fa97e85e4 Cleanup error handling in jobs.
Change-Id: Icf6a7aad1b84dc92285064810776239e93494e38
2016-02-23 10:36:19 +09:00
Jean-Michel Trivi
5affc2b587 Make android.media.AudioFormat parcelable
Bug 22876530

Change-Id: If027715aad32ce8796a7e223ba51c301a3dd1192
2016-02-22 17:29:32 -08:00
Wale Ogunwale
f5725e6501 Merge "Fixed bug with non-focusable stack activity not displaying on start." into nyc-dev 2016-02-23 01:25:04 +00:00
Roshan Pius
718df42b23 IpConfigStore: New constructor to accept writer
Add a new constructor to accept a DelayeDiskWrite object from the
caller.

BUG: 27293150
Change-Id: I13fb86c76ee5a0d05b45fec0c42b7e1b2233ee76
TEST: `runtest frameworks-wifi`
2016-02-22 17:13:47 -08:00
Jesse Hall
f77a34fa17 PackageManager: add Vulkan system features
FEATURE_VULKAN_HARDWARE_FEATURES describes the feature set supported
by the device hardware and driver. FEATURE_VULKAN_HARDWARE_VERSION
describes the Vulkan API version supported by the driver, which may be
lower than the API version supported by a particular Android release.

Bug: 26583896
Change-Id: Ia3e6be496abf631cb677eb838d632d3c7b4dd24b
2016-02-22 16:59:13 -08:00
Selim Cinek
9d120733a6 Merge "Added fake shadows in order to have the shadow nicely fade in" into nyc-dev 2016-02-23 00:59:06 +00:00
Selim Cinek
99cb334645 Merge "Fixed the usage of the menu key to unlock" into nyc-dev 2016-02-23 00:58:53 +00:00
Selim Cinek
1a3ca220f7 Merge "Fixed a bug where the numpad wasn't working correctly" into nyc-dev 2016-02-23 00:56:09 +00:00
Selim Cinek
3f94c21c8a Merge "Allow dismissal of sensitive notification" into nyc-dev 2016-02-23 00:55:59 +00:00
Selim Cinek
5a25783d33 Merge "Fixed a bug with public notifications" into nyc-dev 2016-02-23 00:55:49 +00:00
Selim Cinek
dd9a8017e4 Merge "Fixed a bug where the dozemode was incorrectly applied" into nyc-dev 2016-02-23 00:55:38 +00:00