Commit Graph

1337 Commits

Author SHA1 Message Date
Kenny Root
d5ebd5694f am 0d3647dc: am 9c711282: Merge "Unhide new PackageManager APIs for API 14" into ics-factoryrom
* commit '0d3647dc00849872ec5e18cce8ffe0e6ae02dd47':
  Unhide new PackageManager APIs for API 14
2011-09-21 19:10:58 -07:00
Kenny Root
3a9b5fbb97 Unhide new PackageManager APIs for API 14
Change-Id: I83110285ccee39a4cd872a1c2af8357f541833d4
2011-09-20 14:35:10 -07:00
Kenny Root
c11bc8d224 Be more forgiving in parsing verifier IDs
RFC 4648's Base32 is made to be forgiving for users doing manual entry
of the digits. For this reason we want to be able to parse lowercase
letters as uppercase and number 0 (zero) as letter O along with number
1 (one) as letter I.

Cherry-pick into ics-factoryrom

Change-Id: I149d8e947ff8b36305c1e61d8a1d80ff0b317cda
2011-09-15 21:04:57 -07:00
Kenny Root
2a3f0d375a am 04b08bdf: Merge "Be more forgiving in parsing verifier IDs"
* commit '04b08bdf19497c31abdef49100bfe471f8d104d6':
  Be more forgiving in parsing verifier IDs
2011-09-15 09:34:28 -07:00
Kenny Root
a0f264e1af Be more forgiving in parsing verifier IDs
RFC 4648's Base32 is made to be forgiving for users doing manual entry
of the digits. For this reason we want to be able to parse lowercase
letters as uppercase and number 0 (zero) as letter O along with number
1 (one) as letter I.

Change-Id: Ide760aff84f97c3e06af8bf8d006f36c74033a41
2011-09-14 10:08:19 -07:00
Kenny Root
d5fcb0c2b5 am c924fbd6: Merge "Add verifier device identity"
* commit 'c924fbd6933f6a96588b6e78d385082155cfd236':
  Add verifier device identity
2011-09-13 18:28:15 -07:00
Kenny Root
c924fbd693 Merge "Add verifier device identity" 2011-09-13 17:51:08 -07:00
Irfan Sheriff
9c3e293f92 am 651cdfcb: Unhide wifi p2p API
* commit '651cdfcbac6245f570475991588ddc2d30265e8d':
  Unhide wifi p2p API
2011-09-13 16:09:14 -07:00
Irfan Sheriff
651cdfcbac Unhide wifi p2p API
Bug: 5247957
Change-Id: Id93e30c0cb60f361ba13a840de8f843415777336
2011-09-13 16:04:00 -07:00
Kenny Root
0aaa0d9317 Add verifier device identity
This adds a special device identifier that is usable only for device
validation. The user will be presented with this number encoded in
easily-transcribable Base32 in the Developer options of Settings.

Change-Id: I4843f55ee90d689a51d0269b22454ca04c1be7ec
2011-09-13 16:02:43 -07:00
Dianne Hackborn
2cef70aa32 am f0ec2dd3: Merge "Fix problems where we were allocating TypedArray when not needed."
* commit 'f0ec2dd3270b60b1516293190757de298f187957':
  Fix problems where we were allocating TypedArray when not needed.
2011-09-12 17:54:27 -07:00
Dianne Hackborn
ab0f485e64 Fix problems where we were allocating TypedArray when not needed.
Fixes up some recycling of TypedArray objects to reduce the
number we need to allocate during inflation etc.

Change-Id: I948dccc052997779001eaa99db2a710b04be01ae
2011-09-12 17:04:32 -07:00
Dianne Hackborn
b73f3175a7 am 83f9dfe0: Merge "Add boot mode where only "core apps" are started."
* commit '83f9dfe0f085a01ebaa9f3ba6205af20e20bbe78':
  Add boot mode where only "core apps" are started.
2011-09-12 15:09:14 -07:00
Dianne Hackborn
83f9dfe0f0 Merge "Add boot mode where only "core apps" are started." 2011-09-12 15:07:51 -07:00
Dianne Hackborn
d2509fd835 Add boot mode where only "core apps" are started.
A core app is one that has coreApp="true" in its manifest tag.

The system can successfully boot (though a little painfully) with
only framework-res.apk, SettingsProvider.apk, SystemUI.apk,
DefaultContainerService.apk, and Launcher2.apk set as core apps.

Currently this boot mode is always turned off.

Change-Id: Ieaa4a8031c2c391a12996aa8d8b1d65fc2b09d6b
2011-09-12 12:29:43 -07:00
Fred Quintana
efac6e1902 am 76eb1a25: Merge "Revert "Make the SyncManager timeout syncs if it takes too long to bind to them.""
* commit '76eb1a251808438771a237a92a0ab0903baeea7e':
  Revert "Make the SyncManager timeout syncs if it takes too long to bind to them."
2011-09-12 12:19:55 -07:00
Fred Quintana
87b146625a Revert "Make the SyncManager timeout syncs if it takes too long to bind to them."
This reverts commit bf3c634dc5

Bug: 5290505
Change-Id: I11a681b48360f5c200a0602c4daf30ae82b4209c
2011-09-12 10:50:53 -07:00
Fred Quintana
89e22992b9 am 16e1678d: Merge "Make the SyncManager have wakelocks per account, not per account type, otherwise the parallel sync behavior of gmail can cause the first account to finish to release the wakelock that is used for the other account, which will result in the device g
* commit '16e1678df48f6de4eb602f9cd18baa1e40b1181f':
  Make the SyncManager have wakelocks per account, not per account type, otherwise the parallel sync behavior of gmail can cause the first account to finish to release the wakelock that is used for the other account, which will result in the device going to sleep before the sync is complete.
2011-09-09 09:05:11 -07:00
Fred Quintana
16e1678df4 Merge "Make the SyncManager have wakelocks per account, not per account type, otherwise the parallel sync behavior of gmail can cause the first account to finish to release the wakelock that is used for the other account, which will result in the device going to sleep before the sync is complete." 2011-09-08 17:53:03 -07:00
Fred Quintana
fdb2dca454 Make the SyncManager have wakelocks per account, not per account type,
otherwise the parallel sync behavior of gmail can cause the first
account to finish to release the wakelock that is used for the other
account, which will result in the device going to sleep before the
sync is complete.

Change-Id: I7658465ca0956dfd9bb341de03126869e6217d31
2011-09-08 15:59:56 -07:00
Subir Jhanb
b7fc29c78d am 3adb1809: Merge "Changing the timeout for detecting syncs that are taking too long to bind BUG: 5222661"
* commit '3adb1809098998851b2486e5abad1ec612f9f85e':
  Changing the timeout for detecting syncs that are taking too long to bind BUG: 5222661
2011-09-08 13:26:52 -07:00
Subir Jhanb
795b6490fe Changing the timeout for detecting syncs that are taking too long to bind
BUG: 5222661

Change-Id: I9406980e26a4ee30ac6d5470bc97928e3dc74d24
2011-09-08 13:12:21 -07:00
Dianne Hackborn
569857cd44 am 4ee36669: Merge "Fix issue #5263361: Browser instance not created in application picker"
* commit '4ee366690111e5f71a248a2af10301db425162d5':
  Fix issue #5263361: Browser instance not created in application picker
2011-09-08 10:41:59 -07:00
Dianne Hackborn
905577f634 Fix issue #5263361: Browser instance not created in application picker
The resolver activity was hiding the following activity from recents.

Also some other fixes: a little better memory use debugging, removed
some unneeded code from window manager, moved some system activities
into their own process, added some more running process information for
manage apps.

Change-Id: I66687d16989ff965d524b92dc360f37c19199717
2011-09-08 10:35:11 -07:00
Irfan Sheriff
cb2b95e6b7 am 1a58dce0: Merge "Add feature definition for Wi-Fi Direct"
* commit '1a58dce0cc9ae772c0025ecadac1fe3b3a06e1a0':
  Add feature definition for Wi-Fi Direct
2011-09-07 14:51:31 -07:00
Irfan Sheriff
1a58dce0cc Merge "Add feature definition for Wi-Fi Direct" 2011-09-07 14:50:32 -07:00
Irfan Sheriff
45b8b46499 Add feature definition for Wi-Fi Direct
Bug: 5267396
Change-Id: I4f61b0afd1466420ab951f6d74ec444036772b21
2011-09-07 11:51:48 -07:00
Dianne Hackborn
da3102b15a am 1ed7a407: Merge "Some more preloaded drawables."
* commit '1ed7a407fafe50b1eb0878f560bb0618706e4e82':
  Some more preloaded drawables.
2011-09-06 13:23:33 -07:00
Dianne Hackborn
9b44aaefc0 Some more preloaded drawables.
More to come.

Change-Id: I28393c6e52553e960d3a765ba793cfdbf36460ff
2011-09-06 10:58:30 -07:00
Fred Quintana
c67aa29143 am f705f788: Merge "Make the SyncManager timeout syncs if it takes too long to bind to them."
* commit 'f705f788b5a4ba8c8b92bcd237534eb55c464f57':
  Make the SyncManager timeout syncs if it takes too long to bind to them.
2011-09-01 17:36:51 -07:00
Fred Quintana
f705f788b5 Merge "Make the SyncManager timeout syncs if it takes too long to bind to them." 2011-09-01 17:35:25 -07:00
Fred Quintana
bf3c634dc5 Make the SyncManager timeout syncs if it takes too long to bind to them.
Bug: 5222661
Change-Id: Ia6b995744860a27d13ad1ee64fa06bef137b7731
2011-08-31 18:04:27 -07:00
David Brown
eef989ebd4 am 93d77b63: Don\'t log PII when launching intents with "sms:" or "sip:" URIs
* commit '93d77b633e7888b425443f544b2732485adee45e':
  Don't log PII when launching intents with "sms:" or "sip:" URIs
2011-08-31 17:13:12 -07:00
David Brown
93d77b633e Don't log PII when launching intents with "sms:" or "sip:" URIs
We were already redacting phone numbers from "tel:" and "smsto:" URIs.

Now, do that for "sms:" and "sip:" too, since those schemes are equally
likely to contain PII in the scheme-specific part.

TESTED: Received incoming call; selected "Respond via SMS" -> "Custom
        message"; confirmed no PII in the system log.

Bug: 5244735
Change-Id: If2444c8901249aac9fd8e6b809d6da01db2e27c1
2011-08-31 17:04:17 -07:00
Mike Lockwood
1bf3c4bba2 Make Serial Manager APIs public
Change-Id: I9b96ff288a4757c4c4465a6a5ea3b4ed9c432e06
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-08-30 12:56:33 -04:00
Mike Lockwood
8b3b98d622 New Serial Manager API:
SerialManager: provides access to serial ports
SerialPort: for reading and writing data to and from serial ports

IO with both array based and direct ByteBuffers is supported.

Accessing serial ports requires android.permission.SERIAL_PORT permission

Each platform must configure list of supported serial ports in the
config_serialPorts resource overlay
(this is needed to prevent apps from accidentally accessing the bluetooth
or other system UARTs).

In addition, the platform uevent.rc file must set the owner to the
/dev/tty* files to "system" so the framework can access the port.

Change-Id: I6afa78ceacf08486aaebced4156ecd2e33051879
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-08-30 12:56:26 -04:00
Fabrice Di Meglio
d32f27aec0 Merge "Fix bug #5199577 TextView with android:password="true" is showing the "dots" on the left even if the password chars are RTL" 2011-08-26 14:05:09 -07:00
Fabrice Di Meglio
7810b5f8cf Fix bug #5199577 TextView with android:password="true" is showing the "dots" on the left even if the password chars are RTL
- force TextView to LOCALE text heuristic when in "password" mode
- remove TEXT_LAYOUT_DIRECTION_UNKNOWN_DO_NOT_USE
- LocaleUtils.getLayoutDirectionFromLocale() returns "LTR" is locale is NULL or ROOT

Change-Id: I182c46aaf2d73c8b18967fffa230bfabec91ed06
2011-08-25 18:43:37 -07:00
Fred Quintana
e6d60ecdf6 add a way for the sync adapter to specify the activity that should
be invoked to reach a settings screen for that sync adapter

Bug: 5204776
Change-Id: I4641067c1f0710c51f2633241a8c87bc4d568af2
2011-08-25 17:23:42 -07:00
Dianne Hackborn
661cd52e0e Add progress dialog for booting after an upgrade.
This introduces a new facility for code during the boot process
to display messages to the user through a progress dialog.  This
is only for use when performing longer-than-usual post-upgrade
operations such as running dexopt on applications or upgrading
databases.

Change-Id: I0e78439ccec3850fb67872c22f235bf12a158dae
2011-08-22 13:42:05 -07:00
Dianne Hackborn
d99b293d5f Fix issue #5180553: permission RECEIVE_BOOT_COMPLETED is not checked
Change-Id: I069673f2fbdf05e409c5e9ed99ccd1e15b4fe3ed
2011-08-18 16:02:41 -07:00
Alon Albert
14ee9a117e Merge "Check for periodic sync that is in the future Bug: 5164762 Change-Id: If578737bcfc4f83756f75c516657afdfc601caf1" 2011-08-17 10:34:35 -07:00
Alon Albert
cc6edf378e Check for periodic sync that is in the future
Bug: 5164762
Change-Id: If578737bcfc4f83756f75c516657afdfc601caf1
2011-08-16 16:58:20 -07:00
Kenny Root
46d2545db4 Merge "Infrastructure to support package verifier" 2011-08-16 08:35:53 -07:00
Kenny Root
bcc2d40a11 Merge "Throw exception on odd length Signatures" 2011-08-16 08:34:22 -07:00
Kenny Root
5ab2157bf1 Infrastructure to support package verifier
Allow a package verifier to approve or disapprove of a package being
installed.

Change-Id: Ibfea0f2b1aaa4ab1589a4e59f96144702b9bf94b
2011-08-15 17:26:31 -07:00
Adam Powell
6e90a362bc Fix bug 5159736 - Make DeviceDefault the default
Have the framework refer to the DeviceDefault themes for ICS apps that
don't explicitly request another theme.

Change-Id: I27dd0bbaa60f71df4f36e47d260f556d923ba075
2011-08-14 16:49:22 -07:00
Xavier Ducrohet
7f9f99ea11 Make some methods/fields package private so that layoutlib can access them.
Change-Id: I4aeadfbaf8a4f6a459fa19937c21ac23d9e5fb64
2011-08-11 12:57:51 -07:00
Dianne Hackborn
e09cd7914c Merge "New broadcast telling when an app is fully removed." 2011-08-11 11:35:07 -07:00
Dianne Hackborn
f9abb40590 New broadcast telling when an app is fully removed.
Change-Id: Ia516d826f302a01881fa92d9ffdc0adfbf669a4b
2011-08-10 17:15:17 -07:00