186526 Commits

Author SHA1 Message Date
Chris Craik
7d5dda4dca Revert "Avoid throwing ISE in Canvas#restore underflow"
Additionally, rewrite the exception message for clarity.

bug:19951475
bug:19829784

This reverts commit 14cfb6db33264f1c3b127ccf4e45e3ac86527804.

Change-Id: Ie70a49a8d3957025c4b2e47d4ef9f4abd4ded133
2015-03-30 13:31:11 -07:00
Chad Brubaker
7081a16859 am 5341d83c: am f603e286: Merge "Add authorization binder methods"
* commit '5341d83c3e9c22efff90cfbb9b039580351bc929':
  Add authorization binder methods
2015-03-30 20:25:00 +00:00
Chad Brubaker
5341d83c3e am f603e286: Merge "Add authorization binder methods"
* commit 'f603e2861430f13a746f80885b5fc00994f64391':
  Add authorization binder methods
2015-03-30 20:18:34 +00:00
Chad Brubaker
f603e28614 Merge "Add authorization binder methods" 2015-03-30 20:06:39 +00:00
Jason Monk
b730035761 Merge "Add constant for manage permissions screen" 2015-03-30 19:54:00 +00:00
Alex Klyubin
4ab8ea4498 Add HmacSHA256 backed by AndroidKeyStore.
This also adds the MAC length constraint on imported HMAC keys. HMAC
doesn't work without this constraint at the moment.

Bug: 18088752
Change-Id: I8613f58f5d2a84df00bcf6179d13e30619440330
2015-03-30 12:53:23 -07:00
Wei Jia
4a4a7f4611 Merge "MediaPlayer: use local variable to check whether mTimeProvider is null." 2015-03-30 19:39:46 +00:00
John Reck
c74e289a65 Merge "Add GraphicsStatsService" 2015-03-30 19:39:27 +00:00
Alan Viverette
6199bffef2 Merge "Deprecate AnalogClock widget, Integer methods on TimePickerView" 2015-03-30 19:37:43 +00:00
Alan Viverette
27616de47b Merge "Fix ViewRootImpl handling of content changes, fix ViewPager parenting" 2015-03-30 19:36:30 +00:00
Winson Chung
74e60ac985 Merge "Prevent the dismiss icon from fading when multistack debugging is enabled." 2015-03-30 19:34:32 +00:00
Raph Levien
683ab2afc5 Merge "Record hyphens from Minikin and draw them" 2015-03-30 19:34:11 +00:00
Winson Chung
d70f58c281 Prevent the dismiss icon from fading when multistack debugging is enabled.
Change-Id: I52db4222391cb7d922b9778cbc10a269451d10c5
2015-03-30 12:32:29 -07:00
Fabrice Di Meglio
27e1334734 Make Settings search API as a SystemAPI
See: http://b/19443752

Change-Id: I0148f187eec57a2734d8c04880a5950e9ec2b7b1
2015-03-30 12:32:09 -07:00
Makoto Onuki
b13f44bc6e Merge "Enterprise quick contact 1/2" 2015-03-30 19:24:42 +00:00
Skuhne
30862fbf55 Merge "Removing some tiling options for tablet usage" 2015-03-30 19:21:20 +00:00
Ruben Brunk
e1e1969c96 Add ProcessInfoService to activity manager.
- Adds a new AIDL interface for querying process
  information from activity manager.

Bug: 19186859
Change-Id: Ic08858f346d6b66e7bfc9da6faa2c6e38d9b2e82
2015-03-30 12:20:16 -07:00
Alan Viverette
34457f51e0 Fix ViewRootImpl handling of content changes, fix ViewPager parenting
Previously content changes were only handled if they came directly from
the focused host, which meant that changes that occurred higher in the
tree were ignored. As a result, scrolling in ViewPager that contained
virtual nodes would fail to update the focus position.

Change-Id: I028bd8c670f1210339da331626e1986c5b5d4b87
2015-03-30 12:15:25 -07:00
Alan Viverette
60b674e07b Clean up date picker attributes, add carets
Bug: 19819283
Bug: 19431364
Change-Id: Idd66f4ceb99d598c0f256d85c43bff6e25ccdd8f
2015-03-30 12:15:25 -07:00
Skuhne
2c10a8cf79 Removing some tiling options for tablet usage
Bug: 19985265
Change-Id: I4e1dfb16222312b55115e23176223a839f156361
2015-03-30 12:12:21 -07:00
Adrian Roos
8d75c14d0c Explicitly specify package in EmergencyButton
Change-Id: I0c64195e748ef926ae87db21663c86eab38c38b8
2015-03-30 18:59:13 +00:00
Jason Monk
ed0343c911 Add constant for manage permissions screen
This screen is not per app, but shows all runtime permissions and
how many apps hold each.

Change-Id: I68cdbe53177f742daf396f4eb53761fd5cda2636
2015-03-30 14:42:02 -04:00
Chris Wren
469d94490e Merge "add a mechanism for logging actions" 2015-03-30 18:31:44 +00:00
Chris Wren
4902da45a7 add a mechanism for logging actions
Change-Id: I60163e44602b8e23b643b9103c324fa0e0d2c4c4
2015-03-30 14:29:03 -04:00
Wei Jia
af2d2acc1a MediaPlayer: use local variable to check whether mTimeProvider is null.
Bug: 18753807
Change-Id: I05ef22edea5d06b1efb1a01bf540404eb75ac954
2015-03-30 11:16:29 -07:00
Simranjit Singh Kohli
6c7c4ada8b [Auth:Last Credentials Timing] : Introducing API
Storing last successful sign-in/authentication timings, and providing that
information as extra's in updateCredentials and confirmCredentials.
Also, adding a new api: AccountManager#accountAuthenticated(Account).

Change-Id: Icd0dac35b13d61bc28a2e045b96caefffeb353be
2015-03-30 11:08:18 -07:00
Fabrice Di Meglio
1c1b47125d Add IntentFilter auto verification
The purpose of this feature is to prompt the Disambiguation dialog
to Users as less as possible.

- add the new "autoVerify" property to the IntentFilter class
- add new APIs to PackageManager:
 verifyIntentFilter(int, int, List<String>),
 getIntentVerificationStatus(String, int),
 updateIntentVerificationStatus(String, int, int),
 getIntentFilterVerifications(String)
for supporting IntentFilter verification
- add support for multi-user
- update PackageManager for IntentFilter verification:
basically when we are installing a new package, ask for verification
of all domains from the IntentFilters that have the "autoVerify" to true.
This means that the PackageManager will send a well defined protected
broadcast (with a new INTENT_FILTER_NEEDS_VERIFICATION action) to
an IntentFilter verifier to do the real job of verification.
We are passing in the broadcast Intent all the necessary data for
doing the verification. The PackageManager will receive as response
the result code of the domain verifications and, if needed, the list
of domains that have failed the verification.
- add a new INTENT_FILTER_VERIFICATION_AGENT permission that needs to
be set by an intent filter verifier to be considered as a trustable
party by the PackageManager.
- add also a new BIND_INTENT_FILTER_VERIFIER permission for securing
the binding between the PackageManager and a service doing the
intent filter verifications.
- add ResolveInfo filterNeedsVerification which is a boolean
to knows if the IntentFilter is of a type that needs a verification
(action VIEW, category BROWABLE, HTTP/HTTPS data URI)
- add new "domain-preferred-apps" / "d" dump command for listing the
prefered Apps for all domains
- add new "intent-filter-verifiers" / "ivf" command for listing the
IntentFilterVerifier used
- introduce the IntentVerificationService which is a basic service
for verifying IntentFilters. This service will send HTTPS requests
to the domain declared in the IntentFilter(s) for doing the
verification. This service has a low priority level so that it
can be replaced by a more sophisticated one if needed. This service
is updating the PackageManager intent verification states thru
the updateIntentVerificationStatus(...) API.
- update MockPackageManager

Change-Id: I0bfed193d0bf1f7c7ac79f6c1b160b7ab93b5fb5
2015-03-30 10:58:35 -07:00
Alan Viverette
523fe91af4 Merge "Clean up time picker attributes and drawing code" 2015-03-30 17:27:03 +00:00
Mike Lockwood
e9e02d5235 Merge "Move MIDI utilities for internal use to com.android.internal.midi package" 2015-03-30 17:26:03 +00:00
Mady Mellor
847d17fcba Recognizes the stylus scale gesture in ScaleGestureDetector
If a user drags with a stylus (or mouse) across the screen with
the stylus primary (or mouse secondary) button clicked, this will
initiate a scale gesture that functions similarly to the quick
scale gesture: drag below starting point zooms in, drag above
starting point zooms out.

Combines some of the logic for quick scale and button
scale due to similarities.

Bug: 19620246
Change-Id: Ic53499d07cf6cef48b467dbb41f83cea433febad
2015-03-30 09:42:12 -07:00
Mike Lockwood
d1b16fe2fb Move MIDI utilities for internal use to com.android.internal.midi package
Change-Id: I7393ae1d4bca61667fb6ee809a7aa22c5c48de56
2015-03-30 09:06:06 -07:00
Geoff Mendal
27e3514e55 am b64b7885: (-s ours) am 6e22b329: (-s ours) am 6e6250b9: (-s ours) Import translations. DO NOT MERGE
* commit 'b64b78856cf6121e9956f8910f30656ebde5d024':
  Import translations. DO NOT MERGE
2015-03-30 15:03:29 +00:00
Geoff Mendal
b64b78856c am 6e22b329: (-s ours) am 6e6250b9: (-s ours) Import translations. DO NOT MERGE
* commit '6e22b3293298b721815b321b503cbe4ce34ae77d':
  Import translations. DO NOT MERGE
2015-03-30 14:56:54 +00:00
Geoff Mendal
20ec48bd00 am e9669588: (-s ours) Import translations. DO NOT MERGE
* commit 'e9669588c22eeae992e6b6d237f311856e4886c2':
  Import translations. DO NOT MERGE
2015-03-30 14:56:24 +00:00
Geoff Mendal
6e22b32932 am 6e6250b9: (-s ours) Import translations. DO NOT MERGE
* commit '6e6250b9613e7c236a07367fc800feece8bcd706':
  Import translations. DO NOT MERGE
2015-03-30 14:49:09 +00:00
Geoff Mendal
e9669588c2 Import translations. DO NOT MERGE
Change-Id: I451a8edb373ffeeddb1d05d6e5c15ff35d4c9109
Auto-generated-cl: translation import
2015-03-30 07:47:39 -07:00
Geoff Mendal
6e6250b961 Import translations. DO NOT MERGE
Change-Id: I386da39a3fc78ac9e7878f8962bb4a513d907893
Auto-generated-cl: translation import
2015-03-30 07:38:42 -07:00
Geoff Mendal
a21e7663c2 Merge "Import translations. DO NOT MERGE" 2015-03-30 14:36:27 +00:00
Geoff Mendal
d64ee3085f Import translations. DO NOT MERGE
Change-Id: I401a825e79422050bc39fff0b7c8998354082478
Auto-generated-cl: translation import
2015-03-30 07:29:48 -07:00
Clara Bayarri
ed2e391454 Editor: Reorder items in the text selection action mode.
Reorder elements to place "Select All" last, as otherwise when
we use a floating toolbar the first element is "Select All" and
takes up too much space, forcing Copy and Paste to the overflow.

Change-Id: I04cdd79915bd2a3abbd10969ce298b7b0f7f8cb0
2015-03-30 14:41:43 +01:00
Geoff Mendal
3622c20f79 Import translations. DO NOT MERGE
Change-Id: I33c678add2505ec35670928d3e0c0c9751c66bda
Auto-generated-cl: translation import
2015-03-30 05:50:27 -07:00
Clara Bayarri
dff34599c2 Merge "Editor: Cleanup the unused ActionPopupWindow" 2015-03-30 08:59:11 +00:00
Jinsuk Kim
c45fd20f55 Merge "CEC: Do not send <ARC Terminated> when init request gets rejected" 2015-03-30 05:07:17 +00:00
Jinsuk Kim
c6563961e5 CEC: API setSystemAudioMode
This CL adds a system API to set system audio mode. Previously
not available to have the settings app use aidl directly. Now
added since other related APIs like setSystemAudioVolume are
already in.

Change-Id: I51f4f992f66f97a094cad5788548c259ac8bf10f
2015-03-30 09:43:05 +09:00
Mathieu Chartier
f37c099c70 am 2169c68a: am d9dddea5: am 631565ab: Merge "Change getDeclaredFieldsUnchecked call to new return value"
* commit '2169c68aa330670ab340ec7faaedb5e5a9a59360':
  Change getDeclaredFieldsUnchecked call to new return value
2015-03-30 00:36:51 +00:00
Mathieu Chartier
2169c68aa3 am d9dddea5: am 631565ab: Merge "Change getDeclaredFieldsUnchecked call to new return value"
* commit 'd9dddea504d717120eaa5e9c15fe484e26511e92':
  Change getDeclaredFieldsUnchecked call to new return value
2015-03-30 00:26:46 +00:00
Craig Mautner
8501866d74 Merge "Still more debugging for bug 19823482" 2015-03-29 23:50:00 +00:00
Mathieu Chartier
d9dddea504 am 631565ab: Merge "Change getDeclaredFieldsUnchecked call to new return value"
* commit '631565abd6cadd65befe197afa7bac0d44f70fb2':
  Change getDeclaredFieldsUnchecked call to new return value
2015-03-29 22:42:53 +00:00
Jinsuk Kim
71651d3712 CEC: Do not send <ARC Terminated> when init request gets rejected
System audio may reject <Request ARC Initiation> with a response
<Feature Abort> or just time out. Do not send <Request ARC Terminated>
in response so as not to turn off the ARC mode, as it may not be
the intended behavior.

Bug: 19928094

Change-Id: I469dfa53bf35dfbca7daa86a69763b10551663ec
2015-03-30 07:31:10 +09:00
Mathieu Chartier
631565abd6 Merge "Change getDeclaredFieldsUnchecked call to new return value" 2015-03-29 22:30:41 +00:00