Commit Graph

4054 Commits

Author SHA1 Message Date
Makoto Onuki
8fff90ca7c Merge "ShortcutManager: proper work profile support" into nyc-dev am: d5b745a
am: 4fc3441

* commit '4fc34416fb8d389557934f3000dab7b6fbafb97c':
  ShortcutManager: proper work profile support

Change-Id: I1a708988b7e9c505370e2399572dca6caa9d5cef
2016-03-30 00:29:13 +00:00
Makoto Onuki
d5b745a9e6 Merge "ShortcutManager: proper work profile support" into nyc-dev 2016-03-29 22:45:03 +00:00
Suprabh Shukla
273472810b Merge "Removing unused intent extra" into nyc-dev am: 7a3bff1
am: 13638e2

* commit '13638e29df8a031c787e809ca9c62f303a7013b6':
  Removing unused intent extra

Change-Id: Ic61e004a36124515eb7d0cb4e24b85d9d5370116
2016-03-29 22:01:49 +00:00
Suprabh Shukla
7a3bff1847 Merge "Removing unused intent extra" into nyc-dev 2016-03-29 21:48:37 +00:00
Makoto Onuki
9da23fc6ac ShortcutManager: proper work profile support
Bug 27548047

Change-Id: I8acea3355f8974a551f53814624dec30732f7b2f
2016-03-29 14:42:02 -07:00
Michal Karpinski
7959416308 Merge "Moving app process logging from AMS to PMS" into nyc-dev am: 5393784
am: acc9468

* commit 'acc9468e3324046f6d7ce06de9a3d19e16849ba1':
  Moving app process logging from AMS to PMS

Change-Id: I9dcd57ee35a3102b9e13bde64f24f56991dd2620
2016-03-29 20:46:29 +00:00
Michal Karpinski
53937849fc Merge "Moving app process logging from AMS to PMS" into nyc-dev 2016-03-29 20:35:47 +00:00
Michal Karpinski
b52a461851 Moving app process logging from AMS to PMS
Bug: 26796347
Change-Id: I21894c2edb41929f6ecd3880667c53e00acef677
2016-03-29 19:07:29 +01:00
Makoto Onuki
4824ed486c Merge "ShortcutManager: Fix work profile" into nyc-dev am: bdda585
am: 74b8a65

* commit '74b8a6545d337f49031f28908bce3d9db845cd22':
  ShortcutManager: Fix work profile

Change-Id: I022371e785a944c01cf5fe307b53dbad71e8cc6c
2016-03-29 15:46:40 +00:00
Makoto Onuki
d99c6f04bb ShortcutManager: Fix work profile
- Pinned shortcuts need to know not only which package
has pinned them, but also on which user's, due to work profile.

- Launcher can always launch shortcuts that it has pinned.

Bug 27548047

Change-Id: I23b4e7dfbb6ecc42099d31008bcfd61d44e2c7fb
2016-03-28 18:47:39 -07:00
Suprabh Shukla
2810b694f5 Removing unused intent extra
Change-Id: If3904d0b3878390e6a49776aa8fcbd4d8592016d
2016-03-28 16:44:04 -07:00
Andrii Kulian
11073cda39 Merge "Update ActivityInfo#WindowLayout apis (1/3)" into nyc-dev am: 47869bd
am: d5afdc7

* commit 'd5afdc71c96960ec9acf405a8ae1222aba48ebf2':
  Update ActivityInfo#WindowLayout apis (1/3)
2016-03-28 00:34:11 +00:00
Andrii Kulian
47869bd446 Merge "Update ActivityInfo#WindowLayout apis (1/3)" into nyc-dev 2016-03-28 00:25:01 +00:00
Andrii Kulian
2e751b8c77 Update ActivityInfo#WindowLayout apis (1/3)
Adds documentation, renames Layout to WindowLayout and
splits #minimalSize to #minimalWidth and #minimalHeight.

Bug: 27528326
Change-Id: Idb440cb081a14ccdc83309284e906454633c4504
2016-03-27 15:35:33 -07:00
Jeff Sharkey
3c664a9b39 Update PRE_BOOT_COMPLETED for FBE. am: bd91e2f
am: bef5aad

* commit 'bef5aad065fd2f5f222ac14a8d063d12348c7c34':
  Update PRE_BOOT_COMPLETED for FBE.
2016-03-27 17:50:04 +00:00
Jeff Sharkey
bd91e2f3f6 Update PRE_BOOT_COMPLETED for FBE.
Now that CE data isn't available until after a user is unlocked, we
need to delay the PRE_BOOT_COMPLETED broadcasts.  This is done by
adding a new RUNNING_UNLOCKING user state to the UserController
lifecycle.

We now track the last fingerprint a user was logged in under, and we
dispatch PRE_BOOT receivers when that fingerprint changes.  To work
around battery pull issues, we only persist the updated fingerprint
once all PRE_BOOT receivers have finished.  This is less granular
than the original solution, but it's still correct.  We only consider
a user as "logged in" once it transitions into the RUNNING_UNLOCKED
state.

When starting a process, track if the user was "unlocked" when
started, so that we only spin up unaware providers in processes
started before user unlock.

Add generic IProgressListener to communicate PRE_BOOT progress and
strings up to lock screen.  For now, LockSettingsService just blocks
until finished, but it could display these strings in the future.

Bug: 27220885
Change-Id: I349439776b885acd32f6a578d8951ffd95640be2
2016-03-27 10:56:48 -06:00
Alex Klyubin
86acec8135 Merge "Ignore signature stripping protection for preinstalled APKs." into nyc-dev am: e60d72f
am: c860aec

* commit 'c860aecc2f632ba7a0a1e53755b778b52645bb7e':
  Ignore signature stripping protection for preinstalled APKs.
2016-03-24 19:54:08 +00:00
Alex Klyubin
e60d72f49a Merge "Ignore signature stripping protection for preinstalled APKs." into nyc-dev 2016-03-24 19:46:44 +00:00
Alex Klyubin
9b59bc459b Ignore signature stripping protection for preinstalled APKs.
The current build process may currently strip APK Signature Scheme v2
signatures from prebuilt APKs to be installed on the system or vendor
partitions. However, it leaves intact the signature scheme rollback
protections introduced by APK Signature Scheme v2. Due to a bug, when
the system extracts signer certificates from preinstalled APKs, it
encounters the rollback protection and aborts the extraction process.
This manifests itself as some preinstalled packages not appearing as
installed.

This change makes the system ignore signature scheme rollback
protections when extracting certificates from preinstalled APKs. This
is fine because the process of extracting certificates from
preinstalled APKs does not care about validity/integrity of signatures
and the APKs. It only cares about extracting signer certificates.

Bug: 27829513
Change-Id: I3bed463e776b057e93a0fce915db4014946be1f9
2016-03-24 12:02:20 -07:00
Andreas Gampe
aa268b773e Merge "Frameworks/base: Refactor package manager" into nyc-dev am: a7f2bcc
am: 31e9eec

* commit '31e9eec4ea3a359d572d4eb843537484f18ceb84':
  Frameworks/base: Refactor package manager
2016-03-24 02:11:50 +00:00
Andreas Gampe
a7f2bccca3 Merge "Frameworks/base: Refactor package manager" into nyc-dev 2016-03-24 01:59:24 +00:00
Andreas Gampe
bdd30d86ef Frameworks/base: Refactor package manager
Introduce a mapping between dexopt reasons and compiler filters. Use
reasons in package manager and other classes, where possible.

Change PackageDexOptimizer to accept a compilation filter. Adapt for
the split-out profile merging. Pass compilation filter to installd.

Bug: 27689078
Change-Id: I8c0ea6f10fbfdbd096adecc52abfd2466d048fdc
2016-03-23 16:21:21 -07:00
Amith Yamasani
c731dd758d Merge "Localize owner\'s name to current locale until changed" into nyc-dev am: df4c40d
am: 195ed1e

* commit '195ed1e61b52a1c0616846c61029b5db7c89928d':
  Localize owner's name to current locale until changed
2016-03-23 22:45:35 +00:00
Amith Yamasani
6f48d6ef35 Localize owner's name to current locale until changed
Don't set a name for the system user and always return a localized
name until the user explicitly sets a name.

Bug: 27814125
Change-Id: I7972a45d77c07d9efbd67d5b360bacee46247a66
2016-03-23 14:28:25 -07:00
Teng-Hui Zhu
7318a26360 Merge "API review: Hide ComplexColor and GradientColor" into nyc-dev am: 68e5b96
am: a9c417e

* commit 'a9c417e87e2ff118184a2250ae314e45084e5ca4':
  API review: Hide ComplexColor and GradientColor
2016-03-21 18:27:54 +00:00
Teng-Hui Zhu
e03c469fd4 API review: Hide ComplexColor and GradientColor
b/27532267

Change-Id: I01582e067ec8f4897c34dcec0f7c14700c40e02b
2016-03-21 11:09:16 -07:00
Jeff Sharkey
4621029922 Merge "Mark more Bundles as being defusable." into nyc-dev am: 620a28b
am: c012cf2

* commit 'c012cf26869e432adf8461e7134f117d95f239e2':
  Mark more Bundles as being defusable.
2016-03-18 20:09:53 +00:00
Jeff Sharkey
620a28bad2 Merge "Mark more Bundles as being defusable." into nyc-dev 2016-03-18 19:54:52 +00:00
Jeff Sharkey
a04c7a7c64 Mark more Bundles as being defusable.
They're destined for the system, so they're okay to look inside.

Bug: 27726127
Change-Id: Ic85c308a8efe6f9b8652952717c72b3c663d328a
2016-03-18 12:20:39 -06:00
Jeff Sharkey
70a6fd4ce4 Merge "Update direct boot related documentation." into nyc-dev am: 2a4e495
am: a903fd7

* commit 'a903fd76262f61fa09bb5a09ad130ce8ca01ff40':
  Update direct boot related documentation.
2016-03-18 16:37:20 +00:00
Jeff Sharkey
2a4e495448 Merge "Update direct boot related documentation." into nyc-dev 2016-03-18 16:32:16 +00:00
Jeff Sharkey
cf3f0a11a8 Update direct boot related documentation.
Also hide a few APIs as requested by council.  Add a method to
easily determine if a given File would already be encrypted at rest
by the OS.

Bug: 27531029
Change-Id: Icad5f1cd56411ad3ac707db85fd7449acdcc4b94
2016-03-17 19:58:05 -06:00
Makoto Onuki
fd5e7ab3cf Merge "Improve ShortcutSrvice" into nyc-dev am: 45c1827
am: 706928d

* commit '706928df5d361e15623108a8f47fae28cad5a9d7':
  Improve ShortcutSrvice
2016-03-17 23:42:34 +00:00
Makoto Onuki
45c1827c37 Merge "Improve ShortcutSrvice" into nyc-dev 2016-03-17 23:33:04 +00:00
Jeff Sharkey
78bcc89df4 Merge "Refactoring FBE APIs based on council feedback." into nyc-dev am: a0a58a2
am: 5a128c4

* commit '5a128c4f33aa38d3a35b5884519f6bd3a355512d':
  Refactoring FBE APIs based on council feedback.
2016-03-17 22:09:46 +00:00
Jeff Sharkey
a0a58a2fd5 Merge "Refactoring FBE APIs based on council feedback." into nyc-dev 2016-03-17 22:00:26 +00:00
Makoto Onuki
aa8b94aa79 Improve ShortcutSrvice
- Delayed save
- Reset logic update

Bug 27548047

Change-Id: Ibd52f90a7986991974301b7ff1f1d8520f9ef0d9
2016-03-17 14:37:14 -07:00
Jeff Sharkey
8a372a0a28 Refactoring FBE APIs based on council feedback.
Mostly consists of removing the word "encryption" from most APIs,
since we can't actually make promises about the data being encrypted.

Bug: 27531029
Change-Id: Iace9d7c4e64716abf86ed11847c40f3947e1d625
2016-03-17 14:49:08 -06:00
Makoto Onuki
20c9b4f5ef Merge "Support multi-launcher" into nyc-dev am: fb3f3f5
am: 7572efa

* commit '7572efad408d94ecbeed28aa7c2a89437ee8ac40':
  Support multi-launcher
2016-03-17 19:09:39 +00:00
Todd Kennedy
9c50f15043 Merge "update "dont kill" api" into nyc-dev am: ce71dee
am: cb62438

* commit 'cb624386e6329358c822aca93233e135f3c64f0a':
  update "dont kill" api
2016-03-17 19:09:25 +00:00
Sudheer Shanka
09243d0451 Merge "Flush package restriction changes for a user." into nyc-dev am: f9124ec
am: 3430c45

* commit '3430c45bcb10ca6ba4c67b2f5e273e3be08b087b':
  Flush package restriction changes for a user.
2016-03-17 18:55:04 +00:00
Makoto Onuki
5031e5f97a Merge "Add "pm set-home-activity"" into nyc-dev am: 1b21124
am: e10a984

* commit 'e10a984bab7667c4780cd952c684ecd915303e5c':
  Add "pm set-home-activity"
2016-03-17 18:54:46 +00:00
Jeff Sharkey
4f69fe3cf5 Merge "Remove references to Google packages." into nyc-dev am: 215fe69
am: cfe811f

* commit 'cfe811f936eff449bf212b6aa87417e8c50349b5':
  Remove references to Google packages.
2016-03-17 18:54:31 +00:00
Jeff Sharkey
7029a23b38 Merge "Defuse Bundles parsed by the system process." into nyc-dev am: c4b0ade
am: a0f6318

* commit 'a0f6318f44244ec4e916d3abecf157beb4fefc8c':
  Defuse Bundles parsed by the system process.
2016-03-17 18:54:28 +00:00
Makoto Onuki
fb3f3f5b28 Merge "Support multi-launcher" into nyc-dev 2016-03-17 17:27:10 +00:00
Todd Kennedy
ce71deefca Merge "update "dont kill" api" into nyc-dev 2016-03-17 15:58:24 +00:00
Benjamin Franz
f9124ecad9 Merge "Flush package restriction changes for a user." into nyc-dev 2016-03-16 23:51:44 +00:00
Makoto Onuki
1b21124d12 Merge "Add "pm set-home-activity"" into nyc-dev 2016-03-16 23:14:04 +00:00
Todd Kennedy
24ca5c6d7d update "dont kill" api
* update the name to be more consumer friendly
* expose it as a system api [so zapp can use it]

Change-Id: I11062e360bfd709dd5568409934fec539f64b863
2016-03-16 15:42:01 -07:00
Makoto Onuki
4828a59d68 Add "pm set-home-activity"
This is needed to change the default launcher on CTS for
ShortcutManager.

- When the default set with DPM.addPersistentPreferredActivity() is
still stronger.

- Ideally we should unify the code with HomeSettings, but I couldn't
find a good way to do this.

- I didn't make it to work to set the default for any intents
because building an intent filter from a command line would be
painful.

Bug 27548047

Change-Id: I66b153c20c7796147f77214b483112629f9d80c5
2016-03-16 15:21:56 -07:00