34687 Commits

Author SHA1 Message Date
Svetoslav Ganov
f73adb6c72 Sanitize app op service inputs
bug:26587386

This reverts commit 9888e00b7a36cd03821001a58e4ff86224e3d858.

Change-Id: I37069b6eb50ee1a1b29d6f116e96ad9f226883c9
2016-03-31 20:02:06 -07:00
Prashant Malani
10ace25816 Merge "Make display brightness ramp rate fast configurable" into nyc-dev 2016-04-01 00:59:02 +00:00
Lorenzo Colitti
f5120236c4 Merge "Honour the DHCP MTU option." into nyc-dev 2016-04-01 00:55:08 +00:00
Sunny Goyal
2c7238e832 Merge "Sending WALLPAPER_CHANGED broadcast when live wallpaper changes" into nyc-dev 2016-03-31 21:59:37 +00:00
Ruben Brunk
8f7e3815e7 Merge "Grant default permissions to preinstalled VrListenerServices." into nyc-dev 2016-03-31 21:57:04 +00:00
Jeff Sharkey
ae310b4618 Merge "Skip mounting sdcardfs in core mode." into nyc-dev 2016-03-31 21:49:54 +00:00
Jeff Sharkey
6855c48093 Skip mounting sdcardfs in core mode.
There's no point in mounting it, since it's living on top of a tmpfs
that will be discarded in a few moments once the user authenticates.

Bug: 27932087
Change-Id: I2df2da0136eac6cc27aa402fb9b00cfd23d562a8
2016-03-31 15:48:57 -06:00
Chong Zhang
c3af194138 Merge "Clear deferRelaunchUntilPaused flag after activity relaunch is performed" into nyc-dev 2016-03-31 21:38:52 +00:00
Vladislav Kaznacheev
99a3ee13f4 Merge "Replace drag and drop mouse pointer shape" into nyc-dev 2016-03-31 21:27:19 +00:00
Fyodor Kupolov
406101ec11 Merge "Set build fingerprint for the new user" into nyc-dev 2016-03-31 21:22:03 +00:00
Chong Zhang
225d1b6334 Clear deferRelaunchUntilPaused flag after activity relaunch is performed
We set deferRelaunchUntilPaused when a relaunch is delayed due to the app
in pausing state, but this flag is not cleared after it's relaunched upon
paused. After that every time the app is paused, it relaunches again.

Change-Id: Ib98956e0760b3c4fe108d93f5c7843e2cbd313de
related-to: b/27834014
2016-03-31 14:12:51 -07:00
Alan Viverette
b4e7b545a2 Merge "Remove DayNight theme" into nyc-dev 2016-03-31 21:04:10 +00:00
Sunny Goyal
0572e1847a Sending WALLPAPER_CHANGED broadcast when live wallpaper changes
Bug: 27947401
Change-Id: Ib4fb3310e124e01d8fb7d7045d565ca3b9456050
2016-03-31 13:51:10 -07:00
Felipe Leme
1f44c75e2e Merge "Save whitelist status of all apps." into nyc-dev 2016-03-31 20:33:12 +00:00
Fyodor Kupolov
83c2424141 Set build fingerprint for the new user
This change will prevent PRE_BOOT_COMPLETED from being sent to new users

Bug: 27939609
Change-Id: I0e49a467c792c972e0e3fc76e06842a80810e14b
2016-03-31 13:30:42 -07:00
Vladislav Kaznacheev
acaa4a22e1 Replace drag and drop mouse pointer shape
Use PointerIcon.STYLE_GRABBING (closed hand) instead of 
PointerIcon.STYLE_GRAB (open hand) while drag by mouse is in progress.

Bug:27946394
Change-Id: I56089b2c2cc5d1271df059832282725a886fc982
2016-03-31 20:19:36 +00:00
Alan Viverette
ae4908f41c Remove DayNight theme
Bug: 21854466
Change-Id: I739872112d0ae457d0d4620f9222206072d54b4b
2016-03-31 16:18:27 -04:00
Chris Tate
9c4ec06988 Merge "API review: WallpaperManager" into nyc-dev 2016-03-31 19:24:42 +00:00
Vladislav Kaznacheev
b7d08c3f3c Merge "Add wallpaper input consumer to WindowManagerService" into nyc-dev 2016-03-31 18:43:16 +00:00
Vladislav Kaznacheev
0d50d8660d Add wallpaper input consumer to WindowManagerService
This is an input consumer similar to the one used when hiding the navbar,
but placed above wallpapers. It might be useful for processing touch
events over "desktop" in freeform MW mode.

Re-landing I9d6d28a624f750ad48fc39f9b149dd1f989cceba after fixing build.

Bug:26688904
Change-Id: I89fdabd9c72cdd4a1d7ca626c33ddc99ddea97f9
2016-03-31 18:42:22 +00:00
Robin Lee
f1fe782e91 Merge "API to approve CA certificates" into nyc-dev 2016-03-31 18:26:32 +00:00
Andreas Gampe
4c0dbb5b8e Merge "Package Manager: Use new DexFile function to upgrade filter" into nyc-dev 2016-03-31 18:13:07 +00:00
Ruben Brunk
ee1062e4c0 Merge "Include VR throttling limit in hardware properties." into nyc-dev 2016-03-31 18:03:37 +00:00
Felipe Leme
01e05e741e Save whitelist status of all apps.
When app is asked to be whitelisted (or removed from the whitelist),
NMPS checks if the app has internet permission, since if it doesn't the
firewall rules do not need to be changed.

But even if the optimization kicks in, it should still mark the app as
whitelisted, otherwise it will leave to inconsistencies like the UI
never displaying it as whitelisted.

BUG: 26685616
Change-Id: I6e287092d7bf8b7aa3a1bda707b58b128a22bffa
2016-03-31 10:09:24 -07:00
Joe Onorato
d0f83b7bca Merge "Include process state in association tracking" into nyc-dev 2016-03-31 17:09:24 +00:00
Robin Lee
2f7e1e487c API to approve CA certificates
Bug: 18224038
Change-Id: Id928872cd70dac5a5ecfdcd52150fe6dea544e3b
2016-03-31 18:06:44 +01:00
Victor Chang
e04ac3d7d2 Merge "Unit test for isProvisioningAllowed" into nyc-dev 2016-03-31 17:04:38 +00:00
John Reck
c48dd5d81e Merge "Expand JankTracker" into nyc-dev 2016-03-31 16:49:29 +00:00
Wei Liu
2049029068 Merge "Start the Wear bluetooth service in SystemServer." into nyc-dev 2016-03-31 16:47:52 +00:00
Wei Liu
48d3b63b60 Start the Wear bluetooth service in SystemServer.
Change-Id: I4ca420d7adbb0edd6539fe4bf6ada05650164866
2016-03-31 09:44:41 -07:00
Andreas Gampe
47c170a746 Package Manager: Use new DexFile function to upgrade filter
In case an app is shared, do not simply use "full" for compilation.
Instead, upgrade the asked-for filter to the non-guided version.

Bug: 27921071
Change-Id: I54735b61732e6a5c9dc62425d04bc740dd365083
2016-03-31 09:24:45 -07:00
Fyodor Kupolov
1b8189d825 Merge "[FBE] Split accounts.db into two DE/CE databases" into nyc-dev 2016-03-31 16:16:48 +00:00
John Reck
660108075e Expand JankTracker
Bug: 27922347

* Dump the full histogram
* Expand the histogram to have a slow-frame section with
  large 50ms buckets to raise the cap to 5s to give more
  insight into system-health
* Stop excluding first-frame metrics as we want to include
  those in our global tracking. Automated tests already filter
  these out by doing resets before running anyway.

Change-Id: Idaba8aad591f59d10a6477b11efc0767ff715083
2016-03-31 08:40:23 -07:00
Gustav Sennton
ef40c9acd5 Merge "Simplify WebViewProviderInfo - move its logic into WebViewUpdateService." into nyc-dev 2016-03-31 15:28:53 +00:00
Lorenzo Colitti
77fdf23d6f Honour the DHCP MTU option.
Bug: 25590369
Bug: 27719279
Change-Id: I473b5ec9c13f0d74e1ddd55e9d4abcff374a83ef
2016-03-31 23:51:32 +09:00
Gustav Sennton
dbf5eb04e6 Simplify WebViewProviderInfo - move its logic into WebViewUpdateService.
The WebViewProviderInfo should now be ready to be added as an API to be
fetched from XTS tests (to avoid using reflection).

Move the logic for validation, signature checking and package info
fetching out of WebViewProviderInfo so that we can mock the coupling
between that logic and the system (e.g. the package manager).

Note: with this patch we stop caching valid webview packages in the
update service (we would still refetch them anyway when anything
important happened).

Bug: 27635535
Bug: 27736084

Change-Id: Ia455202d2fd5bc4e03dce0fd917d262bf942d1a3
2016-03-31 14:21:47 +01:00
Andrei Stingaceanu
aa60469445 Merge "AfW - suspend apps - API polish" into nyc-dev 2016-03-31 10:57:58 +00:00
Jeff Sharkey
2c0ae91f2d Merge changes Ifecff4f1,Ia302de46 into nyc-dev
* changes:
  Make preferred activities direct-boot aware.
  Make Parcelable classes final, API cleanup.
2016-03-31 06:48:55 +00:00
Yohei Yukawa
4f172d8673 Merge "Remove "Other keyboards" from IME switcher dialog." into nyc-dev 2016-03-31 06:12:32 +00:00
Yohei Yukawa
a102dbddaa Remove "Other keyboards" from IME switcher dialog.
Per comment from UX team, we remove "Other keyboards" button from the
IME switcher dialog because it now points to a stale location, and is
not really needed.

Bug: 27924222
Change-Id: I23b20de3ee0efbb67b7ccac2f9e458b6689dd4ed
2016-03-31 06:07:38 +00:00
Jeff Sharkey
0436b1d5a2 Make preferred activities direct-boot aware.
When matching a list of ResolveInfo against the preferred activity
list, we shouldn't mutate the preferred set based on activities that
might be hidden due to the user being locked.

Bug: 25578136
Change-Id: Ifecff4f11c7fddef3eed04325d396f7c43d6703a
2016-03-30 23:41:13 -06:00
Jeff Sharkey
e0ac839801 Merge "Make DreamManagerService FBE aware." into nyc-dev 2016-03-31 05:01:49 +00:00
Philip P. Moltmann
c1ed9ebec7 Merge "Parse and validate txt records." into nyc-dev 2016-03-31 03:52:50 +00:00
Philip P. Moltmann
312c61edab Parse and validate txt records.
Bug: 27696905
Change-Id: I9affcf02a51c92a2be1c2bfc5efbd09065e100bc
2016-03-30 20:33:31 -07:00
Jeff Sharkey
60328375c8 Make DreamManagerService FBE aware.
It doesn't clobber state based on missing dreams, so we just need
the "triaged" flag to stop logging warnings.

Bug: 26476012
Change-Id: I29d6d4cce18d3e659590e7191681176bf19d0ad7
2016-03-30 20:42:49 -06:00
Jeff Sharkey
27c49d5790 Merge "Fix a deadlock due to wtf in BaseBundle" into nyc-dev 2016-03-31 02:18:53 +00:00
Ruben Brunk
98576cf949 Grant default permissions to preinstalled VrListenerServices.
- While explicitly bound, the package for a single pre-installed
  VrListenerService will be granted permission to access
  notification policy, be bound as a notification listener service,
  and draw system overlays.

Bug: 22855417
Change-Id: I568d5d9c032e0926e47c8ef4b46e3910b6bdf766
2016-03-30 18:48:54 -07:00
Vladislav Kaznacheev
b4142f70e5 Merge "Revert "Add wallpaper input consumer to WindowManagerService"" into nyc-dev 2016-03-31 01:43:11 +00:00
Vladislav Kaznacheev
2769e7ebe9 Revert "Add wallpaper input consumer to WindowManagerService"
This reverts commit 6013a558262d149023b32ab175c9b885b6c5b81d.

Change-Id: I2711afe2e97a8b9a4bd94193202cb83113b3bd7e
2016-03-31 01:42:02 +00:00
Philip P. Moltmann
740a5f023e Merge "Add the print service recommendation service" into nyc-dev 2016-03-31 01:33:17 +00:00