8149 Commits

Author SHA1 Message Date
Christopher Tate
f0af57578e Merge "Improve idle-service bind permission description" 2014-02-05 22:03:33 +00:00
Geoff Mendal
b204e82e6e Import translations. DO NOT MERGE
Change-Id: Id2cedaf11af37d24aa50dbcf27da1b470de6f43a
Auto-generated-cl: translation import
2014-02-05 10:48:38 -08:00
Jake Hamby
dbe576ebd1 Merge "Add new RIL commands to read/write NV items and reset NV config." 2014-02-05 03:56:03 +00:00
Adam Powell
11579e5595 Merge "Import updated SearchView assets from UX" 2014-02-05 02:28:14 +00:00
Adam Powell
03d165b1da Import updated SearchView assets from UX
Bug 12233992

Change-Id: I6624d0d7625121a8905efa697c6a183b4463a289
2014-02-04 18:20:56 -08:00
Christopher Tate
679935df6f Improve idle-service bind permission description
Bug 12889390

Change-Id: I34dc22870f21a92895b8e214077885a80936d0d5
2014-02-04 17:16:30 -08:00
George Mount
0a778eda69 Cross-Activity Scene transition API.
First pass at API for cross-Activity Scene transitions.
Remaining work:
  Transition back
  Automatically capture hero element info
  Transfer of surface texture to synchronize between Activities
  Possibly use scene names to indicate preferred transition

Change-Id: I59d07de1fae694a46b92b1c82525daa301ec1377
2014-02-04 16:18:43 -08:00
Jake Hamby
8f9b33e776 Add new RIL commands to read/write NV items and reset NV config.
Add new RIL commands and generic code cleanups.

The only changes required for OMA DM support are the
addition of five new methods in ITelephony.aidl for
reading/writing NV items and performing NV config and
radio resets (requires MODIFY_PHONE_STATE), along with
the new RIL request IDs in RILConstants.java.

Bug: 12864208
Change-Id: I958d2571580d98a49936ef2e6822e5ac086acbe2
2014-02-03 15:52:18 -08:00
Christopher Tate
31b4834b6d Merge "Introduce "IdleService" API to expose idle-time maintenance to apps" 2014-02-03 20:35:01 +00:00
Geoff Mendal
ee2d1c620b Import translations. DO NOT MERGE
Change-Id: I60c659282be6607e7510b5acfec18128ddbea404
Auto-generated-cl: translation import
2014-02-03 10:51:48 -08:00
Christopher Tate
d417d625d2 Introduce "IdleService" API to expose idle-time maintenance to apps
When an application wishes to do low-priority background work when the
device is otherwise idle (e.g. in a desk dock overnight), it declares
a service in its manifest that requires this permission:

     android:permission="android.permission.BIND_IDLE_SERVICE

to launch, and which publishes this intent filter:

    <intent-filter>
        <action android:name="android.service.idle.IdleService" />
    </intent-filter>

This string is declared in the API as IdleService.SERVICE_INTERFACE.

The service must be implemented by extending the new "IdleService"
class, which provides the API through which the system will communicate
with the app.

IdleService declares three methods, two of which are lifecycle callbacks
to the service, and the third of which is for the service itself to
invoke when appropriate.  The lifecycle callbacks are

    public abstract boolean onIdleStart();
    public abstract void onIdleStop();

The first of these is a notification to the service that an idle
maintenance interval has begun.  The service can then spin off
whatever non-UI work it wishes.  When the interval is over, or if
the OS determines that idle services should be shut down immediately,
the onIdleStop() method will be invoked.  The service must shut down
any background processing immediately when this method is called.

Both of these methods must return immediately.  However, the OS
holds a wakelock on the application's behalf for the entire period
between the onIdleStart() and onIdleStop() callbacks.  This means
that for system-arbitrated idle-time operation, the application does
not need to do any of its own wakelock management, and does not need
to hold any wakelock permissions.

The third method in IdleService is

    public final void finishIdle();

Calling this method notifies the OS that the application has finished
whatever idle-time operation it needed to perform, and the OS is thus
free to release the wakelock and return to normal operation (or to
allow other apps to run their own idle services).

Currently the idle window granted to each idle service is ten minutes.
The OS is rather conservative about when these services are run; low
battery or any user activity will suppress them, and the OS will not
choose to run them particularly often.

Idle services are granted their execution windows in round-robin
fashion.

Bug 9680213

Change-Id: Idd6f35940c938c31b94aa4269a67870abf7125b6
2014-01-31 15:41:40 -08:00
Alan Viverette
fe0ea8c21f Merge "Allow specification of View theme override as a theme attribute" 2014-01-31 21:05:24 +00:00
John Spurlock
17b79985f4 am 47e276db: am cbd156c1: Merge "Update READ&WRITE_DREAM_STATE to signature|system." into klp-modular-dev
* commit '47e276db2a938ca4ff9767cba28062b892e81629':
  Update READ&WRITE_DREAM_STATE to signature|system.
2014-01-31 20:25:40 +00:00
John Spurlock
4fda2d5ab7 Update READ&WRITE_DREAM_STATE to signature|system.
Change-Id: Ic3c4c5445384712571e7a1188ed9e2ab6ceb4bde
2014-01-31 14:14:19 -05:00
George Mount
d085625976 Merge "Add PathInterpolator to interpolate along a Path." 2014-01-31 00:53:20 +00:00
George Mount
6e5f045ddf Add PathInterpolator to interpolate along a Path.
Change-Id: I45b361ef8edd49b5e22d66ba9e25600065e0d5e7
2014-01-30 16:50:15 -08:00
Baligh Uddin
c336fc9337 Merge "Import translations. DO NOT MERGE" 2014-01-30 16:43:29 +00:00
Chris Craik
6657a6c539 Update reordering method names, and make 3d reordering API public
IsContainedVolume -> hasIsolatedZVolume conveys that this affects Z
ordering of views

ProjectToContainedBackground -> ProjectBackwards, since it ended up
using its own projection target, separate from the 3d volume bit

Change-Id: Ia2cde838cc4da134366fe6ff623290fbd65e50c3
2014-01-29 13:55:39 -08:00
Baligh Uddin
70fb94dc29 Import translations. DO NOT MERGE
Change-Id: Ie2b2c6832f97ba8999fe3e78b0ffd310eae4448b
Auto-generated-cl: translation import
2014-01-29 09:46:33 -08:00
Fabrice Di Meglio
fa55105137 Merge "Fix new TimePicker accessibility" 2014-01-28 23:14:49 +00:00
Baligh Uddin
4af3fb8708 Merge "Import translations. DO NOT MERGE" 2014-01-27 21:31:32 +00:00
Griff Hazen
bca57ee556 am e2bb257c: Merge "Make MANAGE_ACTIVITY_STACKS a signature|system permission." into klp-modular-dev
* commit 'e2bb257c349b21f68e3b9b87eb7cabd205380082':
  Make MANAGE_ACTIVITY_STACKS a signature|system permission.
2014-01-27 18:35:37 +00:00
Baligh Uddin
729bac390f Import translations. DO NOT MERGE
Change-Id: Ib029fbf72dfd70961eab73fe01cecc78a3b89ec5
Auto-generated-cl: translation import
2014-01-27 09:47:19 -08:00
Griff Hazen
9e24357ddb Make MANAGE_ACTIVITY_STACKS a signature|system permission.
To allow ActivityView support within privileged apps.

Change-Id: Ic0246939bf71c52ca9415149415a976537c8270b
2014-01-26 21:58:51 -08:00
Wink Saville
5197d0740c am dafb2420: am d4b688cf: am d165f365: am 5d2d911a: am d1eeb674: Merge "Telephony: Modify code to check that PUK code length is always 8."
* commit 'dafb2420a34a5b39aca6ddf993e86778edd76b5d':
  Telephony: Modify code to check that PUK code length is always 8.
2014-01-26 16:58:24 +00:00
Wink Saville
dafb2420a3 am d4b688cf: am d165f365: am 5d2d911a: am d1eeb674: Merge "Telephony: Modify code to check that PUK code length is always 8."
* commit 'd4b688cf97736eb4c543149686ab851b9ea21161':
  Telephony: Modify code to check that PUK code length is always 8.
2014-01-26 16:55:49 +00:00
Wink Saville
d165f365b3 am 5d2d911a: am d1eeb674: Merge "Telephony: Modify code to check that PUK code length is always 8."
* commit '5d2d911ad1f69392cf2a56237ce7ad3bb9e78ffa':
  Telephony: Modify code to check that PUK code length is always 8.
2014-01-26 08:49:09 -08:00
Wink Saville
d1eeb67478 Merge "Telephony: Modify code to check that PUK code length is always 8." 2014-01-25 21:51:34 +00:00
Alan Viverette
ef259e4484 Allow specification of View theme override as a theme attribute
WE MUST GO DEEPER.

Change-Id: I492c3750e108d01d6f8d325ccc2bedb1ade5b91b
2014-01-24 17:20:12 -08:00
Baligh Uddin
ff86e532dc Import translations. DO NOT MERGE
Change-Id: I5d41b182178898b84085e67b192b8d2f1c27fcc9
Auto-generated-cl: translation import
2014-01-23 07:56:14 -08:00
Doug Zongker
3b0218b0ae boot into recovery via the pre-recovery service
Change PowerManagerService to start the pre-recovery service rather
than rebooting directly, when requested to reboot into recovery.  Add
a new RECOVERY permission which a caller needs (in addition to REBOOT)
in order to go to recovery.

Bug: 12188746
Change-Id: I39121b701c4724558fe751adfbad79f8567faa43
2014-01-16 12:54:59 -08:00
Alan Viverette
0269b70fae Revert changes to default styles and themes
Partial revert of commit 65f31d4104a0b667b635abc78406d5159341ad95.

BUG: 12571939
Change-Id: Ideea7b716d5a7b2082a244b9c5ffb02151ee8d67
2014-01-16 11:02:55 -08:00
Ying Wang
640f10bc4f Fix SDK build.
Change-Id: I57b400d5cb8e03abdfd234e79e4698347228bfa0
2014-01-14 10:09:35 -08:00
Alan Viverette
17c3c90e53 Merge "Pushing in boilerplate Quantum and Quantum.Light styles" 2014-01-13 21:01:50 +00:00
Geoff Mendal
4248f74eea Import translations. DO NOT MERGE
Change-Id: I74b8724bc83b4f86569a2b10e2fee3b44af65410
Auto-generated-cl: translation import
2014-01-13 11:51:13 -08:00
Vinod Krishnan
c6a0a57489 am aef49f9a: Fwk: Adding a micro theme
* commit 'aef49f9a7142892f38c3bb84b5eae3ceb9a96a15':
  Fwk: Adding a micro theme
2014-01-09 19:25:26 +00:00
Vinod Krishnan
aef49f9a71 Fwk: Adding a micro theme
Adding a micro theme affects 3 different GIT repositories:

1. Repository 'device/google/clockwork' - https://ar/398971
This has the overlay for the DeviceDefault for ClockWork

2. Repository 'platform/vendor/google_clockwork' - https://ar/399378
This has the changes to Clockwork Home to use the new micro Theme.

3. Repository 'frameworks/base' - https://ar/398959
This adds the *_micro.xml style/theme files.

Change-Id: Ib1e87953b052a9ec2ff0ea11dd0dfe55317442b4
2014-01-09 11:11:56 -08:00
Baligh Uddin
c1062affd2 Merge "Import translations. DO NOT MERGE" 2014-01-09 03:46:39 +00:00
Adam Powell
4be3573c7e Update internal action bar layouts for API change
Change-Id: Icce370388ddd78f1b2e4115c94072c9420896f0b
2014-01-08 17:05:57 -08:00
Wink Saville
e72e85f42a am f05ae3fe: am bc0207fd: am 2626d0e1: am ad068837: am 76d5cdd8: Merge "telephony: Add same named operator configuration for some operators"
* commit 'f05ae3fe0f7b845efc0733e77e7fbd723d6dc5d3':
  telephony: Add same named operator configuration for some operators
2014-01-08 19:40:30 +00:00
Wink Saville
f05ae3fe0f am bc0207fd: am 2626d0e1: am ad068837: am 76d5cdd8: Merge "telephony: Add same named operator configuration for some operators"
* commit 'bc0207fdbd6cd8b3f250704b07edef07ab376bcb':
  telephony: Add same named operator configuration for some operators
2014-01-08 19:37:30 +00:00
Wink Saville
2626d0e18d am ad068837: am 76d5cdd8: Merge "telephony: Add same named operator configuration for some operators"
* commit 'ad06883730b4cd4af98c0c3ec69a7e851f9cace9':
  telephony: Add same named operator configuration for some operators
2014-01-08 11:31:02 -08:00
Wink Saville
76d5cdd820 Merge "telephony: Add same named operator configuration for some operators" 2014-01-08 19:25:11 +00:00
Baligh Uddin
1dbd3feaff Import translations. DO NOT MERGE
Change-Id: I6b4ea2167d53edba65aebefe0ca6f22134a9dd8a
Auto-generated-cl: translation import
2014-01-08 09:30:38 -08:00
Rakesh Pallerla
b8b7bd3185 Telephony: Modify code to check that PUK code length is always 8.
As per 3GPP TS 31.101 Release 11 section 9.6, the number of digits
for UNBLOCK PIN (PUK) is always 8.

Change-Id: I4ea69fd8e2e8e96330d10a67b2d1f5a1859c1016
2014-01-08 19:46:25 +05:30
Robert Greenwalt
bc6c07f056 am 080d1bdd: am 132a5537: am 400e6b70: am cbf5e875: am 517e9b11: Merge "Revert "Do not show roaming icon for Videotron operator when access Canada network""
* commit '080d1bdd7f80ce4d68a99f5c3433bfc5f70d2e4b':
  Revert "Do not show roaming icon for Videotron operator when access Canada network"
2014-01-08 00:53:01 +00:00
Robert Greenwalt
080d1bdd7f am 132a5537: am 400e6b70: am cbf5e875: am 517e9b11: Merge "Revert "Do not show roaming icon for Videotron operator when access Canada network""
* commit '132a55375e89d809e1cc116aa4cca49e2351294a':
  Revert "Do not show roaming icon for Videotron operator when access Canada network"
2014-01-08 00:50:16 +00:00
Robert Greenwalt
400e6b705f am cbf5e875: am 517e9b11: Merge "Revert "Do not show roaming icon for Videotron operator when access Canada network""
* commit 'cbf5e8758ff9ef2eb21228fba20c962002f1e42d':
  Revert "Do not show roaming icon for Videotron operator when access Canada network"
2014-01-07 16:44:30 -08:00
Alan Viverette
e2802755b1 Merge "Add support for specifying Drawable color filter in XML" 2014-01-07 23:53:47 +00:00
Alan Viverette
d9e788c4f0 Add support for specifying Drawable color filter in XML
BUG: 12178044
Change-Id: Ie118aebf56bb4580c97b625e20f4e76bed4b6f6f
2014-01-07 11:30:24 -08:00