533 Commits

Author SHA1 Message Date
Mike Lockwood
49f746823e Remove android:multiprocess from ShutdownActivity to ensure it runs in the system process.
Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-07-30 15:27:00 -07:00
Mike Lockwood
bad80e0dcc Add Activity Intent.ACTION_REQUEST_SHUTDOWN for requesting a system shutdown.
The Intent.EXTRA_KEY_CONFIRM extra can be set to require user confirmation before shutting down.
The ACTION_REQUEST_SHUTDOWN Intent is protected by android.permission.SHUTDOWN.

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-07-30 10:16:28 -07:00
Joe Onorato
9bb8fd77c8 Only restore the bits for wallpapers that aren't built in. 2009-07-29 12:05:36 -07:00
Android (Google) Code Review
e406906e16 Merge change 8878
* changes:
  Support for selection of silent ringtone from the ringtone picker. This doesn't actually enable that, but adds the necessary code to make it work when enabled, and cleans up some ringtone related code.
2009-07-28 16:26:40 -07:00
Marco Nelissen
69f593ccb7 Support for selection of silent ringtone from the ringtone picker.
This doesn't actually enable that, but adds the necessary code to make it work when enabled, and cleans up some ringtone related code.
2009-07-28 16:06:38 -07:00
Dianne Hackborn
02f5228c3c resolved conflicts for merge of f0d83fd9 to master 2009-07-28 15:23:21 -07:00
Android (Google) Code Review
f0d83fd907 Merge change 8752 into donut
* changes:
  Updates from API review.
2009-07-28 12:36:49 -07:00
Android (Google) Code Review
5e7d68223a am 50f05b8f: Merge change 8825 into donut
Merge commit '50f05b8ffd2c4f4d877c4564b2339ca0ccca6ec1'

* commit '50f05b8ffd2c4f4d877c4564b2339ca0ccca6ec1':
  Fixes 2017393. Correctly apply gravity in RelativeLayout.
2009-07-28 11:29:34 -07:00
Romain Guy
d10a576791 Fixes 2017393. Correctly apply gravity in RelativeLayout.
RL was applying a horizontal offset to its children even when the gravity was only
specified for the vertical axis (and vice-versa.)

Also fix the ExpandableListView icons.
2009-07-28 11:18:14 -07:00
Dianne Hackborn
7f2054392e Updates from API review.
* AccessibilityService -- document onBind() to not be implemented.
    * GestureLibrary.getLearner() -- needs to be hidden.
    * IntentSender -- remove protected constructors, document that it is retrieved from a PendingIntent.
    * Hide permissions: SHUTDOWN, STOP_APP_SWITCHES.
    * Context -- hide BACKUP_SERVICE.
    * ContextWrapper -- hide getSharedPrefs bla h blah
    * Intent.parseUri() -- fix docs.
    * ApplicationInfo.FLAG_TEST_ONLY?!?
    * Hide MockContext.getSharedPrefs blah blah
2009-07-28 00:13:47 -07:00
Android (Google) Code Review
692a316d48 am 95fa929e: Merge change 8682 into donut
Merge commit '95fa929ebe55b3745eb59a1c4b8f21cb9f8e6b1d'

* commit '95fa929ebe55b3745eb59a1c4b8f21cb9f8e6b1d':
  New small rating stars from the UI designers.
2009-07-27 14:38:24 -07:00
Android (Google) Code Review
95fa929ebe Merge change 8682 into donut
* changes:
  New small rating stars from the UI designers.
2009-07-27 14:31:33 -07:00
Ilya Firman
730c66e635 New small rating stars from the UI designers. 2009-07-27 14:03:55 -07:00
Android (Google) Code Review
1fcabd7b32 Merge change 8677 into donut
* changes:
  DO NOT MERGE.
2009-07-27 13:55:18 -07:00
Grace Kloba
8268170d3f DO NOT MERGE.
Per product team request, remove 1x zoom button. Move the zoom overview to
the bottom left and zoom control to the bottom right.
2009-07-27 13:44:47 -07:00
Android (Google) Code Review
143a2ce1ea am ba989ad0: Merge change 8648 into donut
Merge commit 'ba989ad0ed91beda010d44945fa015d75d99cf67'

* commit 'ba989ad0ed91beda010d44945fa015d75d99cf67':
  Use the old string for bookmarks permissions.
2009-07-27 10:50:53 -07:00
Leon Scroggins
e7d1c8f377 Use the old string for bookmarks permissions.
When we made the bookmark permissions public, we also changed their
names, which might break existing apps.  Change them back.  Depends
on a change in packages/apps/Browser
2009-07-27 11:14:04 -04:00
Android (Google) Code Review
2470a7b4a8 am 3b99e64e: Merge change 8475 into donut
Merge commit '3b99e64e5899030b5d6f8201cb56cd149c80b24d'

* commit '3b99e64e5899030b5d6f8201cb56cd149c80b24d':
  Per conversation, remove the toast while saving the Certificates to CertTools.
2009-07-24 16:08:50 -07:00
Grace Kloba
c9d4c8790a Per conversation, remove the toast while saving the Certificates to CertTools.
Remove the unused strings.
2009-07-23 21:22:51 -07:00
Android (Google) Code Review
4b0c3c73c7 Merge change 8302
* changes:
  add account manager permission checking
2009-07-23 17:17:03 -07:00
Android (Google) Code Review
683ed9f9dd am 62c6c357: Merge change 8263 into donut
Merge commit '62c6c357060dca8597986783b67ec9ae06ccef66'

* commit '62c6c357060dca8597986783b67ec9ae06ccef66':
  Make the date formats as close as possible to what the translators wanted.
2009-07-23 16:25:53 -07:00
Fred Quintana
d4a1d2e142 add account manager permission checking 2009-07-23 16:03:54 -07:00
Android (Google) Code Review
62c6c35706 Merge change 8263 into donut
* changes:
  Make the date formats as close as possible to what the translators wanted.
2009-07-23 11:10:00 -07:00
Eric Fischer
ce4ba52c63 Make the date formats as close as possible to what the translators wanted.
Remove all the country-specific files that are exactly the same as the
language files, and several unverified country-specific files.
2009-07-22 16:25:06 -07:00
Dianne Hackborn
c00c04d7d8 am 11b822d2: Simplify density compatibility to a boolean.
Merge commit '11b822d2a91ea17c34c0cb1c11e80a9a30d72864'

* commit '11b822d2a91ea17c34c0cb1c11e80a9a30d72864':
  Simplify density compatibility to a boolean.
2009-07-22 12:01:19 -07:00
Dianne Hackborn
11b822d2a9 Simplify density compatibility to a boolean.
Instead of a list, we now just have a single boolean indicating whether an
application is density aware, and this set set to true by default as of
Donut.
2009-07-22 11:58:31 -07:00
Android (Google) Code Review
a8339dfec9 am 9fc20b0e: Merge change 8126 into donut
Merge commit '9fc20b0e381b5fe00b7049ef357c839cd05a33bf'

* commit '9fc20b0e381b5fe00b7049ef357c839cd05a33bf':
  First pass at reworking screen density/size APIs.
2009-07-21 19:03:53 -07:00
Dianne Hackborn
c4db95c077 First pass at reworking screen density/size APIs.
This changes the names of the directories in aapt, to what you see
in the list of DpiTest resources.  Also adds a new "long" configuration
for wide screens, which the platform sets appropriate, and introduces
a new kind of resizeability for not large but significantly larger
than normal screens which may have compatibility issues.
2009-07-21 18:28:42 -07:00
Marco Nelissen
2fc22398a6 Fix the media button style to use dip instead of px. 2009-07-21 15:07:31 -07:00
Mike LeBeau
4f7b7c3cc6 am eb1eab12: Remove unused search dialog layout files.
Merge commit 'eb1eab1214dbe0b25355e7bde4279fca804af9f7'

* commit 'eb1eab1214dbe0b25355e7bde4279fca804af9f7':
  Remove unused search dialog layout files.
2009-07-20 23:34:17 -07:00
Mike LeBeau
eb1eab1214 Remove unused search dialog layout files. 2009-07-20 22:53:02 -07:00
Android (Google) Code Review
fff0fd748c am 2493097c: Merge change 7566 into donut
Merge commit '2493097cb077b772af779bf14251e3ac0fff95f8'

* commit '2493097cb077b772af779bf14251e3ac0fff95f8':
  Fix the style of preferences headers in the light theme.
2009-07-16 17:54:07 -07:00
Romain Guy
c444805f9b Fix the style of preferences headers in the light theme. 2009-07-16 13:16:46 -07:00
Android (Google) Code Review
c047d68372 am a2694c99: Merge change 7166 into donut
Merge commit 'a2694c998c85a438c7d3fefd79bbeb751d594134'

* commit 'a2694c998c85a438c7d3fefd79bbeb751d594134':
  Fix a few date format strings to put backslashes in front of apostrophes.
2009-07-14 16:27:25 -07:00
Eric Fischer
9c947e9eca Fix a few date format strings to put backslashes in front of apostrophes.
I forgot that the apostrophes get lost on the way through aapt if you
don't quote them.
2009-07-14 16:16:06 -07:00
Android (Google) Code Review
70da2b5be0 am 3139297f: Merge change 7035 into donut
Merge commit '3139297f1eda3e34d17a2b182ae5d791da837542'

* commit '3139297f1eda3e34d17a2b182ae5d791da837542':
  Fixes #1972593. Updates AppSecurityPermissions styles in Theme.Light
2009-07-14 10:21:09 -07:00
Android (Google) Code Review
3139297f1e Merge change 7035 into donut
* changes:
  Fixes #1972593. Updates AppSecurityPermissions styles in Theme.Light
2009-07-13 17:52:59 -07:00
Romain Guy
17606f8852 Fixes #1972593. Updates AppSecurityPermissions styles in Theme.Light 2009-07-13 17:52:19 -07:00
Eric Fischer
0805604b82 Fix build breakage caused by automerge of translations. 2009-07-13 17:03:56 -07:00
Android (Google) Code Review
1dcdce6db7 am c353268c: Merge change 6968 into donut
Merge commit 'c353268c20a8ea425ac9f1e328684855cfc805e0'

* commit 'c353268c20a8ea425ac9f1e328684855cfc805e0':
  Import new translations
2009-07-13 16:32:17 -07:00
Eric Fischer
0560209bcd Import new translations 2009-07-13 15:42:14 -07:00
Android (Google) Code Review
602bee5bf2 am cf29e116: Merge change 6867 into donut
Merge commit 'cf29e116129f38309c18ba14b9893b079a712289'

* commit 'cf29e116129f38309c18ba14b9893b079a712289':
  CLOSE_SYSTEM_DIALOGS can't be protected.
2009-07-12 21:56:02 -07:00
Android (Google) Code Review
5f8e2450eb am 7cd43797: Merge change 6806 into donut
Merge commit '7cd43797ae41406792f70a5623bb6d207e575526'

* commit '7cd43797ae41406792f70a5623bb6d207e575526':
  Add CLDR data files for Norway and Croatia.
2009-07-12 06:06:25 -07:00
Dianne Hackborn
4554f30c83 CLOSE_SYSTEM_DIALOGS can't be protected. 2009-07-10 17:30:50 -07:00
Dianne Hackborn
54a26bc85f resolved conflicts for merge of 889c2d37 to master 2009-07-10 16:05:59 -07:00
Android (Google) Code Review
7cd43797ae Merge change 6806 into donut
* changes:
  Add CLDR data files for Norway and Croatia.
2009-07-10 14:42:41 -07:00
Eric Fischer
bd5a8b2adc Add CLDR data files for Norway and Croatia.
The locale picker now wants the locale to always have a country, not just
a language, so having something for the country is necessary to let these
be chosen.
2009-07-10 13:54:02 -07:00
Dianne Hackborn
854060af30 Fix bug #1873249i: Apps can DoS/brick device
This is the problem where various things are listening for broadcasts
(such as battery status, PIN/PUK/Network) that an application can send
to cause harm to the system.

Solving this is tricky because many of these broadcasts are sticky,
and I have never figured out how to do permissions with sticky
broadcasts in a sane way.  So instead, I am going to punt on the
general problem and just brute force it:

There is new a way for system components to declare specific
broadcast actions to be protected, which means that only the system
and the phone can send them.  This is good enough for now.  None
of it is exposed in the public API so we can make something a little
less stupid in the future if we ever need to.
2009-07-09 18:14:31 -07:00
Android (Google) Code Review
368df94182 Merge change 6654
* changes:
  Moving Contacts strings from en-rUS to default locale.
2009-07-09 13:18:13 -07:00
Dmitri Plotnikov
e7a7cb39c0 Moving Contacts strings from en-rUS to default locale. 2009-07-09 13:12:13 -07:00