Commit Graph

7339 Commits

Author SHA1 Message Date
Philipp Weiß
5aaf46adc7 Merge "Remove deprecated APIs DPM.createUser, createAndInitializeUser" into nyc-dev am: f398479e06
am: b737c71611

* commit 'b737c71611e21fdf591b1c0cbb8e32cc28cb8bea':
  Remove deprecated APIs DPM.createUser, createAndInitializeUser
2016-02-23 18:06:24 +00:00
Philipp Weiß
b737c71611 Merge "Remove deprecated APIs DPM.createUser, createAndInitializeUser" into nyc-dev
am: f398479e06

* commit 'f398479e069c7accb1f96b06b32e086609342669':
  Remove deprecated APIs DPM.createUser, createAndInitializeUser
2016-02-23 18:01:41 +00:00
Philipp Weiß
f398479e06 Merge "Remove deprecated APIs DPM.createUser, createAndInitializeUser" into nyc-dev 2016-02-23 17:53:58 +00:00
Benjamin Franz
683e6defc3 Merge "Make user provisioning state SystemApi" into nyc-dev am: 72283fdb61
am: 6bd76ca08a

* commit '6bd76ca08a55bccdc8db1cd51592ebf40d3cfd76':
  Make user provisioning state SystemApi
2016-02-23 13:58:54 +00:00
Benjamin Franz
6bd76ca08a Merge "Make user provisioning state SystemApi" into nyc-dev
am: 72283fdb61

* commit '72283fdb61df5c057d105644f0ae35ae9ae248b5':
  Make user provisioning state SystemApi
2016-02-23 13:55:20 +00: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
Tao Bao
69d01e2376 Merge "Add support for update-on-boot feature." into nyc-dev am: 9de7952aa9
am: 3dd23af6a0

* commit '3dd23af6a0fb58ce7d1f6f078c765890ca839bd3':
  Add support for update-on-boot feature.
2016-02-22 21:10:21 +00:00
Tao Bao
3dd23af6a0 Merge "Add support for update-on-boot feature." into nyc-dev
am: 9de7952aa9

* commit '9de7952aa945eb06148f82b9f30d7d11a2de5d74':
  Add support for update-on-boot feature.
2016-02-22 20:09:58 +00:00
Tao Bao
9de7952aa9 Merge "Add support for update-on-boot feature." into nyc-dev 2016-02-22 19:24:25 +00:00
Dimitry Ivanov
3441439a7a Merge "Construct classloader for apps with no java code" into nyc-dev am: 05ba2b724c
am: b07d50b617

* commit 'b07d50b61722e65792ba3f2bf1de43e8ade27cbc':
  Construct classloader for apps with no java code
2016-02-22 18:35:49 +00:00
Dimitry Ivanov
b07d50b617 Merge "Construct classloader for apps with no java code" into nyc-dev
am: 05ba2b724c

* commit '05ba2b724c5049c3bd14717f1abf76ca71287de4':
  Construct classloader for apps with no java code
2016-02-22 18:27:59 +00:00
Dimitry Ivanov
05ba2b724c Merge "Construct classloader for apps with no java code" into nyc-dev 2016-02-22 18:24:14 +00:00
Esteban Talavera
7a71e45230 Merge "Updated removeActiveAdmin documentation" into nyc-dev am: d34718b6b9
am: 7846cd2483

* commit '7846cd24831a522bab17b5c0c24cef902bc36c84':
  Updated removeActiveAdmin documentation
2016-02-22 13:38:46 +00:00
Esteban Talavera
7846cd2483 Merge "Updated removeActiveAdmin documentation" into nyc-dev
am: d34718b6b9

* commit 'd34718b6b95086c34b4813525e6000064460e3a1':
  Updated removeActiveAdmin documentation
2016-02-22 13:33:24 +00:00
Esteban Talavera
d34718b6b9 Merge "Updated removeActiveAdmin documentation" into nyc-dev 2016-02-22 13:25:15 +00:00
phweiss
27ee33482a Remove deprecated APIs DPM.createUser, createAndInitializeUser
They were deprecated in M and slated for removal in N.

Bug: 26974903
Change-Id: I7ae4d60bcf226c1e1de42852b378ad1ff71a914b
2016-02-22 14:04:14 +01:00
Calin Juravle
206163507c Merge "Change the location of profile files." into nyc-dev am: 30eb5b30e7
am: ef9c129887

* commit 'ef9c12988702a4915e7206b936bb7317fa3259b6':
  Change the location of profile files.
2016-02-22 11:49:46 +00:00
Calin Juravle
ef9c129887 Merge "Change the location of profile files." into nyc-dev
am: 30eb5b30e7

* commit '30eb5b30e7bf88fbd3397cb56cda854293ae9c4d':
  Change the location of profile files.
2016-02-22 11:45:12 +00:00
Calin Juravle
30eb5b30e7 Merge "Change the location of profile files." into nyc-dev 2016-02-22 11:42:02 +00:00
Polina Bondarenko
4f2d2d3b42 Merge "Added hardwareproperties SystemService" into nyc-dev am: 280c5b2155
am: 5fc731e826

* commit '5fc731e82661aa31904e1473b651525256cc4f4a':
  Added hardwareproperties SystemService
2016-02-22 09:36:32 +00:00
Polina Bondarenko
5fc731e826 Merge "Added hardwareproperties SystemService" into nyc-dev
am: 280c5b2155

* commit '280c5b2155feae857ad514dff81adbfe73e398e9':
  Added hardwareproperties SystemService
2016-02-22 09:32:37 +00:00
Polina Bondarenko
280c5b2155 Merge "Added hardwareproperties SystemService" into nyc-dev 2016-02-22 09:27:21 +00:00
Svet Ganov
057841000c No overlay when permissions shown - framework am: 9cea80cddd
am: e552813050

* commit 'e5528130503b554d1e2cc6a711d50857c66a801c':
  No overlay when permissions shown - framework
2016-02-20 18:45:18 +00:00
Svet Ganov
e552813050 No overlay when permissions shown - framework
am: 9cea80cddd

* commit '9cea80cdddbecadb304eb7c8373cf1ed397f433a':
  No overlay when permissions shown - framework
2016-02-20 18:38:20 +00:00
Svet Ganov
9cea80cddd No overlay when permissions shown - framework
bug:26973205

Change-Id: I88395e47649191bb7db6dd8723c49e741ef4f1e4
2016-02-20 17:41:47 +00:00
Dianne Hackborn
65938a8305 Merge "Implement lenient background check option." into nyc-dev
am: 9d3a4e1c31

* commit '9d3a4e1c31e07d37edc59cf7613cd392152b9d26':
  Implement lenient background check option.
2016-02-20 02:22:26 +00:00
Vadim Tryshev
e6174c6aab Merge "Add Wallpaper.getBitmapAsUser()" into nyc-dev am: a6a127747a
am: 935755cc3b

* commit '935755cc3b77108eba971bd114a1facaaa6c9547':
  Add Wallpaper.getBitmapAsUser()
2016-02-20 01:03:33 +00:00
Dianne Hackborn
b2117d15d1 Implement lenient background check option.
Which really means, make background check much more
strict, with an option to revert to the more lenient
behavior.

In this strict version, an app can't have services
started or receive broadcasts at any point when it is
not foreground.  Also, it doesn't matter the importance
of a caller trying to start a service, it only depends
on the state of the app whose service is being started.

A new activity shell command allows you to control
whether to use the strict or lenient behavior.

Change-Id: I7f5a50b52881b5c8f9d8b6c8c622d3652a769fd7
2016-02-19 16:51:25 -08:00
Vadim Tryshev
935755cc3b Merge "Add Wallpaper.getBitmapAsUser()" into nyc-dev
am: a6a127747a

* commit 'a6a127747ae04c12966737b3792dc5df4402c292':
  Add Wallpaper.getBitmapAsUser()
2016-02-20 00:20:30 +00:00
Vadim Tryshev
a6a127747a Merge "Add Wallpaper.getBitmapAsUser()" into nyc-dev 2016-02-20 00:11:41 +00:00
Selim Cinek
65d25ad4d2 Merge "Add support for custom media notifications" into nyc-dev am: c68190ae90
am: 147ad1680b

* commit '147ad1680bc313f3b30abad7e78db174b7499227':
  Add support for custom media notifications
2016-02-19 23:42:35 +00:00
Selim Cinek
0d9b9bdcb4 Merge "Cleaned up the logic for the picture end margin" into nyc-dev am: 54c857cda6
am: 9867f9ae34

* commit '9867f9ae3425fb355b21dd818737e290444cdc2a':
  Cleaned up the logic for the picture end margin
2016-02-19 23:40:46 +00:00
Selim Cinek
147ad1680b Merge "Add support for custom media notifications" into nyc-dev
am: c68190ae90

* commit 'c68190ae903685a8243e82f94c03c325ba00e121':
  Add support for custom media notifications
2016-02-19 23:19:35 +00:00
Selim Cinek
9867f9ae34 Merge "Cleaned up the logic for the picture end margin" into nyc-dev
am: 54c857cda6

* commit '54c857cda62fbd3a86f5a74924fcea23b89bb1f5':
  Cleaned up the logic for the picture end margin
2016-02-19 23:17:45 +00:00
Selim Cinek
10bfbf6261 Merge "Added the possibility to show custom notifications decorated." into nyc-dev am: 3c306d8acd
am: 3145572f64

* commit '3145572f64eed125d8eba856a4552e98d61af263':
  Added the possibility to show custom notifications decorated.
2016-02-19 23:16:59 +00:00
Selim Cinek
3145572f64 Merge "Added the possibility to show custom notifications decorated." into nyc-dev
am: 3c306d8acd

* commit '3c306d8acdb34b667ad55ad30a9a2119cad0e0ab':
  Added the possibility to show custom notifications decorated.
2016-02-19 23:09:22 +00:00
Selim Cinek
c68190ae90 Merge "Add support for custom media notifications" into nyc-dev 2016-02-19 23:04:42 +00:00
Selim Cinek
54c857cda6 Merge "Cleaned up the logic for the picture end margin" into nyc-dev 2016-02-19 23:04:26 +00:00
Selim Cinek
3c306d8acd Merge "Added the possibility to show custom notifications decorated." into nyc-dev 2016-02-19 23:03:38 +00:00
Yorke Lee
dcd93cc21a Add Wallpaper.getBitmapAsUser()
Add a new API to allow a wallpaper bitmap to be obtained for
a specific user.

Without this API, using only getWallpaperFile(..., userId), one
can't get a default wallpaper bitmap if the wallpaper is not set.

Bug: 25185253
Change-Id: Ibe1e9a49d22bee08fd4bed415573c1ee28526aea
2016-02-19 14:47:39 -08:00
Dimitry Ivanov
b9c9026bdd Construct classloader for apps with no java code
The commit 6f06ad7df1
fixed a way to load native library for NativeActivity
by using classloader logic to find the library; which
also fixed the problem of native activity not working
when library is supposed to be opened directly from
the apk.

As a side effect it introduced regression - apps without
java code did not have correctly initialized classloader.
This change fixes this by constructing classloader with
empty dexpath but valid nativeLibrarySearchPath.

Bug: http://b/26015561
Bug: http://b/27250344
Change-Id: I50f1119f0976a95edd75d88efb9fcdedc57efbc3
2016-02-19 14:09:20 -08:00
Selim Cinek
03eb3b7c44 Add support for custom media notifications
Custom media notifications can now also be decorated by the system
instead of going fully custom.

Bug: 26961842
Change-Id: I1d85a652b93f10988939b471a14b372671acfaf1
2016-02-19 11:54:42 -08:00
Selim Cinek
247fa01931 Cleaned up the logic for the picture end margin
This allows decorated custom remote views to be properly
showing with a large image.

Bug: 24866646
Change-Id: Ie355e503437f19ace2503d42f44bee4bd22f03c8
2016-02-19 11:54:41 -08:00
Selim Cinek
593610c248 Added the possibility to show custom notifications decorated.
Bug: 26961842
Change-Id: I3966a4e6ecb05b9f284ec5b244b2594f78bcb337
2016-02-19 11:52:12 -08:00
Julia Reynolds
53faf747f6 Merge "Remove Notification Topics." into nyc-dev am: 73d96fb4bb
am: f7f055e407

* commit 'f7f055e40709d8de6bad8f4384f4dc59adceb213':
  Remove Notification Topics.
2016-02-19 19:32:13 +00:00
Tao Bao
e8a403d57c Add support for update-on-boot feature.
Add a separate system service RecoverySystemService to handle recovery
related requests (calling uncrypt to de-encrypt the OTA package on the
/data partition, setting up bootloader control block (aka BCB) and etc).

We used to trigger uncrypt in ShutdownThread before rebooting into
recovery. Now we expose new SystemApi (RecoverySystem.processPackage())
to allow the caller (e.g. GmsCore) to call that upfront before
initiating a reboot. This will reduce the reboot time and get rid of the
progress bar ("processing update package"). However, we need to reserve
the functionality in ShutdownThread to optionally call uncrypt if
finding that's still needed.

In order to support the update-on-boot feature, we also add new
SystemApis scheduleUpdateOnBoot() and cancelScheduledUpdate() into
android.os.RecoverySystem. They allow the caller (e.g. GmsCore) to
schedule / cancel an update by setting up the BCB, which will be read by
the bootloader and the recovery image. With the new SystemApis, an
update package can be processed (uncrypt'd) in the background and
scheduled to be installed at the next boot.

Bug: 26830925
Change-Id: Ic606fcf5b31c54ce54f0ab12c1768fef0fa64560
2016-02-19 11:31:45 -08:00
Julia Reynolds
f7f055e407 Merge "Remove Notification Topics." into nyc-dev
am: 73d96fb4bb

* commit '73d96fb4bbe1e3796e655314619bf9897d07c929':
  Remove Notification Topics.
2016-02-19 19:25:04 +00:00
Julia Reynolds
73d96fb4bb Merge "Remove Notification Topics." into nyc-dev 2016-02-19 19:17:25 +00:00
Polina Bondarenko
f8754ac212 Added hardwareproperties SystemService
Add HardwarePropertiesManagerService which call native methods to
get CPU, GPU, battery temperatures, CPU usage info, fan speeds.
Restrict hardware properties retrieval only for device and profile
owners.

Bug: 26945055
Change-Id: I4d6b30b78e575532d5e9cfa59ef6cd81355439d4
2016-02-19 18:24:29 +01:00