239661 Commits

Author SHA1 Message Date
Jorim Jaggi
5ac2ba25ce Fix a small issue with IME adjustment
For some keyboards, display frame is the same as the fullscreen, because
the way they layout their stuff is different. In such cases, the stack
bounds were moved too far.

Bug: 28126905
Change-Id: Id3c2c8d9d16e27634006a8ef70d35d8826302da0
2016-04-12 18:10:29 +00:00
Chad Brubaker
2df5ba777a Document when usesCleartextTraffic is ignored.
In N and above when using an Android Network Security Config the
cleartext configuration from that is used and
android:usesCleartextTraffic in the manifest is ignored.

Bug:27596429
Change-Id: I50ec765cead6cfd6bbaec585723f99d72e0fd945
2016-04-12 11:07:51 -07:00
Winson
da8d2285e5 Fixing issue with scrolling tasks upwards
- When scrolling the stack away from the task overrides, we should 
  actually lock the stack scroll and instead apply the changes in scroll
  to the override tasks.

Bug: 27376567
Change-Id: Idd1874ab0f6f5eb273bf6e9623b84277961f4291
2016-04-12 18:05:28 +00:00
Jorim Jaggi
38b5ec9f08 Fix some serious pre draw listener leaks
These were responsible for a huuge memory leak, and probably also
responsible for some significant amount of jank when using the
device for a while.

Bug: 26400906
Change-Id: Ie4140998ad288583c6a4137954fab4fe9a6f2cf7
2016-04-12 18:05:03 +00:00
Felipe Leme
e1b1ce77da Merge "Minor improvements useful for debugging." into nyc-dev 2016-04-12 17:56:01 +00:00
Jason Monk
a2bd0460d7 QS animation: fix clearing translation state
Change-Id: I0477136c6eb4da4e10e152e458fada194c8290f0
Fixes: 27880443
2016-04-12 13:55:16 -04:00
Makoto Onuki
b6d3523dfb ShortcutManager: Address API review feedback.
- "delete" -> "remove"
- add/deleteDynamicShortcut() now takes a list.
- Throttling default settings is now 2 calls / hour.

- Add categories to ShortcutInfo.
- getIconResourceId() is now public

Bug 27923857
Bug 27548047

Change-Id: I8457b30e4b2f7c63ab2988648b37178fd16ea45b
2016-04-12 10:35:20 -07:00
Samuel Tan
143a9333dc Merge "Remove config_wifi_hal_pno_enable and config_wifi_ssid_white_list_enable" into nyc-dev 2016-04-12 17:13:28 +00:00
Alexander Hills
e3f3cb1048 Merge "Fixes name of intent launch flag for Action Extender" into nyc-dev 2016-04-12 17:10:19 +00:00
Jason Monk
98d7c7a84d The return and fixing of demo mode
Change-Id: I2bcf3435b92c80b4ab3c46cba02902820c942c7c
Fixes: 27919212
2016-04-12 13:08:31 -04:00
Clara Bayarri
d922554f9d Merge "Fix empty state Chooser Activity UX" into nyc-dev 2016-04-12 17:02:27 +00:00
Jeff Sharkey
a6e38e4430 Merge "Another protected broadcast." into nyc-dev 2016-04-12 17:01:25 +00:00
Clara Bayarri
741c519c6e Fix empty state Chooser Activity UX
Bug: 26261965
Change-Id: I07680f70442a2f04dfd41d49ba4be327b9ccb38e
2016-04-12 17:52:09 +01:00
Mitchell Wills
eb8578cc89 Merge "Update WifiScanningService class name to new location" into nyc-dev 2016-04-12 16:45:34 +00:00
Ricky Wai
321cfa3791 Merge "Add tests for profile keys in LockSettingsStorage" into nyc-dev 2016-04-12 16:42:56 +00:00
Jason Monk
23d4ccf119 Rename home to settings home
Change-Id: Ie80e71353078431ce1e71e2f9f80b98eae4398b7
Fixes: 27834453
2016-04-12 12:42:30 -04:00
Steve McKay
151f4b9b30 Merge "Tint current root icon." into nyc-dev 2016-04-12 16:41:50 +00:00
Jason Monk
4e540f905d Merge "Update system icon" into nyc-dev 2016-04-12 16:36:17 +00:00
Jason Monk
f306f85cae Merge "Settings dashboard performance work" into nyc-dev 2016-04-12 16:35:45 +00:00
Mady Mellor
2d2ec882c8 Merge "Fix gear not showing on left hand side of notification" into nyc-dev 2016-04-12 16:35:33 +00:00
Alan Viverette
0f0ffb0450 Merge "Default font scale is 1 if not otherwise specified" into nyc-dev 2016-04-12 16:29:28 +00:00
Jeff Sharkey
e9c752aa37 Another protected broadcast.
Bug: 28133722
Change-Id: I5fe8158a3c66168e1c5482711a487eba55876b73
2016-04-12 10:28:19 -06:00
Adam Powell
f763ea3b05 Merge "Fix: ResolverActivity sometimes cannot update the last chosen activity" into nyc-dev 2016-04-12 16:24:36 +00:00
Diego Perez
37e16f8e3b Merge "Fix broken delegates for FontFamily and PathParser" into nyc-dev 2016-04-12 16:24:22 +00:00
Yohei Yukawa
cd1e1de4ce Merge "Make sure that Toast is always shown by Meta-Space." into nyc-dev 2016-04-12 16:22:48 +00:00
Jason Monk
39bfdaf208 Update system icon
Change-Id: I5f6422e2a9cdc308ad8818fa554d8d421a188de6
Fixes: 24326872
2016-04-12 12:21:40 -04:00
Diego Perez
a0a51b6fb6 Fix broken delegates for FontFamily and PathParser
The theme editor is throwing an exception with the last embedded
layoutlib because a missing method. Added also another missing method in
FontFamily.

Change-Id: I710ba7618df6444a3185b581cdc5dc8400f7c604
2016-04-12 17:21:00 +01:00
Yuichi Biwa
66e495e647 Fix: ResolverActivity sometimes cannot update the last chosen activity
Symptom:
Calling startActivity() with an implicit intent,
ResolverActivity displays preferred activity candidates.
At first user selects one of them as "JUST ONCE".
And next, the last one is shown again on the top with "JUST ONCE" and
"ALWAYS".

But even if user selects another ones except top with "JUST ONCE".
Next time, the last one is not shown on the top.
Instead of that, first one still remain on the top.

It means that user can't select activities as "ALWAYS"
except first one.

Root cause:
The implicit intent has a URI but not MIME type.
In this case, Intent#resolveTypeIfNeeded returns "null".
So MIME type is not passed to PackageManagerService.
That's why this issue happens.

Change-Id: I87b6da9c5d8b47e071bbedf9f7d5f3ecea730875
2016-04-12 09:18:20 -07:00
Yi Kong
0755fc6c61 Track libcore change 2115cc0ca7d60965a361129d8826478ff2d847e4
Bug: 28108421
Change-Id: I774f264bf538b0fa2aac63c8e5225f82d7b03c2e
(cherry picked from commit 5182e272ad7b14604dc4d90114d97cf238140178)
(cherry picked from commit 05a77eee41804fc135cd43a7dfb8125c3365b0e2)
2016-04-12 17:12:26 +01:00
Yang Ni
44d1b3bfba Destroy Closures in ScriptGroup
Bug: 27973681

Implemented correct destruction in ScriptGroup.destroy() and
Clsoure.destroy(), which properly destroys child BaseObj's.

Change-Id: I946f62c2979d6a338b8883514cacad472a213c5c
(cherry picked from commit 44e2f45f0cab4a429e59f07c1e5bf0eef08c7819)
2016-04-12 09:01:44 -07:00
Alex Hills
4ec3ff4f8f Fixes name of intent launch flag for Action Extender
Changes the name from set/getHintContentIntentLaunchesActivity
to set/getLaunchesActivty

Change-Id: I8ef879ae82cc360163fcd689eb5fad0d2b9d7db0
2016-04-12 11:44:36 -04:00
Jason Monk
557c716a3a Merge "Guard against crashes from data saver listeners" into nyc-dev 2016-04-12 15:39:09 +00:00
Julia Reynolds
a20e8f314f Merge "Return everything but an autogroup summary." into nyc-dev 2016-04-12 15:33:21 +00:00
Julia Reynolds
a3dc1fb0b7 Remove category from managedservices.
Bug: 27976092
Change-Id: Ic6303b95fc6d612e83f3a42a933ae94bd7c17255
2016-04-12 11:28:48 -04:00
Julia Reynolds
4c4ad595dd Return everything but an autogroup summary.
Bug: 28132467
Change-Id: I9a6df6d3e876af00a9ef6fc8ed702ed8342c751a
2016-04-12 11:28:48 -04:00
Chris Wren
9bb991a3bb Merge "remove special case code for groups." into nyc-dev 2016-04-12 15:25:16 +00:00
Mark Renouf
bbc98232f3 Merge "Customizes input extract edit view for Wear" into nyc-dev 2016-04-12 15:18:18 +00:00
Gustav Sennton
ce2cb7630c Merge "Add initial unit tests for WebViewUpdateService." into nyc-dev 2016-04-12 15:17:05 +00:00
Mark Renouf
91eb2651a0 Customizes input extract edit view for Wear
Provides an alternate presentation of the extract edit area
of an input method window, designed for sub 250dp width screens.

An icon is used on a round material style button in place of a text
action, providing more horizontal space for the editing area.

BUG: 28098677
(cherry picked from commit fd71a6a5d99bad5d3ab32edc328fb5b026b66215)

Change-Id: I0e559d17f78d1a48b37979a49e11ae1aad7503f4
2016-04-12 15:05:13 +00:00
Daniel Sandler
064e612779 Merge changes from topic 'vr-fixes' into nyc-dev
* changes:
  Suppress immersive mode confirmation in VR mode.
  Suppress heads-up notifications in VR mode.
2016-04-12 14:57:41 +00:00
Alan Viverette
04fd67cb8e Default font scale is 1 if not otherwise specified
Prevents the previous user's font scale from being used as the default.

Bug: 27187556
Change-Id: I51a66ddf2d6272bd74d433158db1c8cc54b45b6d
2016-04-12 10:54:04 -04:00
John Reck
d2eec0efb2 Merge "Framework-side of SurfaceView#getBitmap" into nyc-dev 2016-04-12 14:36:11 +00:00
Jason Monk
b0ae8f8209 Settings dashboard performance work
- Allow rebuilding apps not in the foreground
 - Allow rebuilding apps without a comparator
 - Initially apply current configuration so we don't immediately clear
   tile cache

Change-Id: I8d57f7e8f7fa119915bf6fdc8ece8bee976edbdc
Fixes: 26541310
2016-04-12 10:30:43 -04:00
Erik Kline
071b6dfdee Trigger enabling of NDO when startProvisioning() is called.
Bug: 26238390
Bug: 27598285
Change-Id: I1f63bdd27defd43f994d259d07a943872df4f47c
2016-04-12 23:01:23 +09:00
Chris Wren
8ab776cd90 remove special case code for groups.
Once all the platforms as special, none of them will be.

Bug: 26919636
Change-Id: I70eb05126184feb2af310e71f0ffd82ab9dcebc6
2016-04-12 09:31:17 -04:00
Gustav Sennton
53b78241ff Add initial unit tests for WebViewUpdateService.
The logic in the WebViewUpdateService is now more complex and there
are lots of edge cases that should be tested to make sure we don't
regress anything.

Also refrain from running fallback logic on boot if fallback logic not
enabled (bug found through a failing test, yeeah buddy!).

Catch uncaught MissingWebViewException (very timing-dependent!) and add
test for this.

Add tests for:
Some package setups (single package, non-default vs. default packages,
    valid vs. invalid packages).
Ensure correct error codes used
Switching provider through settings-method
Switching provider through adding more prioritized provider
Switching provider in the middle of already running webview preparation
Ensure fallback logic is run when enabled and not run when disabled (at
    boot, packageStateChanged, and when adding a new user).

Bug: 27635535

Change-Id: I275ecb0f6129f71258da0fa053e7f7b36a675886
2016-04-12 14:25:38 +01:00
Paul Jensen
2324373124 If Internet probe is redirected, pass redirect destination to NetworkAgent.
Transport may use the redirect to make additional determination about network
state.

Bug: 25203607
Change-Id: I07d8918f13fdcbe0b6fd757536bfc1850a2a244f
2016-04-12 08:54:36 -04:00
Shubham Ajmera
68b19f2778 Merge "Track libcore change 135ea6cd4f7ebe2f225351a1928d8a62bce5cb00" into nyc-dev 2016-04-12 12:23:01 +00:00
Gustav Sennton
67dd51831e Merge "Add more checks for invalid states when reading webview packages config." into nyc-dev 2016-04-12 11:43:20 +00:00
Oleksandr Peletskyi
26e3385508 Merge "Fixed cross profile usage of TextClock." into nyc-dev 2016-04-12 11:33:19 +00:00