Commit Graph

29524 Commits

Author SHA1 Message Date
Jeff Sharkey
94e602d7b5 am 1b50e4ea: am ca2a6374: Merge "Environment should only warn when asked." into jb-mr2-dev
* commit '1b50e4ead5463f4dcc03f9c5ed64963af0d4d9eb':
  Environment should only warn when asked.
2013-04-19 14:38:36 -07:00
Jeff Sharkey
1b50e4ead5 am ca2a6374: Merge "Environment should only warn when asked." into jb-mr2-dev
* commit 'ca2a6374aadb95ca3f151d4bc2fdd3127f04e5e7':
  Environment should only warn when asked.
2013-04-19 13:35:37 -07:00
Jeff Sharkey
48749fc78a Environment should only warn when asked.
Instead of warning on Process.SYSTEM_UID, which is also used by the
Settings app, change to have the parent process explicitly ask for
warnings.

Bug: 8667286
Change-Id: Ib26676694a4041ff4e6d3ffdcc14055b7eba13c7
2013-04-19 13:27:43 -07:00
Amith Yamasani
8dc25e0680 am ba567014: am e37c8f78: Merge "Improve API and documentation" into jb-mr2-dev
* commit 'ba56701493ede3f5f338a03173da0327a215b223':
  Improve API and documentation
2013-04-19 12:49:40 -07:00
Carlos Valdivia
3aefa11119 am f2c12911: am 58156b41: Merge "Fix NPE when restarting ChooseTypeAndAccountActiivty." into jb-mr2-dev
* commit 'f2c12911fb8ef9f40d8e90fe29fef0129edc8553':
  Fix NPE when restarting ChooseTypeAndAccountActiivty.
2013-04-19 12:49:38 -07:00
Jeff Sharkey
50474f91e3 am dde9559b: am 24b55f25: Merge "Deprecate StatFs methods returning small values." into jb-mr2-dev
* commit 'dde9559b78a93344ec0b568c2bac7329621de31f':
  Deprecate StatFs methods returning small values.
2013-04-19 12:49:34 -07:00
Amith Yamasani
ba56701493 am e37c8f78: Merge "Improve API and documentation" into jb-mr2-dev
* commit 'e37c8f781abb045ec4a0b872e5e6afe48eee021a':
  Improve API and documentation
2013-04-19 12:47:01 -07:00
Carlos Valdivia
f2c12911fb am 58156b41: Merge "Fix NPE when restarting ChooseTypeAndAccountActiivty." into jb-mr2-dev
* commit '58156b4123acf92f2a03885136a3b6859801f000':
  Fix NPE when restarting ChooseTypeAndAccountActiivty.
2013-04-19 12:46:59 -07:00
Jeff Sharkey
dde9559b78 am 24b55f25: Merge "Deprecate StatFs methods returning small values." into jb-mr2-dev
* commit '24b55f25c18fbed6b5d10ed33ddaab269cf1a01e':
  Deprecate StatFs methods returning small values.
2013-04-19 12:46:56 -07:00
Amith Yamasani
e37c8f781a Merge "Improve API and documentation" into jb-mr2-dev 2013-04-19 19:10:02 +00:00
Amith Yamasani
3b458ad9ee Improve API and documentation
API for querying accounts visible to a specific package.

Improve API and docs for device owner.

Bug: 8657158
Change-Id: I01b8701534f64b383391508a49ae93ed21f22ae0
2013-04-19 12:07:46 -07:00
Carlos Valdivia
58156b4123 Merge "Fix NPE when restarting ChooseTypeAndAccountActiivty." into jb-mr2-dev 2013-04-19 18:38:34 +00:00
Jeff Sharkey
24b55f25c1 Merge "Deprecate StatFs methods returning small values." into jb-mr2-dev 2013-04-19 18:21:09 +00:00
Fabrice Di Meglio
789ac6c975 am 07fedf58: am b08aa235: Merge "Improve fix for bug #8159072 Spinner widget should be RTL\'ized" into jb-mr2-dev
* commit '07fedf58dd6d6e4759f7dbe7a492e5318f1655cb':
  Improve fix for bug #8159072 Spinner widget should be RTL'ized
2013-04-19 11:10:20 -07:00
Fabrice Di Meglio
07fedf58dd am b08aa235: Merge "Improve fix for bug #8159072 Spinner widget should be RTL\'ized" into jb-mr2-dev
* commit 'b08aa2354ff3b1bd1c7d705b82a7c1e62674ee50':
  Improve fix for bug #8159072 Spinner widget should be RTL'ized
2013-04-19 11:03:28 -07:00
Fabrice Di Meglio
7ed5180df7 am 1c6e609b: am 2623a24f: Merge "Fix bug #8654490 android:paddingStart doesn\'t override android:paddingLeft" into jb-mr2-dev
* commit '1c6e609b2b5409b34d5928f506306ed9ad21adb7':
  Fix bug #8654490 android:paddingStart doesn't override android:paddingLeft
2013-04-19 11:03:15 -07:00
Fabrice Di Meglio
1c6e609b2b am 2623a24f: Merge "Fix bug #8654490 android:paddingStart doesn\'t override android:paddingLeft" into jb-mr2-dev
* commit '2623a24ffa4d75206757684b12b06318167f8788':
  Fix bug #8654490 android:paddingStart doesn't override android:paddingLeft
2013-04-19 10:59:51 -07:00
Philip Milne
1027ea4743 am 696b15e5: am 68711f93: Merge "Revert "Simple MVC based binding mechanism for android controls."" into jb-mr2-dev
* commit '696b15e52659abdf8852dc60f09fe79edba435e0':
  Revert "Simple MVC based binding mechanism for android controls."
2013-04-19 10:59:43 -07:00
Fabrice Di Meglio
b08aa2354f Merge "Improve fix for bug #8159072 Spinner widget should be RTL'ized" into jb-mr2-dev 2013-04-19 17:58:47 +00:00
Philip Milne
696b15e526 am 68711f93: Merge "Revert "Simple MVC based binding mechanism for android controls."" into jb-mr2-dev
* commit '68711f936381310fad783f2500e59dc2f272618a':
  Revert "Simple MVC based binding mechanism for android controls."
2013-04-19 10:56:22 -07:00
Fabrice Di Meglio
2623a24ffa Merge "Fix bug #8654490 android:paddingStart doesn't override android:paddingLeft" into jb-mr2-dev 2013-04-19 17:56:22 +00:00
Philip Milne
68711f9363 Merge "Revert "Simple MVC based binding mechanism for android controls."" into jb-mr2-dev 2013-04-19 17:53:24 +00:00
Jeff Sharkey
b81440bd9b Deprecate StatFs methods returning small values.
Bug: 8656794
Change-Id: Ic904bd1bc016ef48b5a304b7c68250afe23e98bc
2013-04-19 10:52:42 -07:00
Robert Greenwalt
ca2dc0d763 am 0460cb9e: am 88cec86e: Remove STOPSHIP and defer removal.
* commit '0460cb9ed68bbd612c46c52b5f17e58d31cc5125':
  Remove STOPSHIP and defer removal.
2013-04-19 10:20:35 -07:00
Robert Greenwalt
0460cb9ed6 am 88cec86e: Remove STOPSHIP and defer removal.
* commit '88cec86e882e27a9e35315553cc05fdf7f281a4e':
  Remove STOPSHIP and defer removal.
2013-04-19 10:17:41 -07:00
Robert Greenwalt
88cec86e88 Remove STOPSHIP and defer removal.
bug:8657300
Change-Id: Ia855fdc0db7a33502838648ee002d4929b224960
2013-04-19 09:31:24 -07:00
Carlos Valdivia
1b64c9d315 Fix NPE when restarting ChooseTypeAndAccountActiivty.
Note that this change still leaves things in an imperfect state. Now instead
of ANR with an NPE it will reshow the Choose account activity and then on the
second back, it will go away. So the user isn't hosed. But it is still a sloppy
experience.  Basically the bug fix reveals another not quite as bad bug
(see https://b/8661942).

Bug: 8151602
Change-Id: I44b188f5940d464c2dd81dd0b6b7cae3c189becd
2013-04-19 02:57:42 -07:00
Philip Milne
ab104ba6d4 Revert "Simple MVC based binding mechanism for android controls."
Fix for bug 8656899 API REVIEW:
	android.util.PropertyValueModel/ValueModel,
	android.widget.ValueEditor etc

Revert the change that added this API to remove it outright.

This reverts commit 989709a973

Change-Id: I9018cd8dadb1b1a54ad8749c816bd02bb7e7a38b
2013-04-18 21:09:00 -07:00
Ying Wang
11915d14d7 am 9454a9b3: am 4e0eb22f: Fix doc build.
* commit '9454a9b3037dfdd172e08d621a23df182bf942b4':
  Fix doc build.
2013-04-18 20:47:44 -07:00
Ying Wang
9454a9b303 am 4e0eb22f: Fix doc build.
* commit '4e0eb22fdf56b8f3fd1bff09c4064b35b80751c1':
  Fix doc build.
2013-04-18 20:44:28 -07:00
Ying Wang
4e0eb22fdf Fix doc build.
Change-Id: Ibf0d998721a2851c31529d5b44bf86b1b3df5791
2013-04-18 20:39:48 -07:00
Fabrice Di Meglio
b9a13b892e Improve fix for bug #8159072 Spinner widget should be RTL'ized
- populate the preloaded drawable cache with only LTR drawables
when the layout direction during preloading is LTR. Populate
the cache with only RTL drawables when the layout direction during
preloading is RTL
- only preload drawables that dont have a dual LTR/RTL version

Change-Id: I7807bdc031b99102609efda75042a9500d96065c
2013-04-18 19:57:24 -07:00
Jeff Brown
1345bf762b am 31ae3908: am 8adf5d2b: Merge "Undeprecate old UsbDeviceConnection methods." into jb-mr2-dev
* commit '31ae3908fb6d4eccc04920ddaff557b76110fe30':
  Undeprecate old UsbDeviceConnection methods.
2013-04-18 19:22:33 -07:00
Svetoslav Ganov
aff9c7652e am 8a28c2c2: am d1f765c0: Merge "Fix restoration of virtual accessibility focus in ListView." into jb-mr2-dev
* commit '8a28c2c2a02c389f3702af9678fa419f2d3c86d7':
  Fix restoration of virtual accessibility focus in ListView.
2013-04-18 19:22:30 -07:00
Jeff Brown
31ae3908fb am 8adf5d2b: Merge "Undeprecate old UsbDeviceConnection methods." into jb-mr2-dev
* commit '8adf5d2b0d3c59e085837159173c3228061ce3e7':
  Undeprecate old UsbDeviceConnection methods.
2013-04-18 19:20:22 -07:00
Svetoslav Ganov
8a28c2c2a0 am d1f765c0: Merge "Fix restoration of virtual accessibility focus in ListView." into jb-mr2-dev
* commit 'd1f765c009ec28484792b9d847fa0c41e6b943e0':
  Fix restoration of virtual accessibility focus in ListView.
2013-04-18 19:20:19 -07:00
Jeff Brown
8adf5d2b0d Merge "Undeprecate old UsbDeviceConnection methods." into jb-mr2-dev 2013-04-19 02:19:34 +00:00
Jeff Brown
e783d99038 Undeprecate old UsbDeviceConnection methods.
Per api review, retain the overloads that do not accept a
buffer start offset.

Bug: 8656781
Change-Id: Ie00aca7d3a4708700c5ddf60e3309e609788a67f
2013-04-18 19:17:35 -07:00
Svetoslav Ganov
d1f765c009 Merge "Fix restoration of virtual accessibility focus in ListView." into jb-mr2-dev 2013-04-19 02:17:02 +00:00
Jeff Brown
8844892a88 am ba8fdcac: am 6f575bb3: Merge "Fix change of behavior in Looper.quit()." into jb-mr2-dev
* commit 'ba8fdcac4cc4ae3d9dcac8fa6a64c55facd6f25f':
  Fix change of behavior in Looper.quit().
2013-04-18 19:14:54 -07:00
Jeff Brown
ba8fdcac4c am 6f575bb3: Merge "Fix change of behavior in Looper.quit()." into jb-mr2-dev
* commit '6f575bb34c038bfa0e3cd0e26e61712d7fdcb984':
  Fix change of behavior in Looper.quit().
2013-04-18 19:11:44 -07:00
Jeff Brown
6f575bb34c Merge "Fix change of behavior in Looper.quit()." into jb-mr2-dev 2013-04-19 02:09:20 +00:00
Jeff Brown
8b60e45147 Fix change of behavior in Looper.quit().
It seems some applications rely on Looper.quit() terminating the
loop immediately without processing all messages.  Rather than
risk breaking them, make the safer behavior optional.

Also take care to properly drain the message queue before quitting
so that all of the Message instances are recycled.  This may
help release storage sooner in case the Looper doesn't get GC'd
promptly and its remaining queue of undelivered messages sticks
around.

Improve docs on runWithScissors.

Bug: 8596303
Change-Id: I8cbeb6f7a5f6b8e618b5109f87a03defc1486b9f
2013-04-18 19:04:39 -07:00
Dianne Hackborn
9df0fb3c8d am a4430894: am f06396da: Merge "Fix issue #8656537: API review: styles, assist" into jb-mr2-dev
* commit 'a44308945ee23ab0ffca80f71c3f8897510a73f1':
  Fix issue #8656537: API review: styles, assist
2013-04-18 18:34:02 -07:00
Dianne Hackborn
a44308945e am f06396da: Merge "Fix issue #8656537: API review: styles, assist" into jb-mr2-dev
* commit 'f06396dae8ad9f6ac2ca2a6afb459f0e106cd786':
  Fix issue #8656537: API review: styles, assist
2013-04-18 18:30:02 -07:00
Dianne Hackborn
f06396dae8 Merge "Fix issue #8656537: API review: styles, assist" into jb-mr2-dev 2013-04-19 01:26:57 +00:00
Fabrice Di Meglio
1ae3b6aedd Fix bug #8654490 android:paddingStart doesn't override android:paddingLeft
- in RTL mode only and if you have left/start or right/end at the same time,
the initial left/right padding (coming from the background drawable or from
some explicit definition) was still used.

- now, override the background left/right initial pading by the left/right one
only and only if there is no start/end padding defined at the same time
(because when start/end are defined, we do not care about left/right padding
except the background ones)

Change-Id: Icc6e69c95ace1307b0c5e9673cbdf3b611b62733
2013-04-18 18:23:01 -07:00
Svetoslav
5c0bd520b8 am ab3f5903: am 688a6977: Replacing accessibility service permissions with capability attributes.
* commit 'ab3f5903fc4cefbaed6c5cf2242703d56f80028e':
  Replacing accessibility service permissions with capability attributes.
2013-04-18 18:05:27 -07:00
Svetoslav
ab3f5903fc am 688a6977: Replacing accessibility service permissions with capability attributes.
* commit '688a6977cf7673ed0542ab3d839053c4e38a4dbd':
  Replacing accessibility service permissions with capability attributes.
2013-04-18 18:01:34 -07:00
Svetoslav
688a6977cf Replacing accessibility service permissions with capability attributes.
Accessibility services can perform special operations such as retrieve
the screen content, enable explore by touch, etc. To ensure the user
is aware that the service will perform special operations we were using
permissions. However, the special operations cannot be performed unless
the service is really enabled by the user and it is at this point that
we want to notify the user about the service capabilities.

This change adds capability attributes to the accessibility service's
meta-data XML file. The service has to declare the capability and when
it is enabled we show the user the capabilities in the warining dialog.

bug:8633951

Change-Id: Id3442dc71dad018e606888afdc40834682fdb037
2013-04-18 17:45:44 -07:00