Commit Graph

4267 Commits

Author SHA1 Message Date
Christoph Studer
b3d6e84638 am 241b0781: am f20347e6: am 728662c8: Merge "Notif: Fix profile badge for stripped RemoteViews" into lmp-dev
* commit '241b07819200e15672ff5a11f4847c00c4a3822a':
  Notif: Fix profile badge for stripped RemoteViews
2014-08-04 12:27:00 +00:00
Christoph Studer
ff8647b4de am 3e79dab2: am d2a28cdc: am fd266000: Notification: Only post-process legacy notifications
* commit '3e79dab28ee52eb996406cbc866e27688ed5238e':
  Notification: Only post-process legacy notifications
2014-08-03 18:34:27 +00:00
Christoph Studer
1cda67f8b3 Notification: Only post-process legacy notifications
Bug: 16522199
Change-Id: I20330f946cee6569c249be1800c3a0e814d79efc
2014-08-03 18:22:46 +00:00
Dake Gu
29a0e682b5 am 04bc766a: am f7560b36: am de545505: ActivityTransitionCoordinator: Fix memory leak of ResultReceiver
* commit '04bc766a04a51c1c01b09a530494d549eef3faf1':
  ActivityTransitionCoordinator: Fix memory leak of ResultReceiver
2014-08-01 23:19:37 +00:00
Dake Gu
fc0fc0e341 ActivityTransitionCoordinator: Fix memory leak of ResultReceiver
The ActivityTransitionCoordinator is retained by reference from native code.
The coordinator refers to a app's listener which can cause leak.

b/16737906

Change-Id: Ibbb85480b852442f95b00a8d3beff0161bdadb47
2014-08-01 22:53:14 +00:00
Chris Wren
a3b59dbfc2 am 7d902825: am 4ba63196: am 949c6e3a: Expose headsUpContentView so developers can customize it.
* commit '7d902825399fbba5c84a62292305e844ca0ad9a5':
  Expose headsUpContentView so developers can customize it.
2014-08-01 20:50:34 +00:00
Zoltan Szatmary-Ban
381ef63f81 am f1ec4d86: am 51ac9512: am f3a2ec5c: Add AsUser versions of existing DevicePolicyManager methods
* commit 'f1ec4d86381dd20709206372219ef41a0c0181a7':
  Add AsUser versions of existing DevicePolicyManager methods
2014-08-01 20:50:30 +00:00
George Mount
23785adfe9 am b3bd029b: am dab97bb2: am 044a7d67: Add differentiating transitions for returning/reentering.
* commit 'b3bd029b5ab2df8c86ab903bc597f858298be157':
  Add differentiating transitions for returning/reentering.
2014-08-01 20:49:16 +00:00
Christoph Studer
943aa6778f Notif: Fix profile badge for stripped RemoteViews
Stash the profile badge into the extras such that rebuild() can read
it back.

Bug: 16735645
Change-Id: I620da121615a01c27fb31ee292088701e364d223
2014-08-04 12:26:18 +02:00
Chris Wren
97c0b90f89 Expose headsUpContentView so developers can customize it.
Bug: 13510114
Change-Id: I645c204e366fefab58224d2e67d00e701dc661aa
2014-08-01 10:57:05 +00:00
Zoltan Szatmary-Ban
3f1ddf83a4 Add AsUser versions of existing DevicePolicyManager methods
Some API methods on DevicePolicyManager call underlying IDevicePolicyManager methods
that can be parameterised with a user id. DPM however only exposed methods for the current user.
This CL makes it possible to call them with any user id by introducing hidden methods on
DevicePolicyManager.

Bug: 15558397
Change-Id: I1786a64fa7cf5f6590ddd04cbf4527bb159f8795
2014-08-01 09:27:19 +00:00
George Mount
68f96d8db5 Add differentiating transitions for returning/reentering.
Bug 16550363

Change-Id: I85f9a8bcbc92ce048d06b36579bb05893534f7f8
2014-07-31 21:58:06 +00:00
Evan Charlton
2e5fbbe867 am ef1a64ec: am 7fedbd06: am 0e097002: Fix a small typo in javadocs
* commit 'ef1a64ec49ce6a28f87179ca863ecac337288df7':
  Fix a small typo in javadocs
2014-07-31 16:28:19 +00:00
Evan Charlton
b8d0717934 Fix a small typo in javadocs
Service#START_FLAG_RETRY has an extra word; remove it.

Change-Id: I4743e2ea474c70fe5d31f1a4ef257f9752f8e823
2014-07-31 16:14:22 +00:00
Alexandra Gherghina
3d92d12151 am fdf33a8b: am 4b990549: am 8b0b1504: Use the appropriate default icon
* commit 'fdf33a8b803683887240b7d4ef6e614bc77ddc79':
  Use the appropriate default icon
2014-07-31 15:55:32 +00:00
Alexandra Gherghina
a709314537 Use the appropriate default icon
ComponentInfo subclasses and ApplicationInfo have different ways to retrieving
the default icon. Previously, in CL I2db300a69a08030eacc245ee91556f0443ba5878
we defaulted everything to the green Android. This makes sure that they get the
right default.

Bug: 16630068
Change-Id: Ifa499eac6f1543523d6ecf0831175bfd6b772edb
2014-07-31 15:43:11 +00:00
Bernhard Bauer
8989964ee3 Add a method to DevicePolicyManager to silently install a certificate / private key pair.
BUG=15065444

Change-Id: Id3d255e1fce2c608501c3a038633a93c7f191426
2014-07-31 09:30:13 +01:00
keunyoung
176ded3d62 am 4e8e785e: am 669f8f22: am 4d2751c5: Merge "add UiModeManager.ENABLE_CAR_MODE_NO_WAKE_LOCK flag for enableCarMode" into lmp-dev
* commit '4e8e785e2b7f58de656c7d473dcedd96c1a91e80':
  add UiModeManager.ENABLE_CAR_MODE_NO_WAKE_LOCK flag for enableCarMode
2014-07-30 21:35:18 +00:00
Christoph Studer
00781c693a am c63f6df8: am 2522c94a: am 6b8a2734: Merge "SysUI: Display group children when no summary is present" into lmp-dev
* commit 'c63f6df88623578ca199e9c108d36dc2859dc803':
  SysUI: Display group children when no summary is present
2014-07-30 20:34:46 +00:00
Primiano Tucci
810c052d9b Cherry pick Introduce startIsolatedProcess private API in ActivityManager DO NOT MERGE
The new API spawns a isolated process, using a custom uid, entrypoint and
abi. Such API is used by the WebViewFactory to spawn its unpriviledged
but trusted process (hence the fixed uid) which rewrites the rerlo file
on boot / when an update occurs.
Since both the ActivityManager service and the WebViewUpdate service
live in the SystemServer their calls be dispatched locally and no
binder interface needs to be exposed for the new startIsolatedProcess API.

Original BUG:16403706
Original Change-Id: I327b59735c12698595e0dbcc4da5d759c9103b0a

Bug: 16723226
Change-Id: Iecb49888e11eec9d302d9712953fd498db5821af
2014-08-01 14:24:09 +01:00
keunyoung
1d0a7ccd00 add UiModeManager.ENABLE_CAR_MODE_NO_WAKE_LOCK flag for enableCarMode
- When this flag is set, system no longer keeps the display on while in car mode.

bug: 15472822
Change-Id: I277368be5227eaf96213684598f278c39e4c34db
2014-07-30 14:12:34 -07:00
Christoph Studer
3d5e26d659 am 09473140: am 0b928f7d: am 572532d0: Merge "Strip RemoteViews from Notifications, re-create them in SysUI" into lmp-dev
* commit '0947314029aa6c40f875703356a9c06417d356a8':
  Strip RemoteViews from Notifications, re-create them in SysUI
2014-07-30 19:45:02 +00:00
Christoph Studer
c8db24bc32 SysUI: Display group children when no summary is present
Also move common notification filtering into NotificationData
such that clients won't have to do it themselves anymore.

Probably also fixes a couple of multi-user issues.

Bug: 16302692
Bug: 16224431
Change-Id: Ic3c11cd1a224044486f5544e068ca5297d30c521
2014-07-30 21:43:17 +02:00
Nicolas Prevot
53947a2fdb am be07b13b: am 2809d68d: am 4bb6ae67: Merge "Fixing a NullPointerException in isProfileOwnerApp." into lmp-dev
* commit 'be07b13b7d8590693bc6038bea35b033521ac6af':
  Fixing a NullPointerException in isProfileOwnerApp.
2014-07-30 16:53:50 +00:00
Christoph Studer
21aedc86c2 am e9256065: am 3b4e3f86: am 64130a59: Notification: Forward setUser() call to publicVersion
* commit 'e92560655358d24273e1bffb238ba675c0ea6e07':
  Notification: Forward setUser() call to publicVersion
2014-07-30 16:53:38 +00:00
Adrian Roos
dd1c74b4e7 am ced134ad: am f4f27378: am 33d3756f: Add setManagingTrust and expose it on lockscreen
* commit 'ced134adf760e328d8459cfb38d1844868e4659f':
  Add setManagingTrust and expose it on lockscreen
2014-07-30 16:53:30 +00:00
Jae Seo
9e96af9848 am a6377bb1: am 4c61c0a4: am ec7accc2: TIF: Merge TvParentalControlManager into TvInputManager
* commit 'a6377bb178192f54a761325ff951a59cacd1d6e6':
  TIF: Merge TvParentalControlManager into TvInputManager
2014-07-30 16:53:00 +00:00
Alan Viverette
df01dd1612 am 8c027029: am d34d495f: am de583846: Merge "Enable hardware rendering for system process" into lmp-dev
* commit '8c027029580845b730bb82887841b465bb5d7c94':
  Enable hardware rendering for system process
2014-07-30 16:52:27 +00:00
Amith Yamasani
e2013c5dc7 am f77c4da3: am 8d072bf2: am e257f1ee: Set profile owner via an intent
* commit 'f77c4da31c808ac48eb4dc96c8f9283ac159e496':
  Set profile owner via an intent
2014-07-30 16:51:54 +00:00
Christoph Studer
fd19326c6b Notification: Forward setUser() call to publicVersion
Change-Id: I82715d69664fcbf57ca0599994004a8630f8587c
2014-07-30 13:16:57 +00:00
Adrian Roos
7861c663fd Add setManagingTrust and expose it on lockscreen
Adds a facility for trust agents to indicate if they
are ready to manage trust. Also adds an indication to
the lock icon on the lockscreen to show whether trust is
being managed.

Bug: 15518469
Bug: 16123013

Change-Id: Ie17f588aebeafe66c81dea4a69c733b0d2c72fd4
2014-07-30 12:33:33 +00:00
Jae Seo
783645e99f TIF: Merge TvParentalControlManager into TvInputManager
This change addresses the following API council feedback.

TvParentalControlManager:
-- Replace the listener interface with a broadcast Intent with well-known
   action, something like ACTION_BLOCKED_RATINGS_CHANGED.
-- TvParentalControlManager goes away, and two remaining methods move to
   TvInputManager.

== Implementation changes ==
-- The user-selected rating preferences should be stored in an XML file, and
   loaded at boot by your internal system service.  It should _not_ be stored in
   a Secure/Global setting.

Bug: 16542165
Change-Id: I278df963576652ec9163a66c1ef99419fcdb36c2
2014-07-30 15:39:39 +09:00
Amith Yamasani
bf3a946548 Set profile owner via an intent
priv apps can request to become a profile owner after setup has
completed. This will pop up a consent dialog (in Settings).

Also, clean up profile owner concept to be a component name.

Change-Id: I5e8532866e8018f61836c4e84fbbadb6150218ae
2014-07-29 23:43:32 +00:00
Alan Viverette
5e1565ead6 Enable hardware rendering for system process
Also enables hardware rendering by default on windows created
without a parent activity (e.g. by services).

BUG: 16240470
Change-Id: I906d48cb07af50fa02dae4f4ecdb5e65211fc6ef
2014-07-29 23:56:52 +00:00
Adrian Roos
489d2dfc29 Fix checkbuild
Change-Id: I9c3de31af792863b93a29ef81b50e2149b0a2184
2014-07-29 20:30:50 +00:00
Alan Viverette
4d193bdbe7 Merge "Clean up TimePicker and DatePicker styling" into lmp-dev 2014-07-28 22:45:16 +00:00
Alan Viverette
60727e07c6 Clean up TimePicker and DatePicker styling
Removes the time and date picker specific themes and defaults their
theme attributes to use the alert dialog theme attribute's value.

BUG: 14973897
Change-Id: Id5cc74ea0c1a379fc1ee76b354a1bb5ba329585a
2014-07-29 12:49:50 -07:00
Dake Gu
09d9c3be8a Transition: Don't suppressLayout(false) for returning activity
Change-Id: I7be8a779ab8996809b36baa107acd55ab872580c
2014-07-29 11:34:35 -07:00
Matthew Williams
ee410da42b remove possible JobScheduler race in cancel()
Client can jobFinished() before getting a cancel msg.
1) Do better clean up of JobServiceContext after client jobFinished()
to remove superfluous MSG_CANCELs
2) When processing MSG_CANCEL check whether the context is still active
3) Do JobServiceContext cleanup before calling back to JobSchedulerService
Client can get a cancel msg even after calling jobFinished() (opposite to above)
1) explicitly check whether there are any MSG_CALLBACKs in the queue before
processing a MSG_CANCEL. If there are we can throw away the cancel.

Bug: 16547638
Change-Id: I90644586c7895a9ce97de752a5d657faf7f74b78
2014-07-29 11:11:41 -07:00
Jason Monk
9a090e6ded Merge "Fix incorrect Activity#startLockTask doc" into lmp-dev 2014-07-25 23:00:08 +00:00
Jason Monk
8863b57e89 Fix incorrect Activity#startLockTask doc
It referenced a swipe down gesture that doesn't exist.  This should
be more safe, and cover other devices as well.

Bug: 16626273
Change-Id: I907b25a00d903f9f36ca335d3a75c1f8f931d50e
2014-07-29 13:49:32 -04:00
Bernhard Bauer
6bd165d0eb Add a method to DevicePolicyManager to register a private key access listener.
BUG=15065444

Change-Id: I6ae8afa4f3514c0cace76d9cc0912287e90a79d5
2014-07-30 17:12:10 +01:00
Adrian Roos
d06d87aa5f am 1bc3511a: am ecd63d4e: am b64bbc56: Fix checkbuild
* commit '1bc3511a636118b4b5573bd186d920f0ce540816':
  Fix checkbuild
2014-07-29 20:43:22 +00:00
Alan Viverette
e583961a54 am 87db1d21: am b05e3134: am 9bbfa2a3: Merge "Clean up TimePicker and DatePicker styling" into lmp-dev
* commit '87db1d219ce8f96511a11d780f7235fc718394a4':
  Clean up TimePicker and DatePicker styling
2014-07-29 20:23:26 +00:00
Dake Gu
ed161f68e1 am 8d208dde: am 2b6e7e1a: am ebf01ef4: Merge "Transition: Don\'t suppressLayout(false) for returning activity" into lmp-dev
* commit '8d208dde1a0dc187a4c7d9191aeb3cfd7bc6a45a':
  Transition: Don't suppressLayout(false) for returning activity
2014-07-29 20:03:20 +00:00
Matthew Williams
70f0ebe26a am 511a2246: am 7a2d0ca3: am bd8038b8: Merge "remove possible JobScheduler race in cancel()" into lmp-dev
* commit '511a22460ef790270e870777d21b8ad7d36c55e2':
  remove possible JobScheduler race in cancel()
2014-07-29 18:30:45 +00:00
Jason Monk
7bc5eb4324 am 92333f39: am f3bc00a3: am 9e9b5c70: Merge "Fix incorrect Activity#startLockTask doc" into lmp-dev
* commit '92333f395d1a00865b95f7d8c066ebcae8fcfb98':
  Fix incorrect Activity#startLockTask doc
2014-07-29 18:13:09 +00:00
Adrian Roos
92e387192e am 80395839: am e29906bc: am c7af998e: Merge "Make TrustAgentService a SystemApi" into lmp-dev
* commit '80395839bdb724285d719879e21218a61b15295d':
  Make TrustAgentService a SystemApi
2014-07-29 13:42:07 +00:00
Jim Miller
7eaf0d76d1 am ced267d1: am 112121f6: am 502aab60: Merge "Add new DevicePolicyManager API to allow fine-grained TrustAgent management" into lmp-dev
* commit 'ced267d1599c97957032a84d9c6ac764eb922e1f':
  Add new DevicePolicyManager API to allow fine-grained TrustAgent management
2014-07-29 13:25:01 +00:00
Christopher Tate
2fc9dfff52 am 8f72c755: am fb9e3c46: am 3c4efc3e: Merge "Provide outside-facing API for data management intent+label" into lmp-dev
* commit '8f72c75581c9e1924bf8fab173335ed344673109':
  Provide outside-facing API for data management intent+label
2014-07-28 23:43:36 +00:00