OSDN Git Service

android-x86/frameworks-base.git
9 years agoam 0a202eac: Merge "Use StorageManager.wipeAdoptableDisks to wipe external disks...
Rubin Xu [Fri, 26 Jun 2015 22:44:31 +0000 (22:44 +0000)]
am 0a202eac: Merge "Use StorageManager.wipeAdoptableDisks to wipe external disks" into mnc-dev

* commit '0a202eac0103cae1c544d6f44bb67b236a3dde8d':
  Use StorageManager.wipeAdoptableDisks to wipe external disks

9 years agoam 1223a75a: Merge "TextView: add the "Share" accessibility action." into mnc-dev
Abodunrinwa Toki [Fri, 26 Jun 2015 22:44:25 +0000 (22:44 +0000)]
am 1223a75a: Merge "TextView: add the "Share" accessibility action." into mnc-dev

* commit '1223a75a672ab249fb966055a98ea2ab807206cf':
  TextView: add the "Share" accessibility action.

9 years agoMerge "Use StorageManager.wipeAdoptableDisks to wipe external disks" into mnc-dev
Rubin Xu [Fri, 26 Jun 2015 22:36:09 +0000 (22:36 +0000)]
Merge "Use StorageManager.wipeAdoptableDisks to wipe external disks" into mnc-dev

9 years agoMerge "TextView: add the "Share" accessibility action." into mnc-dev
Abodunrinwa Toki [Fri, 26 Jun 2015 22:32:25 +0000 (22:32 +0000)]
Merge "TextView: add the "Share" accessibility action." into mnc-dev

9 years agoam 1fa8290d: Merge "Fix FloatingToolbar flicker in reaction to text cursor blink...
Abodunrinwa Toki [Fri, 26 Jun 2015 22:18:04 +0000 (22:18 +0000)]
am 1fa8290d: Merge "Fix FloatingToolbar flicker in reaction to text cursor blink." into mnc-dev

* commit '1fa8290dbec37519576d346ba9ae8bbe20b64aa9':
  Fix FloatingToolbar flicker in reaction to text cursor blink.

9 years agoam f09fd213: Merge "Camera2: Remove references to sync.frameNumber" into mnc-dev
Chien-Yu Chen [Fri, 26 Jun 2015 22:18:00 +0000 (22:18 +0000)]
am f09fd213: Merge "Camera2: Remove references to sync.frameNumber" into mnc-dev

* commit 'f09fd213c37f8eef0e6355fee593562474554e68':
  Camera2: Remove references to sync.frameNumber

9 years agoam 58a152e3: Merge "Camera2: Clarify session callbacks" into mnc-dev
Chien-Yu Chen [Fri, 26 Jun 2015 22:17:55 +0000 (22:17 +0000)]
am 58a152e3: Merge "Camera2: Clarify session callbacks" into mnc-dev

* commit '58a152e359c346aba31d887730c84010f132a6ce':
  Camera2: Clarify session callbacks

9 years agoMerge "Fix FloatingToolbar flicker in reaction to text cursor blink." into mnc-dev
Abodunrinwa Toki [Fri, 26 Jun 2015 22:09:40 +0000 (22:09 +0000)]
Merge "Fix FloatingToolbar flicker in reaction to text cursor blink." into mnc-dev

9 years agoMerge "Camera2: Remove references to sync.frameNumber" into mnc-dev
Chien-Yu Chen [Fri, 26 Jun 2015 22:09:28 +0000 (22:09 +0000)]
Merge "Camera2: Remove references to sync.frameNumber" into mnc-dev

9 years agoFix FloatingToolbar flicker in reaction to text cursor blink.
Abodunrinwa Toki [Fri, 26 Jun 2015 04:33:51 +0000 (21:33 -0700)]
Fix FloatingToolbar flicker in reaction to text cursor blink.

1. Reposition the toolbar on predraw only when positioning has changed.
2. Update the toolbar popup's position only if the content rect changed.
3. Fix FloatingToolbarPopup.cancelOverflowAnimations().
   The previous implementation wasn't actually cancelling the animation.

(1) is enough to fix the bug. But (2) and (3) fix issues in the
toolbar directly related to this bug.

Bug: 22039189
Change-Id: I84ec793d788f9402a1f8635e68e3344746f6af07

9 years agoMerge "Camera2: Clarify session callbacks" into mnc-dev
Chien-Yu Chen [Fri, 26 Jun 2015 22:05:03 +0000 (22:05 +0000)]
Merge "Camera2: Clarify session callbacks" into mnc-dev

9 years agoam aaf280b6: Merge "Deprecate TelephonyManager.getNeighboringCellInfo()" into mnc-dev
Nathan Harold [Fri, 26 Jun 2015 22:03:13 +0000 (22:03 +0000)]
am aaf280b6: Merge "Deprecate TelephonyManager.getNeighboringCellInfo()" into mnc-dev

* commit 'aaf280b6b17ceaabc0b54fbc8479c14dfb4f6e64':
  Deprecate TelephonyManager.getNeighboringCellInfo()

9 years agoMerge "Deprecate TelephonyManager.getNeighboringCellInfo()" into mnc-dev
Nathan Harold [Fri, 26 Jun 2015 21:47:05 +0000 (21:47 +0000)]
Merge "Deprecate TelephonyManager.getNeighboringCellInfo()" into mnc-dev

9 years agoam 869c230c: Merge "Mark a connection as a Wifi Assistant connection based on the...
Shirish Kalele [Fri, 26 Jun 2015 21:40:39 +0000 (21:40 +0000)]
am 869c230c: Merge "Mark a connection as a Wifi Assistant connection based on the ephemeral flag in WifiInfo. Add this private field to WifiInfo." into mnc-dev

* commit '869c230c1466e517289d692dce85acf0c30296c4':
  Mark a connection as a Wifi Assistant connection based on the ephemeral flag in WifiInfo. Add this private field to WifiInfo.

9 years agoam cc3a46ad: Also reset assist setting when force stopping assist
Jorim Jaggi [Fri, 26 Jun 2015 21:40:35 +0000 (21:40 +0000)]
am cc3a46ad: Also reset assist setting when force stopping assist

* commit 'cc3a46ada84b2c27544df0fa3369631c8dc9386e':
  Also reset assist setting when force stopping assist

9 years agoMerge "Mark a connection as a Wifi Assistant connection based on the ephemeral flag...
Shirish Kalele [Fri, 26 Jun 2015 21:34:22 +0000 (21:34 +0000)]
Merge "Mark a connection as a Wifi Assistant connection based on the ephemeral flag in WifiInfo. Add this private field to WifiInfo." into mnc-dev

9 years agoAlso reset assist setting when force stopping assist
Jorim Jaggi [Thu, 25 Jun 2015 22:55:43 +0000 (15:55 -0700)]
Also reset assist setting when force stopping assist

Bug: 20882522
Change-Id: I57725586ab5ff203b378a1e6d2e5e77a47fd2448

9 years agoam 450176c5: Merge "Fix: Text selection handles shouldn\'t be shown in accessibility...
Mady Mellor [Fri, 26 Jun 2015 21:27:14 +0000 (21:27 +0000)]
am 450176c5: Merge "Fix: Text selection handles shouldn\'t be shown in accessibility mode" into mnc-dev

* commit '450176c52cb42d77764b6cacb7988fa8a6ebfde4':
  Fix: Text selection handles shouldn't be shown in accessibility mode

9 years agoam e1cf7583: Merge "Don\'t offer crypto ops for public keys of trusted cert entries...
Alex Klyubin [Fri, 26 Jun 2015 21:27:10 +0000 (21:27 +0000)]
am e1cf7583: Merge "Don\'t offer crypto ops for public keys of trusted cert entries." into mnc-dev

* commit 'e1cf75833b1a8d19c040af4ecffde3119cc7a855':
  Don't offer crypto ops for public keys of trusted cert entries.

9 years agoam 3ebcd865: Merge "Fix endTransition index out of bounds exception." into mnc-dev
George Mount [Fri, 26 Jun 2015 21:27:06 +0000 (21:27 +0000)]
am 3ebcd865: Merge "Fix endTransition index out of bounds exception." into mnc-dev

* commit '3ebcd8654d92da375e7ca6c74b4ba9dc6bb9ec4c':
  Fix endTransition index out of bounds exception.

9 years agoam 7a0f54b1: Merge "Fix addTarget not limiting to the given views." into mnc-dev
George Mount [Fri, 26 Jun 2015 21:27:01 +0000 (21:27 +0000)]
am 7a0f54b1: Merge "Fix addTarget not limiting to the given views." into mnc-dev

* commit '7a0f54b1400c9ca0cb32819dd3a3784f9aa7c351':
  Fix addTarget not limiting to the given views.

9 years agoTextView: add the "Share" accessibility action.
Abodunrinwa Toki [Fri, 26 Jun 2015 21:11:21 +0000 (14:11 -0700)]
TextView: add the "Share" accessibility action.

Bug: 21891817
Change-Id: I99b7489845b2103c18fd74d15d0050c34f37ca67

9 years agoMerge "Fix: Text selection handles shouldn't be shown in accessibility mode" into...
Mady Mellor [Fri, 26 Jun 2015 21:21:53 +0000 (21:21 +0000)]
Merge "Fix: Text selection handles shouldn't be shown in accessibility mode" into mnc-dev

9 years agoMerge "Don't offer crypto ops for public keys of trusted cert entries." into mnc-dev
Alex Klyubin [Fri, 26 Jun 2015 21:20:17 +0000 (21:20 +0000)]
Merge "Don't offer crypto ops for public keys of trusted cert entries." into mnc-dev

9 years agoMerge "Fix endTransition index out of bounds exception." into mnc-dev
George Mount [Fri, 26 Jun 2015 21:18:55 +0000 (21:18 +0000)]
Merge "Fix endTransition index out of bounds exception." into mnc-dev

9 years agoMerge "Fix addTarget not limiting to the given views." into mnc-dev
George Mount [Fri, 26 Jun 2015 21:18:37 +0000 (21:18 +0000)]
Merge "Fix addTarget not limiting to the given views." into mnc-dev

9 years agoam 1c3b7a6d: Merge "Use a framework resource to name a factory-default browser app...
Christopher Tate [Fri, 26 Jun 2015 21:12:11 +0000 (21:12 +0000)]
am 1c3b7a6d: Merge "Use a framework resource to name a factory-default browser app" into mnc-dev

* commit '1c3b7a6de6593c8a1c01ce48e04dda7e11471288':
  Use a framework resource to name a factory-default browser app

9 years agoam 63ec93d5: Merge "Have FingerprintService keep the device awake on relevant events...
Jim Miller [Fri, 26 Jun 2015 21:12:07 +0000 (21:12 +0000)]
am 63ec93d5: Merge "Have FingerprintService keep the device awake on relevant events." into mnc-dev

* commit '63ec93d57094be624f2069d063146ca713574530':
  Have FingerprintService keep the device awake on relevant events.

9 years agoam 45f143fe: Merge "Remove the obsolete LOCAL_PAGE_ALIGN_JNI_SHARED_LIBRARIES" into...
Ying Wang [Fri, 26 Jun 2015 21:12:00 +0000 (21:12 +0000)]
am 45f143fe: Merge "Remove the obsolete LOCAL_PAGE_ALIGN_JNI_SHARED_LIBRARIES" into mnc-dev

* commit '45f143fe48e42e8c21d1f8daf49b082834ea0321':
  Remove the obsolete LOCAL_PAGE_ALIGN_JNI_SHARED_LIBRARIES

9 years agoMerge "Use a framework resource to name a factory-default browser app" into mnc-dev
Christopher Tate [Fri, 26 Jun 2015 21:05:26 +0000 (21:05 +0000)]
Merge "Use a framework resource to name a factory-default browser app" into mnc-dev

9 years agoMerge "Have FingerprintService keep the device awake on relevant events." into mnc-dev
Jim Miller [Fri, 26 Jun 2015 21:01:04 +0000 (21:01 +0000)]
Merge "Have FingerprintService keep the device awake on relevant events." into mnc-dev

9 years agoMerge "Remove the obsolete LOCAL_PAGE_ALIGN_JNI_SHARED_LIBRARIES" into mnc-dev
Ying Wang [Fri, 26 Jun 2015 21:01:02 +0000 (21:01 +0000)]
Merge "Remove the obsolete LOCAL_PAGE_ALIGN_JNI_SHARED_LIBRARIES" into mnc-dev

9 years agoam cd7ceb07: Merge "SystemUI: show owner VPN for restricted profile" into mnc-dev
Robin Lee [Fri, 26 Jun 2015 20:58:21 +0000 (20:58 +0000)]
am cd7ceb07: Merge "SystemUI: show owner VPN for restricted profile" into mnc-dev

* commit 'cd7ceb0711672eabd1de578f2452ddcb8a322f68':
  SystemUI: show owner VPN for restricted profile

9 years agoRemove the obsolete LOCAL_PAGE_ALIGN_JNI_SHARED_LIBRARIES
Ying Wang [Fri, 26 Jun 2015 20:51:18 +0000 (13:51 -0700)]
Remove the obsolete LOCAL_PAGE_ALIGN_JNI_SHARED_LIBRARIES

Change-Id: I08c2439bcab934e23c697b93aec47b2c7bcba037

9 years agoUse a framework resource to name a factory-default browser app
Christopher Tate [Wed, 24 Jun 2015 23:15:48 +0000 (16:15 -0700)]
Use a framework resource to name a factory-default browser app

If there is no resource-named default but there is a single factory-
installed browser app, that app is made the titular default.

This also introduces a permission guard on attempts to set the
default browser or the app-link state.  These operations are now
contingent on the existing SET_PREFERRED_APPLICATIONS permission.

Bug 21778406

Change-Id: Id099bb9c4141f28917546492657cd2fba472e6b6

9 years agoMerge "SystemUI: show owner VPN for restricted profile" into mnc-dev
Robin Lee [Fri, 26 Jun 2015 20:44:55 +0000 (20:44 +0000)]
Merge "SystemUI: show owner VPN for restricted profile" into mnc-dev

9 years agoam 6356d3b2: Merge "Improve docs for View#addChildrenForAccessibility" into mnc-dev
Adam Powell [Fri, 26 Jun 2015 20:43:37 +0000 (20:43 +0000)]
am 6356d3b2: Merge "Improve docs for View#addChildrenForAccessibility" into mnc-dev

* commit '6356d3b2504cefce59761d67b642ae37f8ba2d8b':
  Improve docs for View#addChildrenForAccessibility

9 years agoam 24336555: Merge "Clarify the intention of setNotificationsShown" into mnc-dev
Amith Yamasani [Fri, 26 Jun 2015 20:39:02 +0000 (20:39 +0000)]
am 24336555: Merge "Clarify the intention of setNotificationsShown" into mnc-dev

* commit '24336555658377383a1b4a1a22b1f24346b5ff68':
  Clarify the intention of setNotificationsShown

9 years agoam 6cbf7928: Merge "Revert get accounts permission to normal for now" into mnc-dev
Svet Ganov [Fri, 26 Jun 2015 20:38:57 +0000 (20:38 +0000)]
am 6cbf7928: Merge "Revert get accounts permission to normal for now" into mnc-dev

* commit '6cbf792833f1bd73c56945c23e6ec8fd9fa29575':
  Revert get accounts permission to normal for now

9 years agoam 7c5b5f71: Merge "Fix issue #22023824: Download folder is not created in internal...
Dianne Hackborn [Fri, 26 Jun 2015 20:38:52 +0000 (20:38 +0000)]
am 7c5b5f71: Merge "Fix issue #22023824: Download folder is not created in internal storage" into mnc-dev

* commit '7c5b5f713af307fdc8cadfc39ae60b696a37e33a':
  Fix issue #22023824: Download folder is not created in internal storage

9 years agoam f8d25ea8: Merge "Don\'t promote functors onto layers due to outline rect clipping...
Chris Craik [Fri, 26 Jun 2015 20:38:47 +0000 (20:38 +0000)]
am f8d25ea8: Merge "Don\'t promote functors onto layers due to outline rect clipping" into mnc-dev

* commit 'f8d25ea8ebece1d13f71f3e92dac814d02a32b91':
  Don't promote functors onto layers due to outline rect clipping

9 years agoMerge "Improve docs for View#addChildrenForAccessibility" into mnc-dev
Adam Powell [Fri, 26 Jun 2015 20:35:30 +0000 (20:35 +0000)]
Merge "Improve docs for View#addChildrenForAccessibility" into mnc-dev

9 years agoMerge "Clarify the intention of setNotificationsShown" into mnc-dev
Amith Yamasani [Fri, 26 Jun 2015 20:34:30 +0000 (20:34 +0000)]
Merge "Clarify the intention of setNotificationsShown" into mnc-dev

9 years agoMerge "Revert get accounts permission to normal for now" into mnc-dev
Svet Ganov [Fri, 26 Jun 2015 20:30:34 +0000 (20:30 +0000)]
Merge "Revert get accounts permission to normal for now" into mnc-dev

9 years agoMerge "Fix issue #22023824: Download folder is not created in internal storage" into...
Dianne Hackborn [Fri, 26 Jun 2015 20:30:19 +0000 (20:30 +0000)]
Merge "Fix issue #22023824: Download folder is not created in internal storage" into mnc-dev

9 years agoMerge "Don't promote functors onto layers due to outline rect clipping" into mnc-dev
Chris Craik [Fri, 26 Jun 2015 20:28:34 +0000 (20:28 +0000)]
Merge "Don't promote functors onto layers due to outline rect clipping" into mnc-dev

9 years agoFix issue #22023824: Download folder is not created in internal storage
Dianne Hackborn [Wed, 24 Jun 2015 22:19:17 +0000 (15:19 -0700)]
Fix issue #22023824: Download folder is not created in internal storage

The media provider and some other things need to be given storage access.

Also, seems like we should give storage access to the camera app as well.

And add a dump dump command that will dump data about a particular
permission name.

Change-Id: Idaaa9bba2ff4dc95290cf6d17e5df933df91e909

9 years agoam daee1e5b: Merge "Camera2: Add clarification about simultaneous trigger use" into...
Eino-Ville Talvala [Fri, 26 Jun 2015 20:07:03 +0000 (20:07 +0000)]
am daee1e5b: Merge "Camera2: Add clarification about simultaneous trigger use" into mnc-dev

* commit 'daee1e5bdeb6a173c042438f79663c9a84a469b8':
  Camera2: Add clarification about simultaneous trigger use

9 years agoMark a connection as a Wifi Assistant connection based on the
Shirish Kalele [Thu, 25 Jun 2015 20:55:33 +0000 (13:55 -0700)]
Mark a connection as a Wifi Assistant connection based on the
ephemeral flag in WifiInfo.
Add this private field to WifiInfo.

Change-Id: Ic815b87a24e8272faa6e9e820b8fa55224af882a

9 years agoMerge "Camera2: Add clarification about simultaneous trigger use" into mnc-dev
Eino-Ville Talvala [Fri, 26 Jun 2015 19:53:24 +0000 (19:53 +0000)]
Merge "Camera2: Add clarification about simultaneous trigger use" into mnc-dev

9 years agoDeprecate TelephonyManager.getNeighboringCellInfo()
Nathan Harold [Thu, 25 Jun 2015 21:24:54 +0000 (14:24 -0700)]
Deprecate TelephonyManager.getNeighboringCellInfo()

bug: 22121990
Change-Id: Id8f9d080fdd1e2993b414a5304424238396b6fd4

9 years agoCamera2: Remove references to sync.frameNumber
Chien-Yu Chen [Fri, 26 Jun 2015 18:23:55 +0000 (11:23 -0700)]
Camera2: Remove references to sync.frameNumber

sync.frameNumber is a hidden key.

Bug: 21957397
Change-Id: I3b235d776782a8441354ee24c9174ae30e074a61

9 years agoam 5da8ed16: Merge "AudioManager: optimize audio port listener registration" into...
Eric Laurent [Fri, 26 Jun 2015 17:47:49 +0000 (17:47 +0000)]
am 5da8ed16: Merge "AudioManager: optimize audio port listener registration" into mnc-dev

* commit '5da8ed16239c81c535afd01d91d68b6c2d96eff6':
  AudioManager: optimize audio port listener registration

9 years agoam 29f37e15: Merge "Text selection: When user reaches midpoint jump to end of word...
Mady Mellor [Fri, 26 Jun 2015 17:47:43 +0000 (17:47 +0000)]
am 29f37e15: Merge "Text selection: When user reaches midpoint jump to end of word" into mnc-dev

* commit '29f37e15975dec1fbb519398e5e80b16d61a5d0c':
  Text selection: When user reaches midpoint jump to end of word

9 years agoam 10f92517: Merge "Text selection: Fix word boundaries for languages without spaces...
Mady Mellor [Fri, 26 Jun 2015 17:47:39 +0000 (17:47 +0000)]
am 10f92517: Merge "Text selection: Fix word boundaries for languages without spaces" into mnc-dev

* commit '10f925173630c89239e2f42deb6cb042e9300d39':
  Text selection: Fix word boundaries for languages without spaces

9 years agoMerge "AudioManager: optimize audio port listener registration" into mnc-dev
Eric Laurent [Fri, 26 Jun 2015 17:43:00 +0000 (17:43 +0000)]
Merge "AudioManager: optimize audio port listener registration" into mnc-dev

9 years agoMerge "Text selection: When user reaches midpoint jump to end of word" into mnc-dev
Mady Mellor [Fri, 26 Jun 2015 17:37:51 +0000 (17:37 +0000)]
Merge "Text selection: When user reaches midpoint jump to end of word" into mnc-dev

9 years agoSystemUI: show owner VPN for restricted profile
Robin Lee [Thu, 4 Jun 2015 00:53:01 +0000 (01:53 +0100)]
SystemUI: show owner VPN for restricted profile

Restricted profiles don't have their own VPN configuration - whatever
is in charge of VPN for our USER_OWNER user will have network traffic
routed to it instead.

Bug: 18419023
Bug: 21188177
Change-Id: I7205d90032461c240048a036606c3a7938d0eda2

9 years agoam ff81025a: Merge "Fix issue #22013372: Assist should take translationX and friends...
Dianne Hackborn [Fri, 26 Jun 2015 17:34:07 +0000 (17:34 +0000)]
am ff81025a: Merge "Fix issue #22013372: Assist should take translationX and friends..." into mnc-dev

* commit 'ff81025a9def3e56908339ad846bff515d5ecbfb':
  Fix issue #22013372: Assist should take translationX and friends...

9 years agoMerge "Text selection: Fix word boundaries for languages without spaces" into mnc-dev
Mady Mellor [Fri, 26 Jun 2015 17:32:56 +0000 (17:32 +0000)]
Merge "Text selection: Fix word boundaries for languages without spaces" into mnc-dev

9 years agoRevert get accounts permission to normal for now
Svet Ganov [Fri, 26 Jun 2015 15:49:50 +0000 (08:49 -0700)]
Revert get accounts permission to normal for now

Change-Id: I51efe557b69a50d85dc53ba7a1622b7bafc301e6

9 years agoMerge "Fix issue #22013372: Assist should take translationX and friends..." into...
Dianne Hackborn [Fri, 26 Jun 2015 17:20:10 +0000 (17:20 +0000)]
Merge "Fix issue #22013372: Assist should take translationX and friends..." into mnc-dev

9 years agoAudioManager: optimize audio port listener registration
Eric Laurent [Fri, 26 Jun 2015 17:01:12 +0000 (10:01 -0700)]
AudioManager: optimize audio port listener registration

In order to reduce the number of binder calls, only install an
audio port callback in a client process if either:
- an audio port related API has been called once
- an audio port listenr has been registered.

Bug: 22045560.
Change-Id: I0e5cf31bec0c986d6f7761891b860ba6fadd2f4c

9 years agoFix: Text selection handles shouldn't be shown in accessibility mode
Mady Mellor [Thu, 25 Jun 2015 00:27:21 +0000 (17:27 -0700)]
Fix: Text selection handles shouldn't be shown in accessibility mode

If you select some text normally while in accessibility mode, it
should be cleared and handles should not show if you initiate text
selection using the accessibility context menu.

Bug: 22071639
Change-Id: I32b966e771ba5715a0ab370e6aa602398e5ec534

9 years agoam d2c41457: Merge "Let\'s reinvent storage, yet again!" into mnc-dev
Jeff Sharkey [Fri, 26 Jun 2015 15:52:51 +0000 (15:52 +0000)]
am d2c41457: Merge "Let\'s reinvent storage, yet again!" into mnc-dev

* commit 'd2c414573242fc59a2d34f66f1dfb610ec7d59a3':
  Let's reinvent storage, yet again!

9 years agoMerge "Let's reinvent storage, yet again!" into mnc-dev
Jeff Sharkey [Fri, 26 Jun 2015 15:43:23 +0000 (15:43 +0000)]
Merge "Let's reinvent storage, yet again!" into mnc-dev

9 years agoam b84ace51: Merge "Fixed a crash where onTouch might have been called too early...
Selim Cinek [Fri, 26 Jun 2015 15:33:24 +0000 (15:33 +0000)]
am b84ace51: Merge "Fixed a crash where onTouch might have been called too early" into mnc-dev

* commit 'b84ace51b21b9b1d422e96ed023ef3860ca0710d':
  Fixed a crash where onTouch might have been called too early

9 years agoam eb4ce1d6: Merge "Now showing unlocked icon if both trusted and fingerprint running...
Selim Cinek [Fri, 26 Jun 2015 15:33:17 +0000 (15:33 +0000)]
am eb4ce1d6: Merge "Now showing unlocked icon if both trusted and fingerprint running" into mnc-dev

* commit 'eb4ce1d6a3bfa99ec57604aa842835a381616346':
  Now showing unlocked icon if both trusted and fingerprint running

9 years agoMerge "Fixed a crash where onTouch might have been called too early" into mnc-dev
Selim Cinek [Fri, 26 Jun 2015 15:26:22 +0000 (15:26 +0000)]
Merge "Fixed a crash where onTouch might have been called too early" into mnc-dev

9 years agoMerge "Now showing unlocked icon if both trusted and fingerprint running" into mnc-dev
Selim Cinek [Fri, 26 Jun 2015 15:26:06 +0000 (15:26 +0000)]
Merge "Now showing unlocked icon if both trusted and fingerprint running" into mnc-dev

9 years agoUse StorageManager.wipeAdoptableDisks to wipe external disks
Rubin Xu [Thu, 25 Jun 2015 11:17:48 +0000 (12:17 +0100)]
Use StorageManager.wipeAdoptableDisks to wipe external disks

Retire FORMAT_AND_FACTORY_RESET which is more fragile.

Bug: 9433509
Change-Id: I158ee987274bb4db41d466de9f1e3c60ffc1d140

9 years agoam a2e0dc4d: Merge "Enforce FloatingToolbar themes." into mnc-dev
Abodunrinwa Toki [Fri, 26 Jun 2015 05:32:50 +0000 (05:32 +0000)]
am a2e0dc4d: Merge "Enforce FloatingToolbar themes." into mnc-dev

* commit 'a2e0dc4d20be14ea106b44067cc782774d90df3b':
  Enforce FloatingToolbar themes.

9 years agoam e171899a: Merge "Add JavaDoc for permission protection level" into mnc-dev
Svetoslav [Fri, 26 Jun 2015 05:32:45 +0000 (05:32 +0000)]
am e171899a: Merge "Add JavaDoc for permission protection level" into mnc-dev

* commit 'e171899ac8007160eee199eaa6c840fae40dfba7':
  Add JavaDoc for permission protection level

9 years agoMerge "Enforce FloatingToolbar themes." into mnc-dev
Abodunrinwa Toki [Fri, 26 Jun 2015 05:26:38 +0000 (05:26 +0000)]
Merge "Enforce FloatingToolbar themes." into mnc-dev

9 years agoLet's reinvent storage, yet again!
Jeff Sharkey [Wed, 24 Jun 2015 22:24:48 +0000 (15:24 -0700)]
Let's reinvent storage, yet again!

Now that we're treating storage as a runtime permission, we need to
grant read/write access without killing the app.  This is really
tricky, since we had been using GIDs for access control, and they're
set in stone once Zygote drops privileges.

The only thing left that can change dynamically is the filesystem
itself, so let's do that.  This means changing the FUSE daemon to
present itself as three different views:

/mnt/runtime_default/foo - view for apps with no access
/mnt/runtime_read/foo - view for apps with read access
/mnt/runtime_write/foo - view for apps with write access

There is still a single location for all the backing files, and
filesystem permissions are derived the same way for each view, but
the file modes are masked off differently for each mountpoint.

During Zygote fork, it wires up the appropriate storage access into
an isolated mount namespace based on the current app permissions.  When
the app is granted permissions dynamically at runtime, the system
asks vold to jump into the existing mount namespace and bind mount
the newly granted access model into place.

Bug: 21858077
Change-Id: I62fb25d126dd815aea699b33d580e3afb90f8fd2

9 years agoMerge "Add JavaDoc for permission protection level" into mnc-dev
Svetoslav [Fri, 26 Jun 2015 05:24:41 +0000 (05:24 +0000)]
Merge "Add JavaDoc for permission protection level" into mnc-dev

9 years agoam c1bd7da9: Merge "Fix: Ellipsis is wrongly applied or not applied in TextView....
Keisuke Kuroyanagi [Fri, 26 Jun 2015 05:20:38 +0000 (05:20 +0000)]
am c1bd7da9: Merge "Fix: Ellipsis is wrongly applied or not applied in TextView." into mnc-dev

* commit 'c1bd7da9906bc95c791dec6d52508fc9ee916a99':
  Fix: Ellipsis is wrongly applied or not applied in TextView.

9 years agoam 084b7a15: Merge "Do not show selection action mode when the TextView is not shown...
Seigo Nonaka [Fri, 26 Jun 2015 05:20:33 +0000 (05:20 +0000)]
am 084b7a15: Merge "Do not show selection action mode when the TextView is not shown." into mnc-dev

* commit '084b7a15c9a1bdbbb64d9921eaeb12235bc5fc17':
  Do not show selection action mode when the TextView is not shown.

9 years agoMerge "Fix: Ellipsis is wrongly applied or not applied in TextView." into mnc-dev
Keisuke Kuroyanagi [Fri, 26 Jun 2015 05:11:22 +0000 (05:11 +0000)]
Merge "Fix: Ellipsis is wrongly applied or not applied in TextView." into mnc-dev

9 years agoMerge "Do not show selection action mode when the TextView is not shown." into mnc-dev
Seigo Nonaka [Fri, 26 Jun 2015 05:10:33 +0000 (05:10 +0000)]
Merge "Do not show selection action mode when the TextView is not shown." into mnc-dev

9 years agoFix issue #22013372: Assist should take translationX and friends...
Dianne Hackborn [Tue, 23 Jun 2015 19:33:02 +0000 (19:33 +0000)]
Fix issue #22013372: Assist should take translationX and friends...

...into account when calculating the position information

Actually what we need here is the full transformation matrix, if it
is available.  And that means actually computing the location of
views on the screen requires doing this all through transformations,
so the AssistVisualizer has been changed to do this (while still
also keeping the old mechanism for comparison to verify that things
are working correctly).

Also added new properties for elevation and alpha.

And optimized the parcelling of AssistStructure to not write things
that aren't needed; this reduces the parcelled size by about half.

Change-Id: I50b0dd2e6599c74701a5d188617a3eff64b07d03

9 years agoam f207285d: am ba12e226: am 0b5d0509: Merge "docs: Removed sentence from permissions...
Robert Schaub [Fri, 26 Jun 2015 02:34:26 +0000 (02:34 +0000)]
am f207285d: am ba12e226: am 0b5d0509: Merge "docs: Removed sentence from permissions doc" into mnc-preview-docs

* commit 'f207285d8d813730683b0c099edff84ac0b13244':
  docs: Removed sentence from permissions doc

9 years agoam ba12e226: am 0b5d0509: Merge "docs: Removed sentence from permissions doc" into...
Robert Schaub [Fri, 26 Jun 2015 02:23:09 +0000 (02:23 +0000)]
am ba12e226: am 0b5d0509: Merge "docs: Removed sentence from permissions doc" into mnc-preview-docs

* commit 'ba12e226981216116de772739165ace65fe59d5b':
  docs: Removed sentence from permissions doc

9 years agoDon't offer crypto ops for public keys of trusted cert entries.
Alex Klyubin [Fri, 26 Jun 2015 00:13:30 +0000 (17:13 -0700)]
Don't offer crypto ops for public keys of trusted cert entries.

Android Keystore cannot offer crypto operations for public keys of
trusted certificate entries (entries without a private key). Prior to
this CL it accidentally tried to do so, causing crypto operations on
these keys to fail.

The fix is for Android Keystore to offer crypto operations only for
public keys for which there is a corresponding private key in the
keystore. Crypto operations on public keys from trusted certificate
entries will be handled by other installed crypto providers. Those
providers don't need a private key to carry out these operations on
public keys.

Bug: 22091725
Bug: 21835320
Change-Id: Ib7d92b067711e4c57128d0db72c08bf288a45ce1

9 years agoAdd JavaDoc for permission protection level
Svetoslav [Fri, 26 Jun 2015 01:19:14 +0000 (18:19 -0700)]
Add JavaDoc for permission protection level

1. Add the permission protection level in the java doc

2. Make some system permissions that are not mean to be
   used by third-parties system API.

bug:21402257

Change-Id: Ic0ae8d6ca44dbbbf12848a9164acc0e908c90402

9 years agoFixed a crash where onTouch might have been called too early
Selim Cinek [Fri, 26 Jun 2015 00:15:33 +0000 (20:15 -0400)]
Fixed a crash where onTouch might have been called too early

Bug: 21906153
Change-Id: I1fbc8b29f9cb0d7d71d6cb81e95a35da2fe9959e

9 years agoDon't promote functors onto layers due to outline rect clipping
Chris Craik [Fri, 26 Jun 2015 00:15:16 +0000 (17:15 -0700)]
Don't promote functors onto layers due to outline rect clipping

bug:21320333

Change-Id: Ie70982c88498395148dab6eaca861de66e6207ed

9 years agoCamera2: Clarify session callbacks
Chien-Yu Chen [Thu, 25 Jun 2015 23:54:17 +0000 (16:54 -0700)]
Camera2: Clarify session callbacks

If a prior session exists when a new session is created,
onClosed() for a prior session may be invoked after
onConfigured() for the new session.

Bug: 22072379
Change-Id: I6d4416b8e77d073e569ca55867dd705c245886d0

9 years agoNow showing unlocked icon if both trusted and fingerprint running
Selim Cinek [Thu, 25 Jun 2015 23:44:05 +0000 (19:44 -0400)]
Now showing unlocked icon if both trusted and fingerprint running

Bug: 21781452
Change-Id: I7b04975b36f7a135358cdd68c1bdae1e73f22cc0

9 years agoam 9206d6a0: Merge "Fix logic for whether beginning/end divider should be drawn"...
Doris Liu [Thu, 25 Jun 2015 22:50:19 +0000 (22:50 +0000)]
am 9206d6a0: Merge "Fix logic for whether beginning/end divider should be drawn" into mnc-dev

* commit '9206d6a0e69ef0f60e20464796d4a2da6f7c42f4':
  Fix logic for whether beginning/end divider should be drawn

9 years agoam 91617a79: Hide assist when launching an activity over an action
Jorim Jaggi [Thu, 25 Jun 2015 22:50:14 +0000 (22:50 +0000)]
am 91617a79: Hide assist when launching an activity over an action

* commit '91617a793ed6a80f3abfd3653b0f74b9321fe0f6':
  Hide assist when launching an activity over an action

9 years agoam 7e6571f1: Use long press of KeyButtonView to invoke assist
Jorim Jaggi [Thu, 25 Jun 2015 22:50:10 +0000 (22:50 +0000)]
am 7e6571f1: Use long press of KeyButtonView to invoke assist

* commit '7e6571f13da776dca4966dee0159e7741102fca9':
  Use long press of KeyButtonView to invoke assist

9 years agoEnforce FloatingToolbar themes.
Abodunrinwa Toki [Wed, 24 Jun 2015 03:36:52 +0000 (20:36 -0700)]
Enforce FloatingToolbar themes.

This ensures that theme attribute values that affect the look and
feel of the FloatingToolbar views are the ones specified in the
framework.
The aim is to avoid apps modifying the toolbar's look and feel in
unexpected ways by overriding Theme attributes.

Bug: 21957785

Change-Id: Idd472b4e8511f0a039cd07f98b1fd3ce93ae97fa

9 years agoMerge "Fix logic for whether beginning/end divider should be drawn" into mnc-dev
Doris Liu [Thu, 25 Jun 2015 22:43:12 +0000 (22:43 +0000)]
Merge "Fix logic for whether beginning/end divider should be drawn" into mnc-dev

9 years agoam 9a600725: Merge "Don\'t throw TransactionTooLargeException for small payloads...
Christopher Tate [Thu, 25 Jun 2015 22:41:45 +0000 (22:41 +0000)]
am 9a600725: Merge "Don\'t throw TransactionTooLargeException for small payloads" into mnc-dev

* commit '9a600725532c3fcf71f3be2610a34f02c88bb16b':
  Don't throw TransactionTooLargeException for small payloads

9 years agoHide assist when launching an activity over an action
Jorim Jaggi [Thu, 25 Jun 2015 22:01:29 +0000 (15:01 -0700)]
Hide assist when launching an activity over an action

Also make sure to resume app switches in this case.

Bug: 22071080
Change-Id: Ib30e064f4a5d0768b608e23183a34e326ada32e6

9 years agoUse long press of KeyButtonView to invoke assist
Jorim Jaggi [Thu, 25 Jun 2015 18:52:48 +0000 (11:52 -0700)]
Use long press of KeyButtonView to invoke assist

This makes sure that accessibility is handled properly.

Bug: 18778078
Change-Id: I967b387aabff973b5a9fea649a805540ee08eea8

9 years agoFix logic for whether beginning/end divider should be drawn
Doris Liu [Thu, 25 Jun 2015 22:16:54 +0000 (15:16 -0700)]
Fix logic for whether beginning/end divider should be drawn

Bug: 18945384
Change-Id: Ib8e785cb97d288e39a39b968bcb9c05410acbe34

9 years agoMerge "Don't throw TransactionTooLargeException for small payloads" into mnc-dev
Christopher Tate [Thu, 25 Jun 2015 22:28:01 +0000 (22:28 +0000)]
Merge "Don't throw TransactionTooLargeException for small payloads" into mnc-dev

9 years agoam d5b18387: Merge "Ensure partially-detached AbsListView children are removed" into...
Alan Viverette [Thu, 25 Jun 2015 22:27:37 +0000 (22:27 +0000)]
am d5b18387: Merge "Ensure partially-detached AbsListView children are removed" into mnc-dev

* commit 'd5b18387abed3d8487617982c20e8b4ffcab659c':
  Ensure partially-detached AbsListView children are removed